• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Qmail aliases not working

deltatech

Regular Pleskian
I am trying to create aliases on ALL domains as well as future created domains for 4 different email addresses. [email protected], [email protected], [email protected], and [email protected]. According to all qmail documentation, these go in /var/qmail/alias

I have created the following files in /var/qmail/alias .qmail-root, .qmail-postmaster, .qmail-abuse, .qmail-mailer-daemon.

The contents of all the above files is one line which is &[email protected]

Yet if I attempt to send an email to [email protected] it comes back with

The mail server responded: sorry, no mailbox here by that name. (#5.7.17)
. Please check the message recipient [email protected] and try again.
 
Hello,

Can you please provide me full qmail logs for your mail so that I can assist you in this regard
 
Hello,

Can you please provide me full qmail logs for your mail so that I can assist you in this regard

The error I get when sending to one of these aliases is...

delivery 1898: failure: 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)

What I have done so far is. create the following files in /var/qmail/alias

.qmail-root
.qmail-postmaster
.qmail-mailer-daemon
.qmail-abuse

The contents of all the above files are the same it is just &[email protected]

The address [email protected] WILL accept email.


I realize another method is to put the above files in each domain ie /var/qmail/mailnames/domain.com/.qmail-postmaster however I don't want to do this because I want all future created domains to work without having to do this.
 
Back
Top