Andrus Naulainen wrote:
> 
> If i add this second rule to the smtpaccess and open my server
> relaying 
> for everyone like this:
> 
> 192.168 allow,RELAYCLIENT,BOFHBADMIME=accept
> *       allow,RELAYCLIENT,BOFHBADMIME=accept
> 
> Then messages com through to my local users, but then the server is
> open relay and that is bad.

Right.  Don't do that.

> How should I config that
>     *) all messages from outside SMTP servers will reach to my users
>     *) our mail-server users can use our SMTP server for sending mails
> (should do this with authentication, but then again we can't receive
> mails sent to our users from outside, because outside SMTP servers
> can't authenticate)
>     *) outside SMTP server can't send messages by our server to any
> external servers

As Sam mentioned previously, this is the default configuration.  What you
have probably done is require authentication on all connections.

If you have this line in /etc/courier/esmtpd:

    AUTH_REQUIRED=1

Then change it back to 0, restart, and things will work as expected.

-- 
Bowie

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to