email [email protected] [BUG]

Migdiradmin

Verified User
Joined
Jan 5, 2020
Messages
152
Lets talk about this problem i have.

for example i use domain.com and fresh instal directadmin

Admin username: admin
Admin password:
Admin email: [email protected]

So after i install and add domain domain.com i see one email [email protected] already by default.
In the panel /user/email/accounts
[email protected]

If i try to send from gmail one email to [email protected] cant deliver "550 No such recipient here"
So if i try to create one email [email protected] give error "That user already exists "

But if i send one email to [email protected] can delivery and i can see the email in admin account created by default.

So i cant create one email [email protected]?
 
Admin username: admin
DA is always using the account username as default system mail account, because usernames are system accoutns (OS accounts). So this is not a bug but working as designed. If you are admin, the system main email account will be [email protected] by default.

So i cant create one email [email protected]?
You don't need to, since it already exists. Only difference is that this is a system account and not a virtual email account.
Hence you need to login with just admin as username and not [email protected] and this way you can use that email account. Same of all other username accounts on any domain.

So a bit more clear for the mail account [email protected]
username: admin
password: yourpass
server: mail.domain.com

For all other non-username accounts (in fact virtual email accounts):
username: [email protected]
password: yourpass
server: mail.domain.com

This way you can always use all email accounts.
 
DA is always using the account username as default system mail account, because usernames are system accoutns (OS accounts). So this is not a bug but working as designed. If you are admin, the system main email account will be [email protected] by default.


You don't need to, since it already exists. Only difference is that this is a system account and not a virtual email account.
Hence you need to login with just admin as username and not [email protected] and this way you can use that email account. Same of all other username accounts on any domain.

So a bit more clear for the mail account [email protected]
username: admin
password: yourpass
server: mail.domain.com

For all other non-username accounts (in fact virtual email accounts):
username: [email protected]
password: yourpass
server: mail.domain.com

This way you can always use all email accounts.
But if i send one email to [email protected] dont receive email.
cant deliver "550 No such recipient here"
 
And you did not make the change as you mentioned in post #2?
If not, then i don't understand, maybe in that case it has something to do that admin is used for all main stuff, but I'm not sure.

It works that way for all other accounts.
You can always create a [email protected] account which should work in any case.
 
And you did not make the change as you mentioned in post #2?
If not, then i don't understand, maybe in that case it has something to do that admin is used for all main stuff, but I'm not sure.

It works that way for all other accounts.
You can always create a [email protected] account which should work in any case.
Yes but some old domains used in cpanel have admin email, so its complicated now to change all :(
 
Must be an issue with your configuration somewhere. I just tested on a VPS with a personal account which also has [email protected] and the mail is delivered without any issues. Hope someone can help you with this.
 
Is that a new install? Please check:
Code:
/usr/local/directadmin/directadmin c | grep system_user_to_virtual_passwd
 
Had DNS recently been updated (I'm assuming so since it was recently migrated from cPanel). Have you checked the domain's MX records and whether the domain exists in the /etc/virtual/domains file (whether it is configured to use the local or a remote mailserver)?

Can you also check that all conditions are met in the following?

https://help.directadmin.com/item.php?id=16
 
Back
Top