stevejenkins / postwhite

Script for generating a whitelist for Postfix's Postscreen based on large senders' SPF records
https://www.stevejenkins.com/blog/2015/11/postscreen-whitelisting-smtp-outbound-ip-addresses-large-webmail-providers/
MIT License
89 stars 26 forks source link

Not creating /etc/postfix/postscreen_spf_whitelist.cidr automatically #18

Closed stan-thomas closed 7 years ago

stan-thomas commented 7 years ago

After running /usr/local/bin/postwhite/postwhite a file like this postwhite.VHxoN1 is created in the /tmp directory with all the contents, but this file does not get written to the /etc/postfix directory. This is on Debian 8 and /etc/postwhite.conf exists.

I also guess it is not reloading postfix after too.

Am I doing something wrong?

qskousen commented 7 years ago

See my issue #17, perhaps this is related. Do you have any custom hosts? Try removing them and running it again. Mine was also not creating the file.

stevejenkins commented 7 years ago

What custom hosts were you using? Thanks.

stevejenkins commented 7 years ago

After further research, I believe this is a duplicate of #17. Closing this one and continuing discussion over there.