Re: [exim] redirecting email to perl script

Etusivu
Poista viesti
Vastaa
Lähettäjä: Markus Hardiyanto
Päiväys:  
Vastaanottaja: Tony Finch
Kopio: exim-users
Aihe: Re: [exim] redirecting email to perl script
> begin routers
>
> to_perl:
> driver = accept
> domains = +local_domains
> transport = to_perl
>
> begin transports
> driver = pipe
> command = /home/username/script.pl


does with that configuration can 'cut' the email, so
it will not directly delivered to user inbox?

i need to redirect (cut) the email to perl script,
this perl script will check if the email is spam or
not, if the email is not spam then this perl script
will re-inject the email to queue so exim can deliver
it to user inbox.

thanks


=====
Best Regards,
Markus


        
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250