NS8 / SOGo : vacation message not working

and it is possible :stuck_out_tongue:
https://aur.archlinux.org/packages/sogo

2 Likes

Indeed ! So you believe thats’s a bug introduced by a recent release of Sogo ?

Just found that, not sure it is related to our issue.

/var/lib/vmail # cat administrator/sieve/sogo.sieve 
require ["vacation"];
vacation :days 7 :subject "hello" :addresses ["administrator@rocky9-pve4.org"] text:
fdgdfg
.
;

something similar :expressionless:

2 Likes

Txs Steph. Unfortunately it didn’t solve the issue :slightly_frowning_face:

# cat testuser/sieve/sogo.sieve

require ["vacation"];
vacation :days 7 :addresses ["testuser@lebrass.be"] text:
ABSNET
.
;

That said, I believe that the contents are syntactically correct : sievec sogo.sievedoesn’t report any error.

GPT suggests that it could be due to the fact that I use a smarthost and that autoreplies are sent with an empty FROM header.

Solution proposed : adding sieve_vacation_send_from_recipient = yes

It works

runagent -m mail1
podman exec -ti dovecot vi /etc/dovecot/local.conf.d/myoverride.conf

# add the following lines : 
plugin {
  sieve_vacation_send_from_recipient = yes
}

systemctl --user reload dovecot
1 Like
1 Like

A bit confused, what was the root cause and the solution please?

I’m using a smarthost that refuses to send emails with no FROM address specified.

Apparently by default dovecot sends auto replies without that FROM header set. That’s on purpose, to keep mail loops happening, but in my case that’s needed because of the smarthost policy.

The fix is here, it forces dovecot to specify a FROM address :

2 Likes

Hi all,

I have the same problem. 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!