Hi there,
I am hoping to have a blacklist file that stops postfix from accepting
email from specific IP or IP ranges.
I follow this tutorial and it does not working. I still receive email
from the IP addresses in the range:
http://www.linuxlasse.net/linux/howtos/Blacklist_and_Whitelist_wit
On 2016-05-14 19:37, Noah wrote:
Hi there,
I am hoping to have a blacklist file that stops postfix from accepting
email from specific IP or IP ranges.
I follow this tutorial and it does not working. I still receive email
from the IP addresses in the range:
http://www.linuxlasse.net/linux/ho
> On May 14, 2016, at 3:21 PM, Christian Kivalo
> wrote:
>
>> smtpd_recipient_restrictions =
>> ...
>> check_client_access
>> hash:/etc/postfix/client_checks,
>> ...
>> $ cat /etc/postfix/client_checks
>> ...
>> 138.185.116.0/24 REJECT
>
> This looks correct.
* Viktor Dukhovni :
>
> > On May 14, 2016, at 3:21 PM, Christian Kivalo
> > wrote:
> >
> >> smtpd_recipient_restrictions =
> >> ...
> >> check_client_access
> >> hash:/etc/postfix/client_checks,
> >> ...
> >> $ cat /etc/postfix/client_checks
> >> ...
> >> 138.185.116.0/
On 2016-05-14 21:27, Viktor Dukhovni wrote:
On May 14, 2016, at 3:21 PM, Christian Kivalo
wrote:
smtpd_recipient_restrictions =
...
check_client_access
hash:/etc/postfix/client_checks,
...
$ cat /etc/postfix/client_checks
...
138.185.116.0/24 REJECT
On Sat, 14 May 2016 10:37:26 -0700
Noah wrote:
> Hi there,
>
> I am hoping to have a blacklist file that stops postfix from
> accepting email from specific IP or IP ranges.
>
[snip]
Do you want to block these because of spam or some other reason?
If for spam, then it is better to use firewall
HI there,
NASA might have an open relay. I was getting spam from them.
At the moment i want to keep these rules in postfix instead of a long
firewall rule.
I am following the rules as see in cidr_table(5)
works well now.
I can see the rejects in the logs. Thanks for the responses.
Cheers,
On 05/14/2016 10:37 AM, Noah wrote:
Hi there,
I am hoping to have a blacklist file that stops postfix from accepting
email from specific IP or IP ranges.
I follow this tutorial and it does not working. I still receive email
from the IP addresses in the range:
http://www.linuxlasse.net/linux/h
Hi,
Yeah that is why I prefer postfix config have the IP block or specific
host. At least I have a clear log of the reject. If I have it in
iptables there will be a log but feel its clearer in postfix what the
intent was.
Cheers,
Noah
On 5/14/16 4:25 PM, Alice Wonder wrote:
On 05/14/20