Submitted by ghomem on Sat, 12/20/2008 - 10:50
Hi,
We have a mailserver with Virtualmin Pro for which domain:
mydomain.com
stopped receiving email - all messages were rejected with "relay access denied".
We noticed that in /etc/postfix/virtual the entry
mydomain.com mydomain.com
was missing and the problem disappeared after it was added manually (the aliases were there untouched).
The last action the was permormed on the system was the deletion of
olddomain.com
It seems that there due to a bug /etc/postfix/virtual was damaged. However if I create a new domain and delet it afterwards I can not reproduce the problem.
This link points to a similar incident:
http://www.virtualmin.com/forums/help-home-for-newbies/one-domain-not-re...-access-denied-554.html
Status:
Closed (fixed)
Comments
Submitted by ghomem on Tue, 09/01/2009 - 05:18 Comment #24
This has happened again with Virtualmin 3.69. Please put priority on this issue which is critical.
Submitted by JamieCameron on Tue, 09/01/2009 - 11:07 Comment #25
3.69 is pretty old .. you should upgrade to 3.73.
Submitted by ghomem on Thu, 09/03/2009 - 13:04 Comment #26
That's the comment we had that made us upgrade to Virtualmin 3.69, where the problem should in theory be resolved (the whole discussion was on the ticket before the ticket system changed).
Submitted by JamieCameron on Fri, 09/04/2009 - 02:48 Comment #27
Damn, I thought I'd fixed this ..
Can you re-produce this reliably, or does it seem to just happen at random?
Submitted by ghomem on Fri, 09/04/2009 - 03:45 Comment #28
No, AFAIK happens randomly.
Submitted by JamieCameron on Sat, 09/05/2009 - 00:38 Comment #29
Hmm, that makes it hard to debug .. especially since nobody else has reported this since 3.69.
One way you can detect if it has happened is to run the command :
virtualmin validate-domains --all-domains --feature mail
Regularly, such as from cron. It will exit with a non-zero status if a problem is found, which should trigger and email from cron. Once you have that, you can use the Webmin Actions Log module to see what change triggered the deletion.
Submitted by ghomem on Wed, 06/16/2010 - 08:27 Comment #30
I reproduced the problem:
mydomain.com Mail for domain : The mail server is not configured to receive email for mydomain.com
But on webmin actions log there's nothing that can be related to this:
Deleted 198 messages from mail queue Postfix Mail Server root 89.214.38.195 27/May/2009 17:40 Flushed mail queue Postfix Mail Server root xxxxxx 25/May/2009 00:41 Changed SMTP authentication and encryption Postfix Mail Server root xxxxx 19/Nov/2007 18:18 Changed SMTP authentication and encryption Postfix Mail Server root xxxxxx 19/Nov/2007 17:24 Changed SMTP authentication and encryption Postfix Mail Server root xxxxxx 19/Nov/2007 10:22
Submitted by JamieCameron on Wed, 06/16/2010 - 12:57 Comment #31
ghomen - can you reliably reproduce this, perhaps by creating and deleting a domain?
Submitted by sgrayban on Thu, 06/17/2010 - 02:12 Comment #32
I have seen this happen as well... all random from what I can tell.
Submitted by ghomem on Thu, 06/17/2010 - 03:33 Comment #33
I already tried this and it was random.
You do know which perl files actually write to /etc/postfix/virtual and under what circunstances they do so, right?
Maybe you should list that.
Submitted by ghomem on Sat, 02/04/2017 - 18:09 Comment #34
Submitted by IssueBot on Thu, 10/11/2018 - 20:07 Comment #35
Automatically closed - issue fixed for 2 weeks with no activity.