whitelisting some servers

Andreas Ziegler ml2013 at andreas-ziegler.de
Thu May 28 01:24:51 CEST 2015


Hello Sebastian,

although your log isn't complete and we can't see the real issue with
the facebook servers: the short answer is, you can't whitelist anything
in policyd-weight.

the long answer:
you configured postfix to use policyd-weight in main.cf somewhere below
smtp_*_restrictions similar or like this:
check_policy_service inet:127.0.0.1:12525

you can add a line before this one like that:
check_client_access cidr:/etc/postfix/whitelist.cidr,

and create a file /etc/postfix/whitelist.cidr which contains the servers
which should not be checked by policyd-weight:
66.220.157.64/26 permit_auth_destination
69.171.244.64/26 permit_auth_destination
69.171.232.64/26 permit_auth_destination
[.....]
all of facebook's mail server ip adresses are listed on their website:
http://postmaster.facebook.com/outbound

Andreas


Am 25.05.2015 um 18:15 schrieb sebastian at deiszner.de:
> Hello,
> 
> i want to whitelist some servers - especially "facebook".
> 
> May 25 16:10:39 myserver postfix/policyd-weight[4169]: decided
> action=550 Mail appeared to be SPAM or forged. Ask your
> Mail/DNS-Administrator to correct HELO and DNS MX settings or to get
> removed from DNSBLs;
> <client=outmail007.ash2.facebook.com[66.220.155.141]>
> <helo=mx-out.facebook.com>
> <from=info-bounce+qstsjqg.aeaqyff5hu at support.facebook.com>
> <to=sebastian at mydomain.de>; delay: 1s
> 
> I can not convince the Facebook to configure their mail servers properly
> - so I have to use a workaround.
> 
> How do i configure policyd-weight for whitelisting "facebook.com".
> 
> 
> Thx
> 
> Sebastian
> _______________________________________________
> Policyd-weight-users Mailingliste
> JPBerlin - Politischer Provider
> Policyd-weight-users at listen.jpberlin.de
> https://listen.jpberlin.de/mailman/listinfo/policyd-weight-users


More information about the Policyd-weight-users mailing list