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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Mark Edwards
Υ/ο: exim-users
Καινούρια Θέματα: [Exim] :fail: doesn't send text
Αντικείμενο: 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.