Re: [Exim] reject log information

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Glenn Carver
CC: exim-users
Assumpte: Re: [Exim] reject log information
On Wed, 31 Jul 2002, Glenn Carver wrote:

> If I reject a message using an acl_smtp_rcpt, then the log includes
> the host,mailfrom & rcptto info. If I reject a message using an
> acl_smtp_data, then I get this but also all the headers. Presumably
> this is because at the acl_smtp_data stage Exim has all the headers
> and decides to write them out.


Yes. It seemed like useful information.

> I was just wondering if I can turn
> this off? (I'm just being fussy, I can live with it. Just trying to
> cut down on my logfile size).


Noted for the wish list.

> One other small question. In reporting the F=<user@???>
> address in the mainlog, what variable should I use in the exim-filter
> to get the same address? I'm afraid I get confused over the
> differences between $sender_address, $return_path etc and I'd like to
> get my logging consistent.


$sender_address is the envelope sender on the incoming message, so
that's what you want. $return_path is by default the same, but if you've
used errors_to on any router, thereafter $return_path will be different
- i.e. it is the _outgoing_ sender address. In fact, I don't think
$return_path is actually set during message reception.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.