Incomplete mail account deletion
I created an email account, xxx, for my domain as a temporary measure; when I was finished with this account, I deleted it. My expectation was that mail would revert to its behaviour prior to creating the account, that is, any mail addressed to the account would be delivered to the default account. That is not the case. Instead, any delivery attempt to that (now deleted) address gives an error message back to the sender:
-------
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
xxx
LMTP error after RCPT TO::
550 5.1.1 User doesn't exist:
xxx
-----
So, I tried adding a forwarder (for xxx) to a different account. The mail DOES get forwarded BUT the error message still gets delivered back to the sender.
I'm on cpanel 74.0.10
Is this not a bug and is there a fix/workaround?
-
Do you have any custom file rules setup in cPanel >> Email Filters or cPanel >> Global Email Filters that could be rejecting the emails? If not, review /var/log/exim_mainlog to see the full log output for one of the affected emails. EX: Thank you.
No filters. I'm on a shared system so examining the logs is a pretty much a no-go. So, I wandered through my directories and found a few places where cruft was left behind after my deletion. There was stuff at: ~/etc//@pwcache/xxx ~/mail//xxx I blew all this junk away and proper behaviour has been restored Thanks for your help0 -
Hello @tc17, I'm glad to see you were able to solve the issue. Thank you for sharing the outcome. 0 -
This is still a problem as of today. Things are getting left behind and LMTP is still trying to deliver to deleted email accounts. 0
Please sign in to leave a comment.
Comments
4 comments