Re: [Exim] separate archiving for incoming and outgoing?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Mark Edwards
Cc: exim-users
Temas nuevos: [Exim] :fail: doesn't send text
Asunto: Re: [Exim] separate archiving for incoming and outgoing?
On Tue, 18 Jun 2002, Mark Edwards wrote:

> Is it possible to distinguish between mail that is generated by a client
> connecting via SMTP (outgoing mail) and mail that is generated by another
> mail server communicating with exim (incoming mail)? Perhaps what I want
> to do isn't even possible.


From Exim's point of view, they are both incoming messages from other
hosts. How do *you* distinguish them? Presumably by the IP address of
the other host. That's how you'll have to do it in your filter file.
Test the value of $sender_host_address. (Note the existence of the
${mask: operation.)


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