Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default Piped forward emails

    Hello,

    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 myabc.com which stores various personal info, their real email addres and a forward address like with the username they've choosen, like username@myabc.com which is then stored in a database.

    Now we don't what to have to create hundreds of forwarding email address with the username@myabc.com but would like to pipe any incoming emails to the various username@myabc.com then via a perl script it extracts the "To", .. incoming email address, username@myabc.com, 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/myabc.com file to: *: "|/path/to/cgi-bin/forward_script.pl" 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 username@myabc.com 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/forward_script.pl.... username@myabc.com does not exist

    any suggesstion or help, be much appreciated

    TIA
    Mickalo
    Last edited by mickalo; 05-23-2004 at 04:45 PM.

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

Similar Threads & Tags
Similar threads

  1. Email forward to two emails
    By katamiaw in forum E-mail Discussions
    Replies: 5
    Last Post: 01-20-2010, 07:38 AM
  2. How to forward emails to external ip
    By dyacubo in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-22-2008, 02:17 PM
  3. emails don't forward
    By aledress in forum New User Questions
    Replies: 3
    Last Post: 04-16-2008, 04:31 AM
  4. email forward to two different emails?
    By dogkeeper in forum E-mail Discussions
    Replies: 3
    Last Post: 01-28-2008, 09:53 PM
  5. spamassassin does work on piped emails?
    By laborspy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-17-2004, 04:26 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube