Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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>
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice