On 12/1/2012 11:11 AM, Pierre-Gilles RAYNAUD 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


After you edit main.cf, execute "postfix reload"
after editing client_blacklist, execute "postmap hash: client_blacklist"

http://www.postfix.org/documentation.html
http://www.postfix.org/SMTPD_ACCESS_README.html

If you need more help,
http://www.postfix.org/DEBUG_README.html#mail


  -- Noel Jones


> Nov 30 00:56:49 serv001 postfix/smtpd[21866]: NOQUEUE:
> client=unknown[95.128.42.80]
> Nov 30 00:56:49 serv001 postfix/smtpd[21871]: connect from
> localhost[127.0.0.1]
> Nov 30 00:56:49 serv001 postfix/smtpd[21871]: D77123A40A:
> client=unknown[95.128.42.80]
> Nov 30 00:56:49 serv001 spampd[20245]: processing message
> <20121126163609.36B3A25F71E@PC-de-thib> for <i...@domain.tld>
> ORCPT=rfc822;i...@domain.tld
> Nov 30 00:56:52 serv001 spampd[20245]: clean message
> <20121126163609.36B3A25F71E@PC-de-thib> (-0.27/5.00) from
> <mail...@formations-infopromotions.com> for <i...@domain.tld>
> ORCPT=rfc822;i...@domain.tld in 2.26s, 32069 bytes.
> Nov 30 00:56:52 serv001 postfix/cleanup[21872]: D77123A40A:
> message-id=<20121126163609.36B3A25F71E@PC-de-thib>
> Nov 30 00:56:52 serv001 opendkim[1128]: D77123A40A no signing table
> match for `semina...@mailing-infoexpo.com'
> Nov 30 00:56:52 serv001 opendkim[1128]: D77123A40A: no signature data
> Nov 30 00:56:52 serv001 postfix/qmgr[22689]: D77123A40A:
> from=<mail...@formations-infopromotions.com>, size=32487, nrcpt=1 (queue
> active)
> Nov 30 00:56:52 serv001 postfix/smtpd[21866]: proxy-accept:
> END-OF-MESSAGE: 250 2.0.0 Ok: queued as D77123A40A;
> from=<mail...@formations-infopromotions.com> to=<i...@domain.tld>
> proto=ESMTP helo=<web-groupsolweb1.aquaray.com>
> Nov 30 00:56:52 serv001 postfix/smtpd[21871]: disconnect from
> localhost[127.0.0.1]
> Nov 30 00:56:52 serv001 postfix/smtpd[21866]: disconnect from
> unknown[95.128.42.80]
> 
> 
> #postconf -d mail_version
> mail_version = 2.7.1
> 
> Cheers
> --
> PGR
> 

Reply via email to