5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Re: Mailbot problem a...
FromSent OnAttachments
aszutsSep 6, 2004 7:30 am 
Tony EarnshawSep 6, 2004 12:34 pm 
Security TeamSep 7, 2004 9:12 am 
Rolan YangSep 7, 2004 10:22 am 
Jim HornerSep 7, 2004 10:33 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Re: Mailbot problem againActions...
From:Rolan Yang (rol@omnistep.com)
Date:Sep 7, 2004 10:22:41 am
List:net.sourceforge.lists.courier-maildrop

What is wrong with using mailbot for vacation messages? I have a .mailfilter file which contains:

`test -f vacation.msg && exit 1 || exit 0` if ($RETURNCODE==1) { if (!/^List-Unsubscribe:.*/:h ) { cc "| mailbot -d vacation.db -D 1 -t vacation.msg -A 'From: rol@mydomain.com' /usr/sbin/sendmail -f ''" } }

If you set the -D to something really high like 365, then for all useful purposes, the sender will only recieve one vacation reply. Mailbot does not autoreply to mailing lists which comply with the "Precedence: bulk" or "Precedence: junk" headers. I added an extra rule which searches for "List-Unsubscribe" headers also.

The script above is actually being used in a all-virtual user/domain setup. Users enable/disable/edit their vacation message through a squirrelmail module.

~Rolan

Security Team wrote:

On 9/6/04 1:34 PM, "Tony Earnshaw" <ton@billy.demon.nl> wrote:

You should *not* be using mailbot for vacation messages. You are crapping up my auto-delete everything from .hu X-MAILBOT folder.

Long after it got rejected by RBL and greylists.

--Tonni

Tonni:

Brings up a good point.

What is the "most correct" or "best" way to generate vacation messages?

I've always wanted to implement this functionality. But the way I would want to do it is to have an incoming message to a user get replied to once and only once. And of course, not respond to mailing lists with the vacation message.