OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
different check_sender_access for different recipient domains?

From: Aaron Wolfe (aawolfegmail.com)
Date: Thu Sep 06 2007 - 18:37:40 CDT


Hi,

I am trying to find a way to allow different domains to have different
white/blacklists, i.e. if my customer #1 wants to whitelist spammer A,
client #2 doesn't have to take their junk. I've got my blacklist in mysql
working fine sitewide, and I have a field in the table that contains the
domain that requested the entry (and should be the only domain who's
incoming mail causes the entry to be used). It doesn't seem like I can get
postfix to query based on both the sending domain *and* the recipient
domain.

I've searched around a lot but haven't found it, maybe I am blind. I have
per domain smtpd restrictions working for just about every other UCE control
(per recipient RBL usage, per recipient dns and RFC checks, etc). This per
recipient + per sender whitelist is eluding me. Is there a way?

-Aaron