The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

exim filter

Discussion in 'General Discussion' started by Jeremy, Sep 5, 2001.

  1. Jeremy

    Jeremy Registered

    Joined:
    Aug 13, 2001
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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>
    subscribe@hotsellingminisites.com: \"|/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?
     
  2. bdraco

    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>
    subscribe@hotsellingminisites.com: \"|/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 ?
     
  3. Karl

    Karl Well-Known Member
    PartnerNOC

    Joined:
    Aug 10, 2001
    Messages:
    84
    Likes Received:
    1
    Trophy Points:
    8
    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.
     
Loading...

Share This Page