sendas with new mail missing feature?

Hi,

sendas works fine when replying from a shared folder.
Is it possible to write a new mail from a shared folder (eg shared inbox user “info”) using Outlook KOE?

Use case:
All users got access on “info” account, added inbox and send folder as shared Folders.
Answering mails works fine with sendas, all send mails stored in send folder from “info” account.
New mails with “from” out of this shared inbox are send as origin account, to change “reply to” doesn’t fit this use case because send mails are stored in the origin user (in case of vacation nobody can access those mails).

Hi @HBO ,

just gave this a spin and this works for me as expected.

I can open a new mail, click the dropdown in the from section, for addresses not already added I can add them via “Other Email Address…” (specifying my Kopano account in the “send using” dropdown). see also https://kb.intermedia.net/Article/2165##SendOnBehalf for some screenshots of the progress.

Tested it like screenshots, doesn’t work for any accounts (with WebApp no problems).
Answering on an email with sendas works fine. Is there any debug possibility?

Using Outlook 2016 with KOE 1.6.282, z-push2.3.9 and Kopano 8.5.4

Thanks.

@hbo said in sendas with new mail missing feature?:

Is there any debug possibility?

it should print the resolved user in the koe.log

2018/04/03 14:02:59.142 (1,VSTA_Main): Trace: SendAs: SendAs: mail@something.com: username (mail@something.com)

@hbo said in sendas with new mail missing feature?:

Tested it like screenshots, doesn’t work for any accounts

what kind of error message do you get? what exactly happens?

I get no error messages, new mail is send without error from user account. It ignores “from” value.

Example with a new mail:

2018/04/03 14:38:12.900 (1,VSTA_Main): Trace: DebugSupport: Command Settings: Handled
2018/04/03 14:38:25.516 (1,VSTA_Main): Trace: SharedFolders: Private appointment: write
2018/04/03 14:38:25.516 (1,VSTA_Main): Trace: SharedFolders: Private appointment: suppress
2018/04/03 14:38:25.694 (1,VSTA_Main): Debug: ZPushFolder: Folder changed in user@domain: Postausgang
2018/04/03 14:38:25.694 (1,VSTA_Main): Debug: ZPushFolder: Folder change on unreported folder in user@domain: Postausgang, 000000004C5D52EB4F3DF440834FD908F9DD210F0100D9539C2261A6BB45B9DAB62C7081B3C101002300FFFF0000, user@domain
2018/04/03 14:38:25.694 (1,VSTA_Main): Trace: ZPushFolder: Excluding child on user@domain: \\user@domain\Postausgang
2018/04/03 14:38:25.937 (1,VSTA_Main): Debug: ZPushFolder: Folder changed in user@domain: Postausgang
2018/04/03 14:38:25.937 (1,VSTA_Main): Debug: ZPushFolder: Folder change on unreported folder in user@domain: Postausgang, 000000004C5D52EB4F3DF440834FD908F9DD210F0100D9539C2261A6BB45B9DAB62C7081B3C101002300FFFF0000, user@domain
2018/04/03 14:38:25.937 (1,VSTA_Main): Trace: ZPushFolder: Excluding child on user@domain: \\user@domain\Postausgang
2018/04/03 14:38:29.653 (1,VSTA_Main): Debug: ZPushFolder: Folder changed in user@domain: Gesendete Elemente
2018/04/03 14:38:29.666 (1,VSTA_Main): Trace: ZPushWatcher: Folder changed: Gesendete Elemente
2018/04/03 14:38:29.666 (1,VSTA_Main): Debug: ZPushWatcher: Folder event: Gesendete Elemente, SharedFolders, Changed
2018/04/03 14:38:29.666 (1,VSTA_Main): Debug: ZPushWatcher: Folder event: Gesendete Elemente, ReplyFlags:MailItem, Changed
2018/04/03 14:38:29.666 (1,VSTA_Main): Debug: ZPushWatcher: Folder event: Gesendete Elemente, BCC:SentMail, Changed
2018/04/03 14:38:29.679 (1,VSTA_Main): Trace: ZPushFolder: New item Gesendete Elemente: 000000004C5D52EB4F3DF440834FD908F9DD210F0700D9539C2261A6BB45B9DAB62C7081B3C101002400FFFF0000D9539C2261A6BB45B9DAB62C7081B3C1010005D300000000

Kopano Spooler log has no errors, answering on received mails with sendas shows:

Tue Apr  3 14:41:12 2018: [error  ] [ 1903] Mail for user "username" is sent as user "Technik"

Is your gab synced?

Please also post a Z-Push wbxml log when sending.

Gab is synced every day with cronjob.

wbxml log:
https://www.file-upload.net/download-13064179/all.log.html

@HBO can you upload that somewhere, where you do not have to install a download program first? https://pastebin.com/? Create a gist on github?

You don’t need to download something, it’s like adware popup. After closing popup you can click again this blue download button and download the whole file (without any adware). It’s too big for pastebin, about 10mb.

I had a look at your log.
The email is sent without the X-Push-Sender header and this way, Z-Push does not invoke the send-as, but sends the email from the authenticated user account.

I guess you do select the FROM address manually when you send the new mail?
https://kb.kopano.io/display/WIKI/Setting+up+the+Kopano+OL+Extension#SettinguptheKopanoOLExtension-Usingsend-asanddelegationfunctionality (like “feedback” in the screenshot)

Correct, it’s not filled automatically. I have to set the FROM address manually.
Works fine for answering on existing mail, but not on new mail.

@hbo said in sendas with new mail missing feature?:

it’s not filled automatically. I have to set the FROM address manually.
Works fine for answering on existing mail, but not on new mail.

But that’s the whole thing. If you just hit “new mail” in Outlook and want to send as an address different from your primary account you always need to set the from manually. There is no automated way to say “I am currently in folder X, so I want to send with address y”.

Before I understood you like “I can set a differing from in a new mail, but that option is not honoured when the email is sent”.

I made a screenshot, i set FROM address out of allowed sendas shared box:
https://image.ibb.co/dQFerc/sendas.png
But mail is sent by Primary account.

Did some new tests but Problem still exists, some new hints to solve this problem?

Since you are using the release version I guess you have a subscription?

I still feel like we are misunderstanding each other, i’d recommend to get in contact with our support. Talking in person often helps to clear up confusion.

Sure, i’ve got a Basic subscription. I’ll open a support ticket.