[Pkg-exim4-users] Auto-reply mails and the envelope

Bruno CAPELETO bruno.capeleto at free.fr
Fri Feb 29 12:39:42 UTC 2008


Hi Neil,

Actually you don't use the embedded vacation system of Exim.

I found all what I needed at the following link :
http://www.damtp.cam.ac.uk/computing/email/vacation.html

I guess (hope) you'll find all you need there...

Bruno


Neil S. Briscoe a écrit :
> I'm willing to do that - the code is here
>
> # Exim filter <<== Do not edit or remove this line!
> if error_message then finish endif
>
> deliver testpupil # We assume its personal mail, so we take it.
>
> # If its personal mail and not mailing list stuff, let the sender
> # know that I'm away.  Currently, we bug them only the first
> # time they send a mail and every 5 days afterwards.
>
> if personal or
>   ( $header_to: contains testpupil@ or
>   $header_from: does not contain testpupil@ and
>   $header_from: does not contain server@ and
>   $header_from: does not contain daemon@ and
>   $header_from: does not contain root@ and
>   $header_subject: does not contain "circular" and
>   $header_precedence: does not contain "bulk" and
>   $header_precedence: does not contain "list" and
>   $header_precedence: does not contain "junk" )
> then
>   mail
>     to $reply_address
>     from $h_to:
>     reply_to $h_to:
>     subject "Re: $h_subject:"
>     file $home/away/away_message
>     once $home/away/once
>     once_repeat 5d
> endif
>
> finish
>
> As you can probably guess, this is the .forward file for a user called
> testpupil at the relevant domain.
>
> A reply message is triggered and hits the queue.  It tends to show up
> something like :-
>
> 10m  5.5K 1JUppu-0006XF-AS <> (testpupil)
>           neil.briscoe at adelix.com
>
> What I'd like is to get that testpupil inside those angle brackets,
> but I can't seem to find a way.
>
> Regards
> Neil
>
>
> Bruno CAPELETO wrote:
>> Hi Neil,
>>
>> Best would be to give your .forward file.
>>
>> Something that worked on my configuration was to call the vacation
>> router / transport; by default the sender of the autoreply is the
>> initial recipient.
>>
>> Bruno
>>
>>> Message: 2
>>> Date: Thu, 28 Feb 2008 11:25:36 +0000
>>> From: "Neil S. Briscoe" <neil.briscoe at adelix.com>
>>> Subject: [Pkg-exim4-users] Auto-reply mails and the envelope
>>> To: pkg-exim4-users at lists.alioth.debian.org
>>> Message-ID: <47C69A30.8070009 at adelix.com>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>
>>> I have a .forward file containing an exim-filter script which works.
>>>
>>> The reply message ends up in the mail queue.
>>>
>>> However, due to the smarthost that is used, the message is never sent.
>>>
>>> This appears to be because the envelope from is null, that is <>.
>>>
>>> I can't seem to find a way to set this to be the same as the from
>>> address I'm setting.
>>>
>>> Can anyone advise?
>>>
>>> Thanks.
>>>
>>> Regards
>>> Neil
>>>
>>>
>>>   
>>
>>
>> _______________________________________________
>> Pkg-exim4-users mailing list
>> Pkg-exim4-users at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
>>
>> ------------------------------------------------------------------------------------
>>
>> Scanned for viruses, spam and offensive content by CensorNet MailSafe
>>
>> Professional Web & E-mail Filtering from www.censornet.com
>>
>
>
>




More information about the Pkg-exim4-users mailing list