Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

Checking "Envelope-to:" field instead of "To:"; Duplicate messages;

  •  09-05-2018, 18:06

    • Supur is not online. Last active: 12-09-2018, 12:59 Supur
    • Not Ranked
    • Joined on 05-12-2010
    • Member
    • Points 210

    Checking "Envelope-to:" field instead of "To:"; Duplicate messages;

    Several months ago (probably a year) my email server (Mercury/32 v4.74) started delivering duplicate messages to local users, but that applies only to messages from some particular domains. Actually it started duplicating emails sent form some companies and with other companies everything works fine. So, if a message is sent from such company to our users "a" and "b", containg field "To:;", then both users "a" and "b" would receive two identical emails (two for each).

    After checking email headers (source) I found the following scenario:

    - It is actually the same email (ID and originating timestamp) with field "To:" containing both ";".

    - At some point while transported betwen different servers email is duplicated (from now on two instances flow in paralel) and different field "Envelope To:" is added to each of them. So, one email with "Envelope To:" and the other with "Envelope To:".

    - Both emails are routed correctly to our external domain mailbox and then downloaded by our local Mercury server as two different messages.

    - Then, MercuryD delivers BOTH messages to local users "a" and "b". So we have 2 messages for each user, 4 emails in total. And we should have one message for each user.

    Somewhere I red that Mercury assumes that "Envelope-To:" fields can be deleted during the transport between servers and that therefore Mercury does not check these fields. Supposingly it checks "To:" and "Bcc:" fields instead, to be sure about the final recepients. That would explain why an email message with a clear "Envelope-To:" is still delivered to both "" and to "".

    This wasn't happening in the past so I believe that recently somebody updated some widely used email-server softvare so therefore we got this new behaviour - email clones being sent separately for each recipient. (Two examples would be " []" and " []".)

    This policy doesn't sound bad as soon as our email servers do read "Envelope-To:" fields. However, it seems that Mercury doesn't do that - and that's why we have a problem. That's what I think. If my conclusions are wrong, please somebody correct me.

    So, does anybody have a fix for that? Can we make Mercury read (an use) "Envelope-To:" fields - when these exists?

    A good example: no problem happens when an email is sent from Gmail with "To:;" because Gmail servers put "Envelope To:;" in one email and keeps transporting only one email message till the end.



View Complete Thread

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page