hazarder
(Tomaz Gajser)
December 10, 2025, 2:06pm
1
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…
mrmarkuz
(Markus Neuberger)
December 10, 2025, 4:16pm
2
Maybe related:
Hi there,
After having migrated a SOGo instance from NS7 to NS8, an user complains that his vacation message is still activated while the setting on the web interface is disabled.
From my tests it looks also that activating a vacation message doesn’t work either.
The sogo app is installed on the same node as the mail server.
Is it a known problem ?
Matthieu
Please also search for “vacation” in the logs.
Are you using a smarthost?
1 Like
hazarder
(Tomaz Gajser)
December 11, 2025, 8:21am
3
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!
mrmarkuz
(Markus Neuberger)
December 11, 2025, 10:16am
4
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?
hazarder
(Tomaz Gajser)
December 11, 2025, 10:46am
5
No, I am using only Mail + SOGo + Crowdsec apps.
Users are is Internal Samba.
mrmarkuz
(Markus Neuberger)
December 11, 2025, 11:00am
6
Did you set a mail address for the Samba user?
Does it help to setup an identity in SOGo Preferences / Mail / IMAP Accounts ?
hazarder
(Tomaz Gajser)
December 11, 2025, 12:06pm
7
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.
mrmarkuz
(Markus Neuberger)
December 11, 2025, 12:43pm
8
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.
hazarder
(Tomaz Gajser)
December 18, 2025, 12:33pm
9
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