Sending mail, system user, smtp auth fails, but works with administrator.

d86

New member
Joined
Jan 31, 2010
Messages
2
Hello,

The admin account that was created with directadmin works great. I added several other administrators and all were able to send mail.

However, when creating a regular user
$useradd -g 100 user1,

user1 can read mail, but can't authenticate to relay mail, maillog shows error "2010-01-31 23:30:20 plain authenticator failed for ___: 535 Incorrect authentication data (set_id=user1)"

the .shadow file is there.
$cp /home/admin/.shadow /home/user1/.shadow
$ls -la /home/user1/
drwx------ 8 user1 users 4096 Jan 31 20:48 Maildir
-rw-r----- 1 user1 mail 34 Jan 31 23:37 .shadow

i'm not sure what's missing. I'd rather not create it through directadmin because that's all i need is to send/receive e-mail.

Please help
 
If you don't create it through DirectAdmin then you'll still have to create everything the mail user requires. If you only need it for email you should create it as a virtual mail user of one of the domains on the server. If you don't know what I mean or can't do it that way for one reason or another then please let us know:

the complete email address you're trying to create (including @example.com, but with the real domain name)

whether or not that domain name is hosted on the server

the hostname of the server

Jeff
 
i see. I thought creating a system user and putting a .shadow file was enough because reading the mail was simple enough.

What am I missing to set up the system user with ability to authenticate to relay e-mail? the configuration files show that have been modified by DA, that's why i figured i'd ask here. I mostly use Admin Tools in DirectAdmin.

Thank you.
 
The easiest way to create email users for the DirectAdmin exim.conf file (I wrote it) is of course to use DirectAdmin to create the users.

If you don't want to do that then you may want to either edit the file (you're on your own or you can hire me or someone else to do it for you), or you can find a generic exim.conf file (but again you're on your own and you won't have any of the anti-spam tools I've included).

Jeff
 
Back
Top