Tommy Braun wrote:
> 
> 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?

Yes.  While I'm not intimately familiar with the implementation of the 
dbm modules, I'm reasonably sure that the library keeps some bits in 
memory, rather than hitting the disk every time a key is looked up.  If 
you modify the file without updating the memory, the reader is going to 
break.  If you let the greylist module update its own file, then it has 
the opportunity to update its memory structures as well.

> ok, but I want to allow auto_whitelist ONLY for authenticated users.

What I plan to do is run for each message, determine if the sender was 
authenticated, and add the whitelist entries if so.


-------------------------------------------------------------------------
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

Reply via email to