Re: [courier-users] AUTH_REQUIRED blocks inbound mail

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; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniele Piaggesi wrote: > I have to configure a smtp with authentication on ldap. ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-20-2007
Jeff Jansen
 
Posts: n/a
Default Re: [courier-users] AUTH_REQUIRED blocks inbound mail

-----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 - http://enigmail.mozdev.org

iD8DBQFGoOeuGfIHDMaiC9cRAqR6AKCezmaMo9OmBNAGRIMr5j 4lD11A2ACguTo+
YDsSRa1ZNSrWf+I5LT38BqA=
=hE2q
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0