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
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

Mercury is sorting mails into wrong user inbox

Last post 10-19-2018, 12:21 by Greenman. 14 replies.
Sort Posts: Previous Next
  •  10-17-2018, 14:17

    • Joerg is not online. Last active: 07-17-2019, 15:43 Joerg
    • Top 25 Contributor
    • Joined on 03-25-2008
    • German Baltic Sea Coast
    • Contributor
    • Points 7,415

    Mercury is sorting mails into wrong user inbox

    Hi guys,

    Since a few days we experience the following oddity: From time to time (4 times until now) a (local) user receives an e-mail (from the internet) which was intended for another (local) user of our Mercury domain. Normally Mercury D is polling our external mailboxes with the ISP one after another, retrieving the mails and put them into the assigned local user inboxes. The affected mails look OK, they have a valid sender, a valid recipient (the external address for the local user). Only the sorting seems to be mixed up occasionally.

    Has anybody an idea what I could check to locate the problem? The mail log (system log) shows the receipt of the affected mail and its forwarding to the wrong local user. MercuryD has also been checked without any findings. Each external address is assigned to its local user correctly.

    FYI: Beside the MercuryD we've got MercuryS, MercuryC and MercuryI running. Further we've got three alias addresses in place which will be forwarded to three public mailboxes. But the wrongly forwarded mails do not concern these aliases. Finally Spamhalter is activ on our system.

     

     

  •  10-17-2018, 16:12

    • Greenman is not online. Last active: 01 Jul 2019, 9:16 Greenman
    • Top 10 Contributor
    • Joined on 07-19-2007
    • UK
    • SuperStar
    • Points 14,300

    Re: Mercury is sorting mails into wrong user inbox

    I saw this a few years ago. However, I can't remember precisely what the cause was. I recall that it was something to do with addressing and that the original mail was sent in reply to a different address. However, because the recipient's address had featured somehow in the cc or bcc of what was originally received by the sender, the message received (apparently in error) by the unintended recipient appeared without any other address on it - i.e. there was no cc or bcc. Looks like the sending server had split the response from the sender, creating separate messages to each recipient but without cc or bcc information. Took me several days to understand what was happening. I hope this at least points you in the right direction.
  •  10-17-2018, 16:41

    • Joerg is not online. Last active: 07-17-2019, 15:43 Joerg
    • Top 25 Contributor
    • Joined on 03-25-2008
    • German Baltic Sea Coast
    • Contributor
    • Points 7,415

    AW: Re: Mercury is sorting mails into wrong user inbox

    Hi Greenman,

    This might be, but the sender and/or sending (or relying) mail server in the internet does not know the uninteneded user address which could mistakenly used. The sender and the sending mail server have added/used the correct intended user address and the row mail is also showing the right (intended) user only, but Mercury has put it into the wrong local inbox of an unintended user.

  •  10-17-2018, 17:17

    • Greenman is not online. Last active: 01 Jul 2019, 9:16 Greenman
    • Top 10 Contributor
    • Joined on 07-19-2007
    • UK
    • SuperStar
    • Points 14,300

    Re: AW: Re: Mercury is sorting mails into wrong user inbox

    That's right. In our case, the messages were addressed to another mail account on our domain but delivered to the 'wrong' recipient.
  •  10-17-2018, 23:05

    • Rolf Lindby is not online. Last active: 2019-07-18, 14:43 Rolf Lindby
    • Top 10 Contributor
    • Joined on 05-08-2007
    • Stockholm, Sweden
    • SuperStar
    • Points 26,265
    • BetaTeam Moderator SystemAdministrator

    Re: Mercury is sorting mails into wrong user inbox

    The best way to track an issue is usually to create a session log, assuming the problem can be repeated. If the .CNM file still is available that could perhaps be used (basically only the headers are needed). Other than that make sure there isn't anything else active that could affect mailbox selection, such as pseudonyms, filters or daemons.

     

  •  10-18-2018, 12:05

    • Greenman is not online. Last active: 01 Jul 2019, 9:16 Greenman
    • Top 10 Contributor
    • Joined on 07-19-2007
    • UK
    • SuperStar
    • Points 14,300

    Re: Mercury is sorting mails into wrong user inbox

    I'm pretty sure we used the session logs. Mercury is configured to save all transaction logs so we were able to trace it back.
  •  10-18-2018, 13:33

    • Joerg is not online. Last active: 07-17-2019, 15:43 Joerg
    • Top 25 Contributor
    • Joined on 03-25-2008
    • German Baltic Sea Coast
    • Contributor
    • Points 7,415

    AW: Re: Mercury is sorting mails into wrong user inbox

    Thanks guys,

    I have re-activated the session logging for MercuryD. Now I have to wait for further irregularities. Then I will report.

    Indeed, we have also a synonym.mer in place for translating all outgoing local addresses into their official internet addresses. But I have checked the synonym file for correctness. Further we've got two global filter rules in place for sorting out spam mails marked by spamhalter. And finally also one content control rule set is working. But except the synonym.mer, nothing affects the concerned local users who has received the unintended mails.

  •  10-18-2018, 15:17

    • Joerg is not online. Last active: 07-17-2019, 15:43 Joerg
    • Top 25 Contributor
    • Joined on 03-25-2008
    • German Baltic Sea Coast
    • Contributor
    • Points 7,415

    AW: Re: Mercury is sorting mails into wrong user inbox

    Just experienced another case. W've got different e-mail addresses (e.g. address "A") with our ISP which will be forwarded (Standard-Forwarder) to another mailbox (address "B") with our ISP without polling mailbox A. Mailbox B will be polled and mail retrieved regularly by MercuryD. Now we have received such an ISP forwarded mail, which has been retrieved when MercuryD has checked mailbox "B". So far so good. But finally Mercury has unintendendly distributed the mail to 4 different local users. I have no idea. Below please find the .MD file of MercuryD session log:

    Therein I have replaced the addresses with User A, User B and senders.domain


    ...

  •  10-18-2018, 15:46

    • Joerg is not online. Last active: 07-17-2019, 15:43 Joerg
    • Top 25 Contributor
    • Joined on 03-25-2008
    • German Baltic Sea Coast
    • Contributor
    • Points 7,415

    AW: Re: Mercury is sorting mails into wrong user inbox

    New oddity: A customer has sent a mail with different attachments, where not all attachments were received by us, but the mail was received without errors. Then he repeated to send this mail and we received other attachments allthough he had attached all again. I have no idea, what happens here. Just spoken with the support of the ISP - no idea, all works fine with them.
  •  10-18-2018, 16:25

    • Joerg is not online. Last active: 07-17-2019, 15:43 Joerg
    • Top 25 Contributor
    • Joined on 03-25-2008
    • German Baltic Sea Coast
    • Contributor
    • Points 7,415

    AW: Re: Mercury is sorting mails into wrong user inbox

    I guess I've found the error and in most cases the person in front of the machine is the problem. Tongue Tied

    Mercury is starting at our Windows Server 2016 machine as a service. This is to ensure that the mail server is running also in case of a server restart in my absence. When I'm back in the office, I manually stop the service and start the GUI to see the Mercury console at the desktop (for checking purposes, I'm the visual type and must see what happens Big Smile). It seems that the service has either been restarted automatically or I forgot to quit the Mercury service before starting the GUI, so that finally 2 instances are working simultaneously and in rivalry.

    For the next release of Mercury I would wish a clear setup procedure where I could choose how the GUI is presented, for example that the service is installed and that the GUI could be started on demand but without starting an additional Mercury process.

  •  10-18-2018, 17:01

    • Greenman is not online. Last active: 01 Jul 2019, 9:16 Greenman
    • Top 10 Contributor
    • Joined on 07-19-2007
    • UK
    • SuperStar
    • Points 14,300

    Re: AW: Re: Mercury is sorting mails into wrong user inbox

    Joerg:
    ...

    When I'm back in the office, I manually stop the service and start the GUI to see the Mercury console at the desktop (for checking purposes, I'm the visual type and must see what happens Big Smile). It seems that the service has either been restarted automatically or I forgot to quit the Mercury service before starting the GUI, so that finally 2 instances are working simultaneously and in rivalry. ... 

    Surreal. I've never used the Mercury as a service feature. 

  •  10-18-2018, 17:20

    • Joerg is not online. Last active: 07-17-2019, 15:43 Joerg
    • Top 25 Contributor
    • Joined on 03-25-2008
    • German Baltic Sea Coast
    • Contributor
    • Points 7,415

    AW: Re: AW: Re: Mercury is sorting mails into wrong user inbox

    Greenman:
    Surreal. I've never used the Mercury as a service feature. 
    Mercury has to start automatically also in my absence irrespective of with GUI or without. Therefore "running as a service" would be my first choice. Of course, I could start Mercury also via a batch skript. But also in that case I never would see the GUI because the desktop is started with session "0" and any later login will get another session ID, where I never see the GUI (if I understood it correctly) In both cases I have to stop Mercury and restart it manually. Then the GUI appears in the current desktop and (surprise) also in all subsequent RDP desktop sessions for remote access. According to the frequency of MS updates I have to restart the server once a month. And for this one time in a month I restart Mercury manually to get the GUI visible for the rest of the month Smile This is my solution for Windows Server 2016 Standard. Maybe not the best but I can live with.

    Cheers

    Joerg

  •  10-18-2018, 17:26

    • Brian Fluet is not online. Last active: 07-20-2019, 3:08 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 25,440

    Re: AW: Re: Mercury is sorting mails into wrong user inbox

    FWIW, I had Mercury running on a PC which was configured to auto-login and auto-start loader.exe on startup (Win7).  I don't know if auto-start of an executable is possible on a server but it may be worth looking into.

    I say "had" because that PC failed and I haven't been able to get the auto-login to work on its replacement.

  •  10-19-2018, 0:59

    • Rolf Lindby is not online. Last active: 2019-07-18, 14:43 Rolf Lindby
    • Top 10 Contributor
    • Joined on 05-08-2007
    • Stockholm, Sweden
    • SuperStar
    • Points 26,265
    • BetaTeam Moderator SystemAdministrator

    Re: AW: Re: Mercury is sorting mails into wrong user inbox

    Running Mercury as a service is indeed often preferable when possible. In v5 it will again be possible to use the GUI when in service mode. (Still no estimate on when v5 will be released though.)

     

  •  10-19-2018, 12:21

    • Greenman is not online. Last active: 01 Jul 2019, 9:16 Greenman
    • Top 10 Contributor
    • Joined on 07-19-2007
    • UK
    • SuperStar
    • Points 14,300

    Re: AW: Re: AW: Re: Mercury is sorting mails into wrong user inbox

    Joerg:

    Greenman:
    Surreal. I've never used the Mercury as a service feature. 
    ... This is my solution for Windows Server 2016 Standard. Maybe not the best but I can live with.

    Cheers

    Joerg

    I'm all for this. My comment was related to the rivalry you mentioned. I've never used the 'service' aspect simply because as a charity we do not have a license. Also, like you, I need to see what is going on. It's how I pick up on persistent unauthorised connection attempts, check that messages have been sent when Pegasus Mail leaves a sent message on screen etc.

View as RSS news feed in XML

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