7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] AUTH_REQUIRED blo...
FromSent OnAttachments
Daniele PiaggesiJul 20, 2007 9:35 am 
Bernd WurstJul 20, 2007 9:44 am 
Jeff JansenJul 20, 2007 9:49 am 
Daniele PiaggesiJul 20, 2007 9:55 am 
Jay LeeJul 20, 2007 10:35 am 
Bernd WurstJul 20, 2007 11:10 am 
Daniele PiaggesiJul 20, 2007 11:15 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] AUTH_REQUIRED blocks inbound mailActions...
From:Daniele Piaggesi (d.pi@pronetics.it)
Date:Jul 20, 2007 9:55:59 am
List:net.sourceforge.lists.courier-users

Ok I understand. But then I think that I have done another mistake 'cause if I try to send a mail from a mailaddress (for example) @gmail.com to another mail address (for example) @hotmail.com using my smtp server on my domain without authentication, the delivery have success. This is an open relay!!!!

Perhaps i didn't set correctly my domain but surely there's something else that i don't understand...

Bye and thanx for the answers

Daniele

Jeff Jansen ha scritto:

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Daniele Piaggesi wrote:

I have to configure a smtp with authentication on ldap. Then I configured /etc/courier/esmtpd in this way:

AUTH_REQUIRED="1" ESMTPAUTH="LOGIN"

When I send a mail from my domain to other email-address with this smtp server (i tried with my thunderbird client) all's well: auth works fine. But if I send a mail with other smtp server to an address of my domain I have this error in /var/log/maillog

Jul 20 18:22:45 xxxxx courieresmtpd: error,relay=::ffff:xx.xx.xx.xx,msg="535 Authentication required.",cmd: DATA

and I don't know why.

If I set AUTH_REQUIRED="0" in /etc/courier/esmtpd all works fine.

If you specify "Authentication Required", then no one can send mail to your server unless they first authenticate. That's what you are seeing. Courier rejects any mail unless the other side first authenticates.

You normally don't want this and so you should set AUTH_REQUIRED="0". Then courier will accept mail for users at your domain, which is probably what you want.

By default, courier is very secure. It won't accept mail for unknown users, and it won't allow you to relay through it unless you authenticate first. You don't have to do anything if you just want to allow your users to relay mail if they authenticate first. Courier does that by default.

If you are trying to do something else, then tell us what you want to accomplish and someone can probably tell you how to do it (assuming it's possible).

HTH

Jeff Jansen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - [1]http://enigmail.mozdev.org

iD8DBQFGoOeuGfIHDMaiC9cRAqR6AKCezmaMo9OmBNAGRIMr5j4lD11A2ACguTo+ YDsSRa1ZNSrWf+I5LT38BqA= =hE2q -----END PGP SIGNATURE-----

------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. [2]http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ courier-users mailing list [3]cour@lists.sourceforge.net Unsubscribe: [4]https://lists.sourceforge.net/lists/listinfo/courier-users

-- Daniele Piaggesi ----------------------- System Administrator Pronetics s.p.a. Via E. L. Cerva 127/C Tel.    +39.06.51530849 Mob.  +39.328.6176226

References

Visible links 1. http://enigmail.mozdev.org/ 2. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ 3. mailto:cour@lists.sourceforge.net 4. https://lists.sourceforge.net/lists/listinfo/courier-users