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.

Formmail to remote eMail address

Discussion in 'E-mail Discussions' started by deddy, Apr 1, 2004.

  1. deddy

    deddy Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Formmail accepts only localdomains as recipients.
    In a special case it is necessary to forward formmail data
    to 4 remote eMail addresses.

    The entry of the domainnames of these eMail addresses
    in /etc/localdomains enables /cgi-sys/formmail.pl to work
    properly but the formmail data can't be forwarded due to
    the following error :

    email_address@domain.com
    Unrouteable address

    That's normally because Exim is handling this eMail address
    like a localdomain address.

    The question is how is it possible to get a remote eMail
    address accepted by Formmail and relayed by Exim.

    Unfortunately there is no .formmailconf or .recips file.

    Is there anybody out there who knows a solution for this
    problem ?
     
  2. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    18
    I don't use cpanel's formmail script, but you could solve the problem by creating and using a forwarding address, and have it forward the mail to the external e-mail address.
     
Loading...

Share This Page