Alex Bederov writes:
Sorry, I forgot this part:
Relaying is denied:
/var/log/maillog:
Jan 4 22:48:48 host1 courieresmtpd: started,ip=[::ffff:12.236.70.128]
Jan 4 22:48:49 host1 courieresmtpd:
error,relay=::ffff:12.236.70.128,from=<sm...@localhost.com>,to=<courier@bederov.c
om>: 513 Relaying denied.
So? The mail client did not authenticate, and that's what you go.
If the mail client did try to authenticate, but failed, that error would've
been reported by your mail client.
Check your mail client's configuration.
I am out of my wits here.
I am trying to setup up SMTP authentication so that authenticated users
could send e-mail using my server.
I have following set in ~courier/etc/esmtpd:
AUTHMODULES="authdaemon"
ESMTPAUTH="LOGIN CRAM-MD5"
I do not use PAM -- ~courier/etc/authdaemonrc has
authmodulelist="authcram authuserdb"
home=/courier/mail/foo|mail=/courier/mail/foo/Maildir/|uid=55555|systempw=hCobVq
3VC/6WY|gid=55555
imapd is working fine, so I assume that there are no problems with
authdaemon and userdb.