This is a discussion on Re: [courier-users] AUTH_REQUIRED blocks inbound mail within the Courier-Imap forums, part of the Mail Servers and Related category; --===============1486885774== Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC "-//W3C//DTD ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1486885774==
Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type"= > </head> <body bgcolor=3D"#ffffff" text=3D"#000000"> 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!!!!<br> <br> Perhaps i didn't set correctly my domain but surely there's something else that i don't understand...<br> <br> Bye and thanx for the answers<br> <br> Daniele<br> <br> <br> <br> <br> Jeff Jansen ha scritto: <blockquote cite=3D"mid46A0E7AE.5020309@sil.org" type=3D"cite"> <pre wrap=3D"">-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniele Piaggesi wrote: </pre> <blockquote type=3D"cite"> <pre wrap=3D"">I have to configure a smtp with authentication on ldap= =2E Then I configured /etc/courier/esmtpd in this way: AUTH_REQUIRED=3D"1" ESMTPAUTH=3D"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=3D::ffff:xx.xx.xx.xx,msg=3D"535 Authentication required.",cmd= : DATA and I don't know why. If I set AUTH_REQUIRED=3D"0" in /etc/courier/esmtpd all works fine. </pre> </blockquote> <pre wrap=3D""><!----> 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=3D"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 - <a class=3D"moz-txt-link-freetext" hr= ef=3D"http://enigmail.mozdev.org">http://enigmail.mozdev.org</a> iD8DBQFGoOeuGfIHDMaiC9cRAqR6AKCezmaMo9OmBNAGRIMr5j 4lD11A2ACguTo+ YDsSRa1ZNSrWf+I5LT38BqA=3D =3DhE2q -----END PGP SIGNATURE----- -------------------------------------------------------------------------= This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. <a class=3D"moz-txt-link-freetext" href=3D"http://clk.atdmt.com/MRT/go/vs= e0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/d= irect/01/</a> _______________________________________________ courier-users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:courier-users@lists.= sourceforge.net">courier-users@lists.sourceforge.net</a> Unsubscribe: <a class=3D"moz-txt-link-freetext" href=3D"https://lists.sou= rceforge.net/lists/listinfo/courier-users">https://lists.sourceforge.net/= lists/listinfo/courier-users</a> </pre> </blockquote> <br> <div class=3D"moz-signature">-- <br> <font face=3D"serif"><font style=3D"font-size: 11pt;" size=3D"3">Daniele Piaggesi</font></font><br> <font face=3D"serif"><font style=3D"font-size: 11pt;" size=3D"3">--------= ---------------</font></font><br> <font face=3D"serif"><font style=3D"font-size: 11pt;" size=3D"3">System Administrator</font></font><br> <font face=3D"serif"><font style=3D"font-size: 11pt;" size=3D"3">Pronetic= s s.p.a.</font></font><br> <font face=3D"serif"><font style=3D"font-size: 11pt;" size=3D"3">Via E. L= =2E Cerva 127/C</font></font><br> <font face=3D"serif"><font style=3D"font-size: 11pt;" size=3D"3">Tel.=C2=A0= =C2=A0=C2=A0=C2=A0+39.06.51530849</font></font><br> <font face=3D"serif"><font style=3D"font-size: 11pt;" size=3D"3">Mob.=C2=A0= =C2=A0+39.328.6176226</font></font><br> </div> </body> </html> --===============1486885774== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1486885774== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users --===============1486885774==-- |