Le 06/12/2012 06:22, Pierre-Gilles RAYNAUD a écrit :
> Hi Everyone,
> On 01/12/12 18:19, Noel Jones wrote:
>> On 12/1/2012 11:11 AM, PGR wrote:
>>> Hi Everyone,
>>> I would like to know how to stop/forbid this server to send us their emails
>>> The content of received email is
>>> Received: from web-groupsolweb1.aquaray.com (unknown [126.96.36.199])
>>> by mail.domain.tld (Postfix) with ESMTP
>>> for <info@...>; Fri, 30 Nov 2012 00:56:49 +0100 (CET)
>>> Received: from PC-de-thib (188.8.131.52.rev.sfr.net [184.108.40.206])
>>> by web-groupsolweb1.aquaray.com (Postfix) with SMTP id E4515974A2C
>>> for <info@...>; Tue, 27 Nov 2012 03:59:06 +0100 (CET)
>>> The contain of mail.log
>>> Nov 30 00:56:49 serv001 postfix/smtpd: warning: 220.127.116.11:
>>> address not listed for hostname web-groupsolweb1.aquaray.com
>>> Nov 30 00:56:49 serv001 postfix/smtpd: connect from
>> Add a check_client_access map to reject them. Something like:
>> # main.cf
>> smtpd_client_restrictions =
>> check_client_access hash:/etc/postfix/client_blacklist
>> # client_blacklist
>> 18.104.22.168 REJECT listed in client blacklist
> Both have been done
> /etc/postfix$ grep iglobe.be *
> client-blacklist:.iglobe.be REJECT 555 Spam not tolerated
vy default, parent_domain_matches_subdomains contains
"smtpd_access_maps". this implies that you should use "iglobe.be"
without a dot.
my recommendation is: use two entries, one with a leadin dot and one
.iglobe.be REJECT ....
iglobe.be REJECT ...
This way, the domain is blocked whatever the value of
note that this check depends on DNS. you can add checks based on the IP
and in that file:
#reject 22.214.171.124 - 126.96.36.199
188.8.131.52/28 REJECT ...
# this doesn't include the IPs 184.108.40.206 - 220.127.116.11
# but that makes many "cidr blocks".
# if you feel a little angry, extend the block up to 18.104.22.168.
#22.214.171.124/27 REJECT ....
# if you are very angry, just block the /24.
> /etc/postfix$ grep client-blacklist *
> main.cf:smtpd_client_restrictions = permit_mynetworks,
> check_client_access hash:/etc/postfix/client-blacklist,
> reject_rbl_client dnsbl.sorbs.net, reject_rbl_client bl.spamcop.net,
> reject_rbl_client zen.spamhaus.org,reject_unknown_reverse_client_hostname
> and I'm still getting unwanted email (from iglobe.be in this example)
> Received: from paganini.iglobe.be (diegem.iglobe.be [126.96.36.199])
> by mail.domain.tld (Postfix) with ESMTP
> for <user@...>; Wed, 5 Dec 2012 12:51:37 +0100 (CET)
> Received: from pluto.be-housing.be (unknown [192.168.137.94])
> by paganini.iglobe.be (Postfix) with ESMTP id 69C6688B77
> for <user@...>; Wed, 5 Dec 2012 12:51:39 +0100 (CET)
> Received: from 188.8.131.52 (localhost [127.0.0.1])
> by pluto.be-housing.be (Postfix) with SMTP id 01744158023
> for <user@...>; Wed, 5 Dec 2012 12:51:36 +0100 (CET)
> Any suggestions on what is going on my configuration?