Hello, I apologize if I am asking a question already answered, but I searched the archives and the docs and couldn't find it. Is there any safe way to determine, within a perl filter script, whether the sender is authenticated (via SMTP AUTH - local user) or not? And if yes, is there a way also to get the user ID? The authlib should already have determined this when the filter is invoked.
The problem I would like to solve is (if there is another way, I'll go for it): Sometimes user passwords get guessed / lost, and spammers will use that account, authenticate as it, and 'relay' mails around. I'd like to be able to log these cases to be able to inform the user and temporarily disable the account more quickly in that case. So far, I've been thinking to parse the Received headers, but those could be spoofed. Thanks and Regards, Lorenzo ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users