Thank you very much Alessandro for your answer
This is exactly what I need...
BTW this environment variable is not mentioned in localmailfilter/maildrop* 
documentation ... unless I have missed it ...
What other environment variables are available (in addition to those mentioned 
in localmailfilter/maildrop* documentation) ???? Are they fully documented in 
some other place that I miss ???
Anyway ... thanks again
Cheers 

Costas Kousouris
Network Operation Centre
Athens University of Economics and Business


-----Original Message-----
From: Alessandro Vesely [mailto:ves...@tana.it] 
Sent: Wednesday, October 12, 2011 12:30 PM
To: courier-users@lists.sourceforge.net
Subject: Re: [courier-users] auth smtp and rcptfilter

On 12/Oct/11 10:40, aueb-...@aueb.gr wrote:
> 
> Inside a rcptfilter for local aliases is it possible to know if
> authenticated smtp has been used for the connection ???

I do that getting the SENDERAUTH environment variable.  It is set on
SMTP reception (courieresmtpd.c) before invoking submit and stays
there through the whole process; after a space there is the login
id (e.g. "LOGIN kousou").

> It would be very useful in order to reject messages for somehow
> "restricted" local aliases

Yep, I use it for mapping the "sent" extension to ~/Maildir/.Sent/.

-- 














































------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to