ok . I'm confused.. admin mail errors..

ashagg

Verified User
Joined
Jul 7, 2005
Messages
11
Location
Delhi , INDIA.
Hi there..

My box's FQDN is serv.*.com
in DA the server name is the same

When I try to send an email from another box to admin@serv.*.com I get this :

Delivery to the following recipient failed permanently:
admin@serv.*.com
Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 9): 550 "Unknown User"

When I try to send an email to admin@*.com I get :

Delivery to the following recipient failed permanently:

admin@*.com

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 9): 550 authentication required

I can however, send mail from admin@*.com

What am I doing wrong?!
 
DA's default exim setup doesn't deliver directly to usernames; it sets up aliases for them.

And DA's default install doesn't set up an alias file for the hostname.

Our installs do. :)

Jeff
 
Note that the following is NOT documented or supported by DirectAdmin; DirectAdmin does NOT support what you want to do.

We support this on servers we manage. Our charge for supporting this on servers we do not manage is quite high.

Code:
cd /etc/variable/<hostname>/
where <hostname> should be replaced by your hostname.

Do you have any files in there?

If there's no file "aliases" in there, create it: with the proper ownership and permissions:
Code:
touch aliases
chmod 600 aliases
chown mail:mail aliases
Then edit the file using any text editor; the contents should be one line, exactly as this:

Code:
admin: [email][email protected][/email]
(Ignore the underscores; I can't get the forum to not automatically parse email addresses.)

where [email protected] should be replaced by the email address to which you want admin's email sent.

Then save the file. Delete any backup file and make sure the saved file has the rights and ownership as above.

Jeff
 
Back
Top