RE: [Exim] Exim vacation message

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Douglas Gray Stephens
Ημερομηνία:  
Προς: Boyle Owen
Υ/ο: exim-users
Αντικείμενο: RE: [Exim] Exim vacation message
At 16:30 (GMT+0100) on 19-December-2002, Boyle Owen wrote:
> >-----Original Message-----
> >From: teco@??? [mailto:teco@enchant.com.au]
> >Sent: Donnerstag, 19. Dezember 2002 15:43
> >To: exim-users@???
> >Subject: [Exim] Exim vacation message
> >
> >
> >Hello to the list,
> >
> >Can anyone suggest some easy way to implement vacation (autoreply)
> >message with exim?
>
> When you figure it out, can you make sure it doesn't auto-reply to
> mailing-lists...


If you're used to procmail, then you should ignore messages

1. that come FROM_DAEMON which the procmailrc man page defines as
     If the regular expression contains `^FROM_DAEMON' it will be
     substituted by `(^(Precedence:.*(junk|bulk|list)|To:
     Multiple recipients of |(((Resent-)?(From|Sender)|X-
     Envelope-From):|>?From )([^>]*[^(.%@a-z0-
     9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon
     |mmdf|n?uucp|LIST(SERV|proc)|NETSERV|owner|r(e(quest|sponse)
     |oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp)
     |A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-
     9]*)?[%@>\t ][^<)]*(\(.*\).*)?)?$([^>]|$)))', which should
     catch mails coming from most daemons (how's that for a
     regular expression :-).


2. that have
    Precedence: bulk


3. finally I would also include a test to avoid mail loops (so that
you do not send the vacation message if the message looks like your
own vacation message).

You may wish to consider who you are auto replying to -- is it some
antisocial person who you do not know, and is likely to work out where
you live, and consider seeing what they can find in your home while
you're out of town ....

Douglas.

--

================================
Dr. Douglas GRAY STEPHENS
Technical Architect (Directories)
Schlumberger Cambridge Research
High Cross,
Madingley Road,
Cambridge.
CB3 0EL
ENGLAND

Phone  +44 1223 325295
Mobile +44 773 0051628
Fax    +44 1223 311830
Email DGrayStephens@???
================================