10 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] How to extract $USER ...
FromSent OnAttachments
Truong Tan SonDec 20, 2007 5:37 pm 
Sam VarshavchikDec 20, 2007 6:17 pm 
Truong Tan SonDec 20, 2007 7:10 pm 
Leandro MendesDec 21, 2007 12:33 pm 
moussDec 26, 2007 5:17 pm 
Truong Tan SonDec 26, 2007 6:26 pm 
moussDec 29, 2007 10:56 am 
Truong Tan SonDec 30, 2007 5:25 pm 
moussDec 31, 2007 3:35 am 
Truong Tan SonJan 1, 2008 6:35 pm 
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: [maildropl] How to extract $USER to embed to the loop in Maildropfilter ?Actions...
From:Truong Tan Son (son@fcv.fujitsu.com)
Date:Jan 1, 2008 6:35:41 pm
List:net.sourceforge.lists.courier-maildrop

mouss,

It is good solution as your guide, that is better than my current setting and
more faster if compare with Maildropfilter at backend. Now, server runs lightly and high performance.

Thanks you very much.

----- Original Message ----- From: "mouss" <mlis@free.fr> To: "Truong Tan Son" <son@fcv.fujitsu.com> Cc: <cour@lists.sourceforge.net> Sent: Monday, December 31, 2007 6:36 PM Subject: Re: [maildropl] How to extract $USER to embed to the loop in
Maildropfilter ?

Truong Tan Son wrote:

Dear mouss,

*Problem: I want senders must enter username & password before sending message. Combines SASL authentication with Postfix MTA to make authentication at incoming
of mail server.

For aliases, I can not force them to do that,

I don't see why you would want this, but you can do it. now, this becomes a postfix question. so followup on the postfix list.

in the meantime, look at smtpd_sender_login_maps. something like:

myal@example.com login1, login2, login3, ...

allows login1 and friends to send as myal@example.com.

so I change an alias to normal user with Maildir has a file that contains more recipients. By this trick, I can make an alias (now user) must enter username &
password before sending message.

Using Maildropfilter and embed script I can get list of recipient in a file of
user's Maildir, and deliver message to them.

but why do you need maildrop here. a postfix virtual alias (or alias if using local domains) does it without loading this too many stuff.