Hi All,
We have an extremelly weird problem. Today we moved our SME box onto another machine. All went well, however all mail that is send to the domain happens to be just coming in in multiple copies, in fact the multiple copies do not stop, they just keep coming. Any email that has been sent since we moved the server onto a new machine has been just coming about 8 times every 30 minutes. This is getting frustrating and is going to drive our staff up the wall if something isn't done soon. Can someone please lend suggestions to me?
Thanks,
James Phillips
You need to do a search for user names within the file /var/qmail/control/mailrules.default and within the files that are contained within the /var/qmail/alias/ directory.
Specifically, if youradress@yourdomain is listed within one of the files such as (.qmail-webmaster) within the alias directory, email will be delivered to the address within the mailrules.default file, and then to the address within the (.qmail-webmaster) file. Now, if the only thing listed in the (.qmail-webmaster) file is (&username) such as (&admin) this won't cause the problem. However if (&admin@yourdomain.com) or (admin@yourdomain.com) is listed, this will cause the problem.
The (.qmail-????) files are group files, so any user name or full address within the file gets mailed to. So the (.qmail-webmaster) file within the alias directory is the webmaster group. If you send an email to webmaster@yourdomain.com, every (&username) listed within the (.qmail-webmaster) file will receive a copy of the email sent to webmaster@yourdomain.com. Then, if additional full email address are listed in the (.qmail-wembaster) file, they to will recieve a copy of the email.
So that if (&admin) is listed within the (.qmail-webmaster) file as well as (admin@yourdomain.com), then qmail will deliver a copy of the email to the mail box of (&admin) as well as to the mail box of
(admin@yourdomain.com) thereby delivering two multiple copies of the email to admin@yourdomain.com.
You also need to check and see if someone din't inadvertently set up a loop where usernames are
listed within a mailing list(which would be a group), and then the mailing list or group, is listed witin the group. This would compound the duplicity of email delivery.
Hope this helps.
Scott