5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] relaying with and...
FromSent OnAttachments
M.I. JongepierApr 20, 2004 1:59 am 
Jeff JansenApr 20, 2004 2:26 am 
RUIVO Eugenio MoraisApr 20, 2004 2:35 am 
M.I. JongepierApr 20, 2004 3:07 am 
Jeff JansenApr 20, 2004 3:43 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] relaying with and without AuthenticationActions...
From:Jeff Jansen (ivb_@sil.org)
Date:Apr 20, 2004 2:26:40 am
List:net.sourceforge.lists.courier-users

On Tuesday 20 April 2004 08:59, M.I. Jongepier wrote:

I want that from address 145.x.x.10 courier esmtp accepts all mail without authentication AND that courier esmtp also accept mail from "the world" (any ip) with authentication.

How do I do that?

By default courier allows relaying if a client authenticates. If you have built rpms then you'll need to install the courier-smtpauth rpm.

Courier will relay for ip address (and ranges) found in the /etc/courier/smtpaccess files. But I don't think you can do what you are proposing. You can have 145.x.x.x but you can't have 145.x.x.10. You'll either have to open up the whole range or go through and put in exactly which machines you want to get on without authenticating - 145.12.12.10, 145.123.22.10, etc.

I changed in /etc/courier/esmtpd AUTH_REQYUIRED to '1' but now courier wants also my 145.x.x.10 adress authenticated

Don't set that. It does just what it says. It REQUIRES authentication for ALL mail that courier receives regardless of destination. In that case people sending mail to your users would also have to authenticate.