SOGo - Vacation reply - Empty sender in header

Hi all,

I am having a problem sending Vacation reply from SOGo.

The problem is a reply to gmail.com. After a research I found, there is no sender in header of reply message. This is then a reason, the message is delivery-failed.

SPF and DKIM are set.

Any suggestions?

Thanks…

Maybe related:

Please also search for “vacation” in the logs.

Are you using a smarthost?

1 Like

Hi Markus,

thank you, yes it is related. I am using a smarthost, yes.

I have NS 8/mail 1.7.4/SOGo 2.1.0.

When ading this override, the mail is sent with header, but the sender has this form: user@domain.com**.locahost.**

And it is also then rejected/bounced by gmail, yahoo…

How can I override this? Thank you!

Here the from address is correct but the envelope from header has the .localhost suffix on my test server.

I tried it on another server (with correct DKIM, SPF…) and the vacation message works.

Please also check the rspamd history.

Do you have Roundcube or Webtop installed? Does it work there?

No, I am using only Mail + SOGo + Crowdsec apps.

Users are is Internal Samba.

Did you set a mail address for the Samba user?

Does it help to setup an identity in SOGo Preferences / Mail / IMAP Accounts ?

Yes, email set in Samba.

Yes, identity set in SOGo.

Still bouncing, because of “.localhost” suffix.

I have also just upgraded to latest Core updates, no changes.

Edit: I installed Roundcube, result is out of the box the same - no email address in header / rejected by Gmail.

Please check the From header, there should be no “.localhost” suffix or is it also in the From header?

From: sender@domain.tld

Do you get a bounce message? It may include more information.

Please also check the history in Rspamd, it should also show the headers and maybe some more helpful info.

Is DKIM, SPF etc. working? You could check by sending a mail, see Port25’s Authentication and Spam Assassin Tool | Postmark

Thanks for testing, did you enter the mail address in the right field? See also Roundcube vacation / autoreply / out of office email plugin, how to find / enable? - #28 by ansh

EDIT:

Here sending a mail from gmail to my NethServer and receiving the vacation mail in GMail works even without the dovecot change.

In Rspamd history it shows:

[unknown] markus@domain.tld

The “mail from” is correct but the envelope is empty.

Maybe the issue is at the smarthost? Do you use Gmail as smarthost?

Did you enter the mail address manually in the SOGo vacation settings, please try to use the default mail or the suggested one.

Hi Markus, thanks for your support.

No, I am using another smarthost - ASF Advanced Spam Filter, not Gmail.

Still testing and trying to find out the solution.

EDIT:

After checking with some 3rd party tools SPF, DKIM, DMARC, there were syntax errors in my DNS configurations for domain. I copied DKIM again. There is still no header, but gmail accepts it.

1 Like