[Exim] Pipes, and transports

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jason Robertson
Date:  
À: exim-users
Anciens-sujets: Re: [Exim] RBL DUL and SMTP AUTH
Sujet: [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