• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Qmail doesn't recognise new domains

S

SlinkeY

Guest
I have a problem on my PSA 7.5.4 that when i add a new domain, qmail doesn't recognise it.
I have tried to look in /var/qmail/control/virtualdomain, and the new domains are in this list.

Here is the error i get:
<[email protected]>:
Sorry. Although I'm listed as a best-preference MX or A for that host, it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)

I use Debian in my installation.
 
Also my "/var/qmail/control/locals" file only has "localhost" in it.
Is this wrong? If so, how do i fix this problem without doing it manually?
 
When I renamed some domains I had to restart qmail to get the new ones to work. Maybe a restart will fix your problems?
 
I have restarted qmail, also i have tried updatedb. Nothing helps. :S This is a big problem for me.
 
Also i have runned qmail-showctrl to get an output, and it includes the domains that cannot recieve mail :S
 
On Plesk servers, the 'locals' file does not contain the domains, you have to make sure the domains are listed in the files:

/var/qmail/control/virtualdomains
(one domain per line with a colon and prefix number for each)

and

/var/qmail/control/rcpthosts
(one domain per line)
 
Back
Top