Ryan Parlee writes:


I have a need to perform local delivery based solely on the user that is
authenticated with SMTP. The logic I'm trying to accomplish looks like this:


1. Joe's email client connects to my Courier via SMTP

2. Joe's email client provides credentials and Courier authenticates as user
[EMAIL PROTECTED]

3. Courier allows the connection, but rather than deliver to
[EMAIL PROTECTED], Courier does a local delivery to a Maildir

Later, another process will pickup mail in the Maildir via POP3 and do some
other formatting to the message before finally queuing it to be delivered as
normal (i.e. to [EMAIL PROTECTED])



Note that the original email will look like this:

  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Hi

No it won't.

There's absolutely no reason why someone can't authenticate as address A, send a message with the return address set to B, and put address C in the headers.

Courier's normal behavior is to simply relay the message, and NOT do a local
delivery?  Is there some way to force a local delivery based on the fact
that "[EMAIL PROTECTED]" is the authenticated user?

Nope.


Attachment: pgpHf2ZWI0Y5v.pgp
Description: 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
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to