Hello all, I am trying to get my vacation messages to work correctly. In general it works like how I want, and replies when a message is arived to for example info at domain.com, but I have some problems to get my vacation message to work on catch-all boxes. Is there an option to for example auto-reply on every mail that is sendto @domain.com? I am using Ubuntu 9.10 default packages, which are the following versions: dovecot -n # 1.1.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.31-14-server x86_64 Ubuntu 9.10 ext4 mail_plugins = cmusieve My example file of the vacation message I use is: require ["vacation"]; vacation # Reply at most once a day to a same sender :days [vacationmessage_delay_days] :subject "Autorespond: [vacationmessage_subject]" # List of recipient addresses which are included in the auto replying. # If a mail's recipient is not on this list, no vacation reply is sent for it. :addresses ["[username]@[domain]"] "[vacationmessage_message]"; I tried changing [username]@[domain] into @[domain] or *@[domain], but that is giving me errors. Anyone has any pointers how to achieve this (if its possible at all)... Regards, Rene
On 11/23/2009 01:19 PM Rene Bakkum wrote:> Hello all, > > I am trying to get my vacation messages to work correctly. In general it > works like how I want, and replies when a message is arived to for > example info at domain.com, but I have some problems to get my vacation > message to work on catch-all boxes. Is there an option to for example > auto-reply on every mail that is sendto @domain.com? > ? > Anyone has any pointers how to achieve this (if its possible at all)... >No, a 'Catch-all-vacation' reply is not possible. A workaround may be to list all possible addresses in the ":addresses" argument. But do you really want to show each 'spammer?', that you have configured a vacation auto-reply? Regards, Pascal -- 1 = They use mostly faked or invalid addresses. -- The trapper recommends today: decade.0932702 at localdomain.org
On 11/23/2009 7:19 AM, Rene Bakkum wrote:> Hello all, > > I am trying to get my vacation messages to work correctly. In general it > works like how I want, and replies when a message is arived to for > example info at domain.com, but I have some problems to get my vacation > message to work on catch-all boxes. Is there an option to for example > auto-reply on every mail that is sendto @domain.com?As stated by Pascal, catch-all addresses are evil. Especially when the spammers do a dictionary attack run against your domain (you'll get messages for aa at example.com, ab at example.com, ac at example.com...). In our setup, we specify multiple addresses as: :addresses ["name1 at example.com", "name2 at example.com", "name3 at example.com"] (For the few people that we allow inbound mail via multiple aliases.) I understand the desire to have a catch-all address, I used to do it myself a few years ago. But the aggravation eventually caused me to reevaluate whether it was worth all of the dictionary attack spam. So I setup aliases in postfix for all of the addresses that I was truly interested in monitoring and simply "5xx unknown user" the rest of them.
On November 23, 2009 1:19:00 PM +0100 Rene Bakkum <rene.bakkum at gmail.com> wrote:> Is there an option to for example > auto-reply on every mail that is sendto @domain.com?The part of this question that was overlooked is "on every mail". It would be nice if '0' days meant respond to every message. Alternatively, can I create an empty address database file that is non-writable (or maybe a link to /dev/zero)? -frank