Cannot login with [email protected]

Afonso

Verified User
Joined
Apr 21, 2007
Messages
27
When a new user is created or a domain is added, DA creates an email [email protected] but doesn't add his password to /etc/virtual/domain.com/passwd.
This means that that he has to access his email with the username user and cannot access it with the username [email protected]. If he tries to anyway, access is denied and the following appears in /var/log/maillog:
Code:
Mar  3 01:50:53 server dovecot[7836]: auth(default): shadow([email protected],127.0.0.1): unknown user
Mar  3 01:50:53 server dovecot[7836]: auth(default): passwd-file([email protected],127.0.0.1): unknown user
Mar  3 01:50:55 server dovecot[7836]: imap-login: Disconnected (auth failed, 1 attempts): user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

My questions are:
1. Is there a way to make DirectAdmin add the user's password to /etc/virtual/domain.com/passwd when a new user is created or a new domain added?
2. How can I add those passwords to all existing domains?
 
But is there any way to access the email with the username [email protected]? It doesn't make sense to me that the user must login to the default email account only with his username (and cannot use Atmail because of this) and must login with [email protected] for every email created thereafter (and can use Atmail with that email).
 
When new users are created their passwd is authenticated via /etc/passwd not the virtual passwd file.
 
I understand and thank you for your replies that but I still cannot answer my question, assuming it is possible...
 
The mailboxes are separately defined. The user's mailbox is an artifact of a unix/linux user being created, and has nothing to do with the virtual mailboxes created by DirectAdmin.

Which doesn't answer your question either.

The answer is no unless you figure it out.

We don't use the user email; we set up a forward for our clients so it goes to a virtual mailbox.

Jeff
 
We don't use the user email; we set up a forward for our clients so it goes to a virtual mailbox.

What do you mean by "we don't use the user email"?

Could you explain how you create a virtual mailbox and set up the forwarding by command line? It's sounds a good idea and I would like to automate the process!
 
We actually do it manually in the control panel; I'm sure it can be done in a script run after the domain is created: you'd simply create the mailbox, and then set up the forward in the domain's alias directory in /etc/virtual. But I've never done it that way.

Jeff
 
Back
Top