M. Bobkiewicz
2009-Jul-13 08:06 UTC
[Dovecot] Sieve problem: No vacation message when mail is addressed to an alias of the mailbox.
Hi, I?m facing here a wierd problem: We have a vacation messaging system using sieve. When activated the system forwards incomming messages to a given address and sents an out of office reply to the sender. This works like a charm when the mail is addressed to mailbox at domain. When the incomming mail ist addressed to alias.to.mailbox at domain the mail is delivered to the mailbox, it is forwarded to the given reciepient but there is no auto reply going out to the sender! Our setup: CentOS 5.2 + postfix 2.5.6 + dovecot 1.1.11 with domain and accounts stored in a mysql database. The script: require ["fileinto", "vacation"]; redirect "mailbox2 at domain"; keep; vacation :days 1 :subject "Out of Office reply" " The auto reply text. "; Any advice is welcome, Best regards, Mike
Pascal Volk
2009-Jul-13 08:27 UTC
[Dovecot] Sieve problem: No vacation message when mail is addressed to an alias of the mailbox.
On 07/13/2009 10:06 AM M. Bobkiewicz wrote:> Hi, > I?m facing here a wierd problem: We have a vacation messaging system > using sieve. When activated the system forwards incomming messages to a > given address and sents an out of office reply to the sender. This works > like a charm when the mail is addressed to mailbox at domain. When the > incomming mail ist addressed to alias.to.mailbox at domain the mail is > delivered to the mailbox, it is forwarded to the given reciepient but > there is no auto reply going out to the sender! > Our setup: CentOS 5.2 + postfix 2.5.6 + dovecot 1.1.11 with domain and > accounts stored in a mysql database. > The script: > > require ["fileinto", "vacation"]; > redirect "mailbox2 at domain"; > keep; > vacation > :days 1 > :subject "Out of Office reply" > " > The auto reply text. > > "; > > Any advice is welcome, >You have to add the alias addresses to the :addresses list. For example: require ["fileinto", "vacation"]; redirect "mailbox2 at domain"; keep; vacation :days 1 :subject "Out of Office reply" :addresses ["1st.alias at domain", "2nd.alias at domain"] " The auto reply text. "; See also: <http://wiki.dovecot.org/LDA/Sieve#Vacation_auto-reply-1> Regards, Pascal -- The trapper recommends today: fabaceae.0919410 at localdomain.org
Steffen Kaiser
2009-Jul-13 12:03 UTC
[Dovecot] Sieve problem: No vacation message when mail is addressed to an alias of the mailbox.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 13 Jul 2009, M. Bobkiewicz wrote:> vacation > :days 1 > :subject "Out of Office reply" > " > The auto reply text. > > "; > > Any advice is welcome,You have to enumerate all addresses in the ":address" tag of vacation. It's actually a real pain here. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSlsimnWSIuGy1ktrAQJfdggAjrA8Yadp+mMY+OSZaVcapDq4IEHMB1rb 3/Zl6Bjr0MJD4zEfzdQcCX0q2G24XQaJ37IHh2K8AqbXyKByl33Rz98U7thhw0Kr ETGGWLAJodEoeI1pYZhWfJ8yncFpztDj5IDVqwb5BV+sEjBp+ZmD9AKspKWowmc9 lEBhIFkACrq0G+xOO1LkwGRwZesTRUSPHU3xX3ounFzH6b3ivWh8xvfIQGH8Fnin Gmo7TKHLN/TjzRdbmQA/cGWQHuok5aaS6gBkarv8b3GF55IGhnrnpmbdeaVukaFv aLsE21xFPN6XRlSGAQmwSaJ41wfsSFvvDMkF7yv8sD/CZUOfPrN5MQ==sMcH -----END PGP SIGNATURE-----
M. Bobkiewicz
2009-Jul-15 08:14 UTC
[Dovecot] Sieve problem: No vacation message when mail is addressed to an alias of the mailbox.
Pascal Volk schrieb:> On 07/13/2009 10:06 AM M. Bobkiewicz wrote: >> Hi, >> I?m facing here a wierd problem: We have a vacation messaging system >> using sieve. When activated the system forwards incomming messages to a >> given address and sents an out of office reply to the sender. This works >> like a charm when the mail is addressed to mailbox at domain. When the >> incomming mail ist addressed to alias.to.mailbox at domain the mail is >> delivered to the mailbox, it is forwarded to the given reciepient but >> there is no auto reply going out to the sender! >> Our setup: CentOS 5.2 + postfix 2.5.6 + dovecot 1.1.11 with domain and >> accounts stored in a mysql database. >> The script: >> >> require ["fileinto", "vacation"]; >> redirect "mailbox2 at domain"; >> keep; >> vacation >> :days 1 >> :subject "Out of Office reply" >> " >> The auto reply text. >> >> "; >> >> Any advice is welcome, >> > > You have to add the alias addresses to the :addresses list. For example: > > require ["fileinto", "vacation"]; > redirect "mailbox2 at domain"; > keep; > vacation > :days 1 > :subject "Out of Office reply" > :addresses ["1st.alias at domain", "2nd.alias at domain"] > " > The auto reply text. > > "; > > See also: <http://wiki.dovecot.org/LDA/Sieve#Vacation_auto-reply-1> >First of all thanks for the hint, it works. Second, nice to see the discussion, we did have the same here at my location when I told my boss about the reason for the error... Regards, Mike