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!

Piped forward emails

Discussion in 'E-mail Discussion' started by mickalo, May 23, 2004.

  1. mickalo

    mickalo Well-Known Member

    Apr 16, 2002
    Likes Received:
    Trophy Points:
    N.W. Iowa

    I'm working on a small project which involves sending emails through a piped forwarding script.

    Baiscially what happens, is we have a customer signup for a service, at which stores various personal info, their real email addres and a forward address like with the username they've choosen, like which is then stored in a database.

    Now we don't what to have to create hundreds of forwarding email address with the but would like to pipe any incoming emails to the various then via a perl script it extracts the "To", .. incoming email address,, then check our database for the "fake" forward address, then pull their real email address, then pipe it to that address, the real address.

    I've tried setting the default email address in the /etc/valiases/ file to: *: "|/path/to/cgi-bin/" so all un-routieable email are piped to the script and processed as described above. But Exim doesn't seem to allow that as the is not valid, so it doesn't get sent to the piped script. We get an error something like: local delivery failed ... piped to /path/to/cgi-bin/ does not exist

    any suggesstion or help, be much appreciated :)

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 mickalo, May 23, 2004
    Last edited: May 23, 2004

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