2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] How to authentica...
FromSent OnAttachments
Alejandro Valenzuela Roca (lanjoe9)Mar 22, 2007 8:19 am 
Gordon MessmerMar 22, 2007 9:23 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] How to authenticate on outbound e-mail but not inbound on esmtpdActions...
From:Gordon Messmer (yiny@eburg.com)
Date:Mar 22, 2007 9:23:34 am
List:net.sourceforge.lists.courier-users

Alejandro Valenzuela Roca (lanjoe9) wrote:

How can I configure esmtpd to accept inbound e-mail (i.e. from other mail servers) without authentication, yet require authentication for outbound (i.e. my mail server's users) e-mail?

That, actually, is the default configuration. Mail is accepted from anywhere for local accounts, but the only users who can relay are those who are either listed in smtpaccess with RELAYCLIENT or those who authenticate.

If you want to force users to authenticate, all you have to do is make sure that they're not listed in smtpaccess with RELAYCLIENT.