Re: [Exim] How to use the autoreply transport

Top Page
Delete this message
Reply to this message
Author: Leonardo Boselli
Date:  
To: Christopher Bodenstein, exim-users
Subject: Re: [Exim] How to use the autoreply transport
How do you cope the event (all but rare) when someone send
deliberately, by mistake or even by forged address a message to
himself ?
you should add some hint to avoid sending circular
acknowledgement.
(one user here ended with 398000 messages ...)

On 17 Apr 2002, at 16:24, Christopher Bodenstein wrote:

From:               Christopher Bodenstein <lists@???>
To:                 exim-users@???
Subject:            Re: [Exim] How to use the autoreply transport
Organization:       Easynet Belgium
Date sent:          Wed, 17 Apr 2002 16:24:54 +0200


> On Wed, Apr 17, 2002 at 02:32:53PM +0100, Philip Hazel wrote:
> > Aha! If you want to put all the data (from, to, subject, etc.) on
> > the transport configuration, then you should use an accept router,
> > not a redirect router. Like this:
> >
> > user_autoreply:
> > driver = accept
> > local_parts = lsearch;/etc/exim/autoreply
> > transport = user_autoreply
> > user = ????
> >
> > You need the "user" setting either on the router or the transport to
> > specify the uid for running the transport.
> >
> As it usually happens, just after I sent the mail a friend suggested
> me with an aven better implementation than what I intended to do.
> Basically, create a directory /etc/exim/vacation containing files
> named like the $local_part and each file would contain the out of
> office message itself. Then use the require_files =
> /etc/exim/vacation/$local_part in the transport.
>
> So, the transport now looks like:
> user_autoreply:
> driver = accept
> require_files = /etc/exim/vacation/$local_part
> transport = user_autoreply
>
> and the transport:
> user_autoreply:
> driver = autoreply
> to = $sender_address
> from = $local_part@$domain
> subject = Out of office
> file = /etc/exim/vacation/$local_part
>
> And it works perfectly.
>
> > > "However, it can also be run directly from a router like any other
> > > transport" I was wondering how I could do that.
> >
> > That's what I've just described.
> >
> Thanks for your quick answer.
>
> > --
> > Philip Hazel            University of Cambridge Computing Service,
> > ph10@???      Cambridge, England. Phone: +44 1223 334714.

> >
>
> Chris
>
> --
> Christopher Bodenstein - christopher.bodenstein@???
> Systems Administrator - Easynet Belgium
>
> The more laws and order are made prominent, the more thieves and
> robbers there will be.
>                 -- Lao Tsu

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/ ##
>



Leonardo Boselli
nucleo informatico e telematico
Dipartimento Ingegneria Civile
Universita` di Firenze
V. S. Marta 3 - I-50139 Firenze
tel +39()0554796431
cel +39 3488605348
fax +39()055495333
http://www.dicea.unifi.it/~leo