In the Mercury D configuration the POP3 account information is set up with a default user set to junk. Which I am assuming anything that comes in that is not addressed to a local user then gets sent to the default user.
Yes did the trick for at least my testmessages. Will see how it holds for real mailing list stuff but if your analysis is 100% correct it should also solve it for those.
Thanks for all your help. The "Accept mail for invalid local addresses" is unchecked and after testing a second time does seem to be working. Not sure why my first test didn't get the failure notification but the second test did get the expected "Delivery failure notification" message.
My handler was returning 1, instead of returning 0, which was why Mercury returned 235. My handler should be returning 0, so that Mercury will return 334.
I know about 4.8 and I can't wait to get it. My problem here is that I cannot switch back to a plain connection due to some dependencies on the provider side and also regarding security policies within our company. And a Mercury crash always causes unexpected behavior for regarding the users IMAP mailboxes and so on :-(
I'm afraid, Trevor doesn't use Mercury. His discription appears to me as if he simply uses the capability of Pegasus sending mails to local users directly to their mailbox. And these mailboxes seem to be local to the client PC or he hasn't created a mailbox for admin.
Well, removing the local domains fixed the problem. I tried that earlier... not sure why it didn't work. Maybe I needed to restart the program/service.
I was looking at the wrong log file. The core module did not have log file turned on. I set this up for a test using ~D so I would get a daily log file. Since I most likely would not look back more than a week.