[Exim] Pipes, and transports

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jason Robertson
Dátum:  
Címzett: exim-users
Régi témák: Re: [Exim] RBL DUL and SMTP AUTH
Tárgy: [Exim] Pipes, and transports
I am wondering if you decided yea or nay to the idea of creating a conditional
Pipe for deliveries, so you can run a Pipe on a message, and it would return
a value, if the value is say 1it delivers, if it's 0 it fails or vice versa. or also
another value for temp failures

This could be nice and useful for spam tests, that run through a perl script,
or virus scans. Or allow for routing based on other criteria, such as for
example delaying delivery to a user, based on time of day, or volume.
Such as

condition=${if eq{${pipe{/path/to/pipe}}{1}{0}}

There could be other changes, so that you could also define what action to
take, such as if it fails, to drop delivery, or to continue to the next step.



---
Jason Robertson                
Network Analyst            
jason@???    
http://www.astroadvice.com