I am using the following directive for filtering. The mail goes through 2 grey listing filters, bl lookup using policy_daemon, dkim, spf, dspam, etc... I don't want to start adding a whitelist entry to every filter.
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, check_recipient_access pcre:/etc/postfix/dspam_check_aliases, check_sender_access pcre:/etc/postfix/dspam_check_aliases, check_policy_service inet:127.0.0.1:2501, check_policy_service inet:127.0.0.1:5525, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:12525 On Sun, Jan 1, 2012 at 11:31 PM, /dev/rob0 <r...@gmx.co.uk> wrote: > On Sunday 01 January 2012 21:56:43 Roman Gelfand wrote: >> I see there is a way to whitelist domain. > > Numerous ways, depending on what you mean by "domain". > >> Is it possible to whitelist sender email address? > > FWIW (very little, in fact) there is check_sender_access. Not a good > tool for whitelisting, because every email address is used as sender > by spammers, sooner or later. > > http://www.postfix.org/SMTPD_ACCESS_README.html > http://www.postfix.org/postconf.5.html#check_sender_access > >> Also, if I am running several filters, will postfix >> automatically disable filtering for this sender email address? > > Nothing is automatic. You either configure filtering, or not. Why > would you want to bypass filtering? Do you want to receive "bad" > content [which claims to be] from that address? > > You might do better here if you describe the problem you have that > you're wanting to solve. Generally I believe that whitelisting is the > wrong approach when spam blocking is too aggressive; if you take out > unsafe and unreasonable restrictions, most good mail will go through. > > If you're having trouble implementing something, see here: > > http://www.postfix.org/DEBUG_README.html#mail > -- > http://rob0.nodns4.us/ -- system administration and consulting > Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: