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

Reply via email to