Um. That's how courier normally works. Just don't put anything in smtpaccess, put the domains in esmtpacceptmailfor and don't set any AUTH_REQUIRED variables.

On 17/10/2004, at 2:51 PM, Julien V. wrote:

Hi everybody,

I heard about courier and wanted to change to this suite which looks like
cool.

But I have a BIG problem with ESMTP mechanism for authentification.

I need to host a few domain for which user can post message from any IP to any
email, with an authentification (i must be sure that's my users who post, and
not spamers : don't want to be open relay) BUT i want too other SMTP relays
can delivers mails to my users, so for them, ESMTP do not ask
authentification.

Before I had a patched of my own qmail which do this  :

Someone connect to ESMTP. He send "HELO mynameis" command.
After, he tell who is he with "MAIL FROM:<isemail>" command and then,
for who the mail is for with "RCPT TO:<email>" command.

Ok, now two choice :
- If "email" owned by a hosted domain, ESMTP answer "ok", or "user does not
exists", if it is case.
- Else, it ask authentification.

(That's the way it may function.)

With ESMTP authentification, impossible to do that is this way.
If a ask Authentification, ESMTP ask it just after the EHLO/HELO command.

How Internet relay can delivers mails in these conditions ????

Anyone has the solution ?
I hope courier's users do not permit OPEN RELAY !! With spams around there,
that's a crime, so i could imagine that's some of you allow to receive
internet mails in a closed relay :-p

(See below for the log)

Thanks for help !
Julien

---
Configuration : ESTMP Authentification enabled
127.0.0.1<tab>allow,RELAYCLIENT
in smtpaccess

on this computer, telnet 127.0.0.1 25 give :
blanchette:/etc/courier/smtpaccess# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 blanchette.skouat.net ESMTP
EHLO thatsme
250-blanchette.skouat.net Ok.
250-AUTH LOGIN CRAM-MD5
250-AUTH=LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
250-STARTTLS
250-XVERP=Courier
250-XEXDATA
250-XSECURITY=NONE,STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE
250 DSN
MAIL FROM:<[EMAIL PROTECTED]>
535 Authentication required.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

--
Phillip Hutchings
[EMAIL PROTECTED]
http://www.sitharus.com/

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to