[Dovecot] Problem with Sieve Vacation
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
dovecot version 1.2.12 on freebsd 7.0 with dovecot-sieve-1.2+0.1.17
I have users in ldap and aliases in /etc/aliases and i use postfix. There is an alias testuser@hostname for tuser@hostname. When tuser uses sieve vacation and uses the :addresses options with his email address (tuser@hostname), the response is also sent, if a mail to testuser@hostname is sent. in the postfix master.cf the line for deliver is flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient} -a ${original_recipient}
is this a bug, or do i have some quirks in my configuration?
birger ps: not on this list, so please cc answers to me
GPG: http://gpg-keyserver.de/pks/lookup?op=get&search=0x5DF89014F45C1912 GPG FP: 479E 1F02 12BD AA8A C4A9 0F19 5DF8 9014 F45C 1912 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkyGC8wACgkQXfiQFPRcGRL0vwCgz/EZveKjTgNPkRvkzSQGd5sH RkEAnAqch133qYi2eCZ85IydBjDNuKWu =NSXZ -----END PGP SIGNATURE-----
On Tue, 2010-09-07 at 11:54 +0200, Birger Schacht wrote:
I have users in ldap and aliases in /etc/aliases and i use postfix. There is an alias testuser@hostname for tuser@hostname. When tuser uses sieve vacation and uses the :addresses options with his email address (tuser@hostname), the response is also sent, if a mail to testuser@hostname is sent. in the postfix master.cf the line for deliver is flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient} -a ${original_recipient}
Looking at the code.. It checks To: Cc: Bcc: Resent-To: Recent-Cc: and Resent-Bcc: headers. If either ${original_recipient} or any address listed in :addresses is found from any of those headers, it's ok. So one of those has to match in your system. (Have you checked if ${original_recipient} is tuser or testuser?)
BTW. Stephan, http://wiki2.dovecot.org/Pigeonhole/Sieve/Usage is more or less out of date related to these rules.
Op 13-9-2010 17:40, Timo Sirainen schreef:
Looking at the code.. It checks To: Cc: Bcc: Resent-To: Recent-Cc: and Resent-Bcc: headers. If either ${original_recipient} or any address listed in :addresses is found from any of those headers, it's ok. So one of those has to match in your system. (Have you checked if ${original_recipient} is tuser or testuser?)
BTW. Stephan, http://wiki2.dovecot.org/Pigeonhole/Sieve/Usage is more or less out of date related to these rules. Fixed.
Regards,
Stephan.
On 09/13/2010 05:40 PM, Timo Sirainen wrote:
Looking at the code.. It checks To: Cc: Bcc: Resent-To: Recent-Cc: and Resent-Bcc: headers. If either ${original_recipient} or any address listed in :addresses is found from any of those headers, it's ok. So one of those has to match in your system. (Have you checked if ${original_recipient} is tuser or testuser?)
Is it possible not to check for ${original_recipient}? If i understand correctly, a user having multiple aliases sends a vacation message in any case, whatever in :addresses is listed (if i use -a ${original_recipient} with deliver). If i have an alias info@somehost and i list my email address in :addresses i don't expect an autoresponce on a mail not sent to that address. Maybe it would help if i removed the -a ${original_recipient} argument, but i need that so the vacation messages have the right From: header.
thank you, Birger
participants (3)
-
Birger Schacht
-
Stephan Bosch
-
Timo Sirainen