On 8/21/2014 4:03 PM, Ronald F. Guilmette wrote: > Is there anything which is either a part of, or that works > with Postfix that is capable of automagically maintaining > a personal whitelist of specific e-mail addresses, to which > a given user has previously sent outbound e-mail? > > To be clear, although I have the local Postfix configured to > use many different public blacklists, and also some local > domain-based blacklists (in which I have blacklisted all > of yahoo.com, for example) what I am looking for is something > that would effectively override all those filters for specific > e-mail addresses that I have previously sent outbound mail > to, e.g. <myrfriend...@yahoo.com>. > > I'm guessing that I am far from the first person to have wanted > such a thing, but has it already been built? > > > Regards, > rfg > > > P.S. I am agnostic with respect to the level of specificity > required. For example if I sent something to <myrfriend...@yahoo.com> > and then that address became whitelisted for _all_ local recipient > addrsses, I think that would acceptable, even if (as should be > obvious) it might possibly be better to have that address only > be _selectively_ whitelisted, i.e. just for <r...@tristatelogic.com>. > > Either way, an automated whitelisting thing would be useful... > > ... but only if it works with Postfix. >
amavisd-new has a "penpals" feature that integrates nicely with postfix as a pre-queue smtpd_proxy_filter, or a post-queue content_filter. I don't use this particular feature, but amavisd-new is solid software. http://www.ijs.si/software/amavisd/ As an alternative, I don't suppose it would be much trouble to convince fail2ban to add outbound email addresses to a database to use as a postfix check_sender_access map. But I don't know of any existing fail2ban filters for that. This would still be subject to spoofing. -- Noel Jones