On 12/5/2012 11:22 PM, Pierre-Gilles RAYNAUD wrote:
> 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 [95.128.42.80])
>>>     by mail.domain.tld (Postfix) with ESMTP
>>>     for <i...@sdomain.tld>; Fri, 30 Nov 2012 00:56:49 +0100 (CET)
>>> Received: from PC-de-thib (2.147.3.109.rev.sfr.net [109.3.147.2])
>>>     by web-groupsolweb1.aquaray.com (Postfix) with SMTP id E4515974A2C
>>>     for <i...@domain.tld>; Tue, 27 Nov 2012 03:59:06 +0100 (CET)
>>>
>>> The contain of mail.log
>>>
>>> Nov 30 00:56:49 serv001 postfix/smtpd[21866]: warning: 95.128.42.80:
>>> address not listed for hostname web-groupsolweb1.aquaray.com
>>> Nov 30 00:56:49 serv001 postfix/smtpd[21866]: connect from
>>> unknown[95.128.42.80]
>>
>> 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
>> 95.128.42.80  REJECT listed in client blacklist
> Both have been done
> 
> /etc/postfix$ grep iglobe.be *
> client-blacklist:.iglobe.be REJECT 555 Spam not tolerated

Wow, that doesn't look anything like the example I supplied.

The domain form with a leading dot ".example.com" will only work if
you adjust the default setting of parent_domain_matches_subdomains.
I think most folks use the default setting and "example.com"; use
whichever you prefer.

Don't make up reject codes; the "555" you specify is not valid.
Just use "REJECT reason" and let postfix decide the proper code.

Use example.com instead of someone's name.



  -- Noel Jones

>  
> /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 [62.182.56.170])
>          by mail.domain.tld (Postfix) with ESMTP
>          for <u...@domain.tld>; 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 <u...@domain.tld>; Wed, 5 Dec 2012 12:51:39 +0100 (CET)
> Received: from 84.194.91.122 (localhost [127.0.0.1])
>         by pluto.be-housing.be (Postfix) with SMTP id 01744158023
>         for <u...@domain.tld>; Wed, 5 Dec 2012 12:51:36 +0100 (CET)
> 
> Any suggestions on what is going on my configuration?
> 
> Cheers
> --
> PGR
> 

Reply via email to