Re: [maildropl] segregate non-whitelisted mails?
Brought to you by:
mrsam
From: Sam V. <mr...@co...> - 2008-09-07 22:13:03
|
email builder writes: >> > 2) The kicker is that I want all other (non-whitelisted senders) mail to be > >> filtered elsewhere. I think if I can come up with a maildrop script that >> accomplishes #1 above, this may not be too hard, but I am concerned about two >> things: >> > >> > a) Reading in a (possibly big) whitelist from a file or database during >> maildrop execution may not be efficient(?) and may be hard to code in maildrop >> script language >> >> There are some filtering statements that are geared towards this situation, >> see the lookup() function in the maildropfilter man page. It's going to be >> as fast as reading a list of regular expressions from a file, and applying >> them. > > I tested lookup() and it works perfectly. I am wondering, however, is there any way to perform a database lookup (MySQL, PostgreSQL, etc) from maildrop filtering language? No. |