Hi, today I read the courierfilter and several other filter related courier man pages a few times and I must admit, that I still do not understand the way that email takes through the filter pipeline(s) - english is not my native language, so I am not sure to understand the interplay of the different modules and config files. BTW a nice "big-picture" would be a very nice to the documentation...
>> How to get the recipient addresses of mails sent by autheticated users >> into this _whitelistMailAddresses ? >As it is, currently, you wouldn't. Modules can't safely modify each >others' DBM files. But for my described situation, the whitelist_auth module will only write to _whitelistMailAddresses and greylist.py will only read from this file. Will this have issues? >If you wanted to go down that path, you'd want to >add functions to the greylist module that added the addresses, and then >import "greylist" from the auto-whitelist module. ok >> The greylist module will usually work after whitelist_auth to affect >> all senders, that are not authenticated, so if I want to catch the >> recipients authenticated senders want to send to, whitelist_auth would >> be the last possibilty to do that. >You'd want the auto-whitelist to come before whitelist_auth, so that >whitelist_auth doesn't prevent the auto-whitelist from operating. ok, but I want to allow auto_whitelist ONLY for authenticated users. As I understand the courier manuals the global filter chokes in for each and every message - so if I put the the auto-whitelist to come before whitelist_auth it will execute the aut-whitelist functionality for EVERY incoming mail. I believe that an auto_whitelist feature only makes sense for authenticated users, and it is enough to keep record of only the recipients they send to [in a seperate file for each authenticated user [domain] ] because, as you said, conditional filtering is not possible with pythonfilter right now, in whitelist_auth right before return '200 ok' is the last place, where it is possible to do something for the authenticated user. Please correct me, if I am wrong here, as I may be totally misunderstanding how things work... thanks! Thanks for your attention! Tommy ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
