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!

Can exim forward email through the account IP address?

Discussion in 'E-mail Discussion' started by JIKOmetrix, Jun 25, 2009.

  1. JIKOmetrix

    JIKOmetrix Well-Known Member

    Apr 3, 2007
    Likes Received:
    Trophy Points:

    I have a VPS that is/was on CBL RBL. I have asked for it to be clear. It was a form that got hi-jcaked.

    I'm running into a strange exim issue. All of the account on this VPS have dedicated IP Addresses. Exim is configured to send from each account IP address. However it does not send email from forwarders via the account IP address. I only discovered this when forwarded email is bounced or blocked for being on the CBL RBL but email from email accounts is delivered.

    Any way to get the server to forward email from the account IP address too?

  2. Kasper

    Kasper Active Member

    Aug 26, 2004
    Likes Received:
    Trophy Points:

    Apparently it happens due to the checks applied for sender_address_domain for remote_smtp transport in exim.conf.

    In case of the forwarder, the variable sender_address_domain used for the IP lookup in "remote_smtp" is useless due to the fact the forwarded messages preserve the original sender as $sender_address_domain.

    Consider it as

    1@test.tld - locally served
    2@anothertest.tld - gets emails forwarded from 1@test.tld

    If you send an email from or w/e to

    the email is forwarder to
    as from

    On the remote_smtp tranport time, the sender address is checked for the records in /etc/mailips and sure thing, not found...

    You can always debug the delivery using the command like

    exim -d -bt 1@test.tld

    @ cPanel guys - are you planning to add a check "if it's forwarded/exists in valiases - use local domain record from mailips for the interface " ?
    I bet the most users would be interested to see it...

    Just 2 cents...
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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