[Exim] Yahoo Mail Changes Envelope-to Header?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Mongeon
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Yahoo Mail Changes Envelope-to Header?
I was testing my virtual host setup by sending some test messages
from my Yahoo mail account. I couldn't get it to work. I tried
a test message from my server, then from another Linux box that I
administer; both of these worked fine. I inspected the mail headers
more closely and found these headers on the Yahoo mail:

     Envelope-to: webmaster@???
     To: webmaster@???


On the e-mails that worked, the Envelope-to header matched the
To header. I assume that it is the originating MTA (i.e., Yahoo)
that is causing my problem. Has anybody else seen this behavior
from Yahoo's or other MTAs? Is there a work-around in Exim to key
off the To header instead of the Envelope-to header when direct-
ing e-mail for local delivery. It looks like, right now, Exim
resolves $domain to the domain part from the Envelope-to header.

My setup is basically this:

exim.conf:

     virtual_aliases:
          driver = aliasfile
          domains = virtual-domain.com
          file = /etc/virtual/$domain
          [etc]


     system_aliases:
          driver = aliasfile
          file = /etc/aliases
          [etc]


/etc/aliases:

     webmaster: localuser1


/etc/virtual/virtual-domain.com:

     webmaster: localuser2



So, mail sent to webmaster@??? from my Yahoo account is
incorrectly sent to localuser1 (alias webmaster@???). When
it works correctly, it goes to localuser2, which is what I want.

Thanks in advance for your input.

Marc