Bounce Back on email with forwarder
We currently have a forwarder setup from 1 mail account to another for example all mail sent to '1@test.tld' forward to '2@test.tld'. These send and forward no problem.
However when an email is sent to 1@test.com it also sends a bounce back to the original sender saying the account doesn't exist. How do we turn this off if there's a forwarder on it?
-
Does [plain]1@test.tld[/plain] exist as an email account? Does the directory for this email account exist? ls -ald /home/`/scripts/whoowns test.tld`/mail/test.tld/1 0 -
Hello, Do you have any filters setup in cPanel for this account? If so, can you let us know the specific filter rules that are configured? Thank you. 0 -
I'm not aware if there are any filters on the account. None that I set up anyway. The example account '1@test.tld' does not exist as an account but it's set up as just a forwarder. Basically we've changed company names and we use this mail account as a monitor account so thousands of emails are sent to it everyday and a forwarder was set up so it can be forwarded to the new account which does exist but the old account wasn't created otherwise it would be storing thousands of the same email in an account which has never been checked. I have set up forwarders where an account wasn't needed before and they worked fine. However I don't see anything different between that forwarder and the forwarder I'm referring to. Is there an easy option to allow me to have a forwarder without having to have an account? 0 -
Hello, An email account isn't required when you simply want a forwarder for the email address. This suggests there's something else bouncing the email. What appears in /var/log/exim_mainlog when this happens? EX: exigrep user@domain.tld /var/log/exim_mainlog
Thank you.0 -
14:47:28 1ehccY-00071u-AL ** 1@test.tld R=virtual_user T=dovecot_virtual_delivery: LMTP error after RCPT TO:<1@test.tld>: 550 5.1.1 <1@test.tld> User doesn't exist: 1@test.tld
This is what appears, the rest of it just says it forwarded successfully.0 -
What is the output of: ls -ald /home/`/scripts/whoowns test.tld`/mail/test.tld/1 0 -
Have solved, although the account has been deleted within cPanel the folder was still there in /home/user/mail/1@test.tld/account/. a simple rm -Rf command fixed that right up! 0 -
@cPanelMichael I had this occur today. I had a user who was checking mail via POP3, then wanted to switch to having the mail forwarded elsewhere and the accounts deleted on the server. I did this for several addresses, and all was fine, except for one of those addresses. The one that had an issue forwarded as expected but also sent a bounce. Indeed it's mail directory didn't delete on the server. I manually deleted the directory for that username and one file didn't delete causing a failure (folder not empty error). I deleted that file individually, the removed the user folder and all was well. (I'm sorry, but I didn't save the deleted file to trash, but it was had 'uidvalidity' in the file name.) This seems like something I saw years ago, but why is is still happening? 0 -
@PeteS - in order to get more details on that we would have needed to see the system in the broken state. If you're able to make this happen again, feel free to submit a ticket to our team so we can check it out. 0 -
@PeteS - in order to get more details on that we would have needed to see the system in the broken state. If you're able to make this happen again, feel free to submit a ticket to our team so we can check it out.
Thanks, I figured as much. Unfortunately it is not reproducible on demand, and when it happens on a live client account it has to be fixed immediately. Can you confirm that the existence of the user folder (when cPanel thinks the user shouldn't exist as an account, just as a forwarder) is what causes the bounce? Everything except the folder delete was done through WHM, so I figure it has to be some odd glitch with something like permissions or ownership that prevents the user folder from removal. That said, if I see this again I will rename the user folder and see if that resolves it. That way at least we can check whats in there, and also file perms and ownership.0 -
That's correct - if the folder exists when it shouldn't, that can cause these odd issues. 0
Please sign in to leave a comment.
Comments
11 comments