Re: [exim] alias and autorespond

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jethro R Binks
Data:  
Para: Exim Mailing List
Assunto: Re: [exim] alias and autorespond
On Mon, 13 Feb 2006, Tony Finch wrote:

> On Mon, 13 Feb 2006, Nigel Metheringham wrote:
> >
> > I've written notes on good autoreply habits in the past - in the
> > archives somewhere - for example...
> > http://www.exim.org/pipermail/exim-users/Week-of-Mon-20011210/033121.html
>
> See also ftp://ftp.rfc-editor.org/in-notes/rfc3834.txt


With reference to these and others, I did once started writing a page for
the Wiki which showed some of the tests you might use if you were
implementing an autoresponder router, but was never satisfied with it
enough to publish. However, briefly, here is the interesting part of it:

  condition = "${if or {{ match {$h_precedence:} {(?i)junk|bulk|list} } \
                        { eq {$sender_address} {} } \
                        { def:header_X-Cron-Env: } \
                        { def:header_Auto-Submitted: } \
                        { def:header_List-Help: } \
                        { def:header_List-Unsubscribe: } \
                        { def:header_List-Subscribe: } \
                        { def:header_List-Owner: } \
                        { def:header_List-Archive: } \
                        { def:header_Autorespond: } \
                        { def:header_X-eBay-MailTracker: } \
                        { match {$h_X-FC-MachineGenerated:} {true} } \
                        { match {$message_body} {\\N^Your \"cron\" job on\\N} } \
                        { match {$h_Subject:} {\\N^Out of Office\\N} } \
                        { match {$h_Subject:} {\\N^Auto-Reply:\\N} } \
                       } {no} {yes} \
               }"
  senders = !+noautoreply_senders


and here are some suggested contents of +noautoreply_senders:

^.*-request@.*
^owner-.*@.*
^.*-owner@.*
^.*-admin@.*
^bounce-.*@.*
^.*-outgoing@.*
^.*-relay@.*
^.*-bounces@.*
^mailer@.*
^postmaster@.*
^mailer-daemon@.*
^mailer_daemon@.*
^majordomo@.*
^nobody@.*
^reminder@.*
^listserv@.*
^daemon@.*
^server@.*
^root@.*
^noreply@.*
^bounce@.*
^news@.*
^httpd@.*
^www@.*
^nagios@.*
^sales@.*
^info@.*
^listmaster@.*
^mailmaster@.*
^squid@.*
^support@.*
^exim@.*


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks
Computing Officer, IT Services
University Of Strathclyde, Glasgow, UK