[exim-dev] [Bug 1300] New: Sending mails from wrong outgoing…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Chanchal
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 1300] New: Sending mails from wrong outgoing IP/sender
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1300
           Summary: Sending mails from wrong outgoing IP/sender
           Product: Exim
           Version: 4.77
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: high
         Component: Delivery in general
        AssignedTo: nigel@???
        ReportedBy: chanch13@???
                CC: exim-dev@???



Hi

I am experiencing a strange issue with exim running on a CentOS 5 cPanel
server. When sending mails from domain1.com to domain2.com(with remote MX), and
when both domains are setup to use custom mailhelo and outgoing ips using
cPanel's /etc/mailhelo and /etc/mailips files, the mail gets sent out from
domain2.com's IP instead of domain1.com's. I suspected it as a bug with
cPanel's exim configuration and contacted them. But their findings point toward
a problem with the way exim handles the email. Quoting their update:

---------------------
This is a known issue, but not really a bug. We had another ticket recently
where the customer was sending mail from bob@??? to jane@???
and domain2.com's MX pointed to Google apps. The mail was being send out
domain2.com's dedicated IP (listed in /etc/mailips) instead of domain1.com's
dedicated IP. The reason that happens has to do with Exim and is not a cPanel
bug. The message is 'handed off' to a domain that is local on the server, then
the routing lookup is done which comes back with the remote MX and that mail
should go to it, then the message is then handed off with the rcpt domain being
the 'sender'. The headers don't show a sender change of course, but as far as
Exim is concerned, domain2.com is now the sender of the message.

The issue would be similar here in that the rcpt domain is the new 'sending'
domain as far as Exim is concerned. Unfortunately fixing this issue would
require changes in Exim itself in how it handles mail forwarding internally.
---------------------

I am not sure if this is related to this bug at
http://bugs.exim.org/show_bug.cgi?id=1141 . The effect is the same that the
emails fail to pass SPF tests.


Please advise.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email