I am having an user mailbox problem. This situation happend twice on different accounts.
If a user is disabled for special reasons and you want toe enable the login again the user is able to login, send new mails, see his old mails, but new email will not arrive into his mailbox. The sender doesnot getting a bounce message.
When i checked the log files i am able to see that the server received mail so i am clueless why its not reaching the usermail box and also wonder were it is.
This problem happend to me twice and the only way to solve it was to delete the account an create an new one. The present situtation does not allow me to delete the mailbox, since there is mail and the client is only using the webmail functionality. So he has no option to store the existing mail locally.
Can some please provide me a solution for this bugg / issue.
Thanks in advance.
Comments
Submitted by JamieCameron on Thu, 08/12/2010 - 19:37 Comment #1
If you check the mail logs (like
/var/log/maillog
) what does it say is happening to email to this user?You should also try running
mailq
to see if they are stuck in the Postfix queue for some reason ..Submitted by spencer on Thu, 08/12/2010 - 20:19 Comment #2
Hi Jamie,
I have checked the logfile and this is what is written : status=sent (delivered to command: /usr/bin/procmail)
I also ran the postfix mailque with out succes.
The stupid thing is that this client has three domains running / for admin issues i had disabled the use of all his email accounts. After i enabled it there is only one account which is not receiving mails.
I am clueless
Submitted by JamieCameron on Fri, 08/13/2010 - 00:21 Comment #3
Try also checking the log file /var/log/procmail.log for entries from the same time - that should say where the email was actually delivered.
Submitted by spencer on Fri, 08/13/2010 - 03:48 Comment #4
Hi Jamie,
Sorry there is no procmail.log file?
Submitted by JamieCameron on Fri, 08/13/2010 - 16:29 Comment #5
That's very odd, as Virtualmin sets up that log file by default.
What does your
/etc/procmailrc
file contain? It should have a line like :LOGFILE=/var/log/procmail.log
Submitted by spencer on Fri, 08/13/2010 - 19:10 Comment #6
I found the problem but no solution.
All mails were going to the -usermail box and the @usermail was not mapped (i have no idea why or how to solve it)
Because the client could no longer wait i created an new account and copied all mails to that account.
If you guys have a permenent solutions then please let me know. I know fear that i will have this problem again once i disable an account temporarly.
Thanks in advance.
Submitted by JamieCameron on Sat, 08/14/2010 - 00:47 Comment #7
That sounds like a virtualmin bug ..
What do you mean by the emails were going to the -usermail mailbox exactly? Do you mean they were delivered to /var/mail/name-usermail instead of /var/mail/name@usermail ?
Submitted by spencer on Sat, 08/14/2010 - 04:45 Comment #8
We set up the system that the username for mail is clientname@domain.com instead of clientname-domain.com. Normally both are using the same mailbox.
For some reason when an account is enabled after it has been disabled new mails do only appear when the client uses the clientname-domain.com login. With the client@ login he only sees old mail.
The stranges thing is that there is only ONE mailbox!!!
/home/domain.com/homes/clientname
So i am completly lost here,
Submitted by JamieCameron on Sat, 08/14/2010 - 13:26 Comment #9
That is surprising, as in a default virtualmin install both users have the same home diirectory, and thus the same mail file. Unless you have reconfigure virtualmin to deliver mail somewhere else?
Submitted by spencer on Sat, 08/14/2010 - 13:33 Comment #10
No i did not change the defaults. Could it be possible that the based on the user rights it shows new or old content? (in the same mailbox?)
Submitted by JamieCameron on Sat, 08/14/2010 - 16:37 Comment #11
That seems unlikely, based on my understanding of LDAP.
How exactly (on which page in Virtualmin) did you disable and then re-enable the user?
Submitted by spencer on Sat, 08/14/2010 - 17:07 Comment #12
i have disabled and enabled the user in edit email and ftp users settings. When you click on the username you have te option to disable or enable. (check box)