Jeremy

Registered
Aug 13, 2001
4
0
301
This is a filter, that I would normally put in a .forward file.

How would I use this with exim, what is the equiv?

Here is the code I need to convert:
\\subscribe,\"|/usr/bin/perl /home2/hotsell/public_html/optin/post.cgi\"


I put the following in /etc/valiases/<domain>
[email protected]: \"|/usr/bin/perl /home2/hotsell/public_html/optin/post.cgi\"

It works, the email\'s are piped through perl to the script, but it generates an error to the sender.

is there anyway to surpress the errors?
 
B

bdraco

Guest
[quote:cc464fccb8]This is a filter, that I would normally put in a .forward file.

How would I use this with exim, what is the equiv?

Here is the code I need to convert:
\\subscribe,\"|/usr/bin/perl /home2/hotsell/public_html/optin/post.cgi\"


I put the following in /etc/valiases/<domain>
[email protected]: \"|/usr/bin/perl /home2/hotsell/public_html/optin/post.cgi\"

It works, the email\'s are piped through perl to the script, but it generates an error to the sender.

is there anyway to surpress the errors?
[/quote:cc464fccb8]

What error does it give ?
 

Karl

Well-Known Member
PartnerNOC
Aug 10, 2001
85
1
308
The error is most likely caused by the script sending some output, e.g. Whitespace, error message, confirmation message. If the script sends any output then Exim will send an error message back.