Re: emporarily block all messages from a particular IP

2015-01-20 Thread Nicolas KOWALSKI
On Tue, Jan 20, 2015 at 11:15:01AM -0600, Noel Jones wrote: > # main.cf > smtpd_client_restrictions = > check_client_access hash:/etc/postfix/client_blacklist > check_sender_access hash:/etc/postfix/sender_blacklist > ... any other restrictions ... > > > # client_blacklist > # list IP or cl

Re: Google rejecting IPv6 mails

2013-10-07 Thread Nicolas KOWALSKI
On Mon, Oct 07, 2013 at 07:36:48PM +0200, DTNX Postmaster wrote: > Make sure your ISP supports reverse DNS for IPv6, either by request or > by delegating it to you. If you cannot get this sorted yet, I would > recommend simply postponing IPv6 rollout for your MX for now, until > your ISP finally

Re: disable ipv6 when sending to gmail ?

2013-08-21 Thread Nicolas KOWALSKI
On Wed, Aug 21, 2013 at 09:15:46AM -0400, Wietse Venema wrote: > Nicolas KOWALSKI: > > On Wed, Aug 21, 2013 at 06:44:55AM -0400, Wietse Venema wrote: > > > Argh. You need to replace the 5.X.X. > > > > > > This pattern replaces both fives just to be sure. >

Re: disable ipv6 when sending to gmail ?

2013-08-21 Thread Nicolas KOWALSKI
On Wed, Aug 21, 2013 at 09:15:46AM -0400, Wietse Venema wrote: > Nicolas KOWALSKI: > > On Wed, Aug 21, 2013 at 06:44:55AM -0400, Wietse Venema wrote: > > > Argh. You need to replace the 5.X.X. > > > > > > This pattern replaces both fives just to be sure. >

Re: disable ipv6 when sending to gmail ?

2013-08-21 Thread Nicolas KOWALSKI
On Wed, Aug 21, 2013 at 06:44:55AM -0400, Wietse Venema wrote: > Argh. You need to replace the 5.X.X. > > This pattern replaces both fives just to be sure. > > /^5(\d\d )5(.*your:ipv6:addr:here.*)/ 4${1}4$2 I used this one ('-' instead of space): /^5(\d\d-)5(.*2a01:e35:8ae7:65f0::2.*)/

Re: disable ipv6 when sending to gmail ?

2013-08-21 Thread Nicolas KOWALSKI
On Tue, Aug 20, 2013 at 02:23:21PM -0400, Wietse Venema wrote: > Nicolas KOWALSKI: > > I am not able to have an IPv6 rDNS record with my ISP, only an IPv4 one. > > I guess this is why it works when using IPv4 (tested by forcing > > inet_protocols = ipv4), and does not wo

disable ipv6 when sending to gmail ?

2013-08-20 Thread Nicolas KOWALSKI
Hello, The gmail smtp server is now refusing mails from my system when IPv6 is used, as shown in the log below: Aug 20 06:25:08 petole postfix/smtp[27705]: Trusted TLS connection established to gmail-smtp-in.l.google.com[2a00:1450:400c:c03::1b]:25: TLSv1.2 with cipher ECDHE-RSA-RC4-SHA (128/12

Re: Accept and store locally any mail received

2013-03-05 Thread Nicolas KOWALSKI
On Mon, Mar 04, 2013 at 01:35:42PM -0600, Noel Jones wrote: > There's several ways to do this. I think the easiest is: > > # main.cf > header_checks = regexp:/etc/postfix/header_checks > > in your header_checks file: > /./ REDIRECT some...@example.com > > > where "someone" is a valid local us

Accept and store locally any mail received

2013-03-04 Thread Nicolas KOWALSKI
Hello, For a lab test, with several computers sending mail to any domain, I would like to setup a postfix server accepting and storing locally to only one account any mail received. It would be a sort of blackhole relay server, but with mail kept locally, no mail going out from it. Any idea on

Re: Whitelist a host using check_client_access before the rbl check?

2008-08-05 Thread Nicolas KOWALSKI
On Mon, Aug 04, 2008 at 02:40:54PM -0400, Brian Evans - Postfix List wrote: > Nicolas KOWALSKI wrote: >> On Mon, Aug 04, 2008 at 12:29:34PM -0400, Brian Evans - Postfix List wrote: >> >>>> A *better* way is force them to Authenticate using SASL. >>>> See

Re: Whitelist a host using check_client_access before the rbl check?

2008-08-04 Thread Nicolas KOWALSKI
On Mon, Aug 04, 2008 at 12:29:34PM -0400, Brian Evans - Postfix List wrote: > Brian Evans - Postfix List wrote: >> Nicolas KOWALSKI wrote: >>>> The client said 'EHLO demisel.dyndns.org'. >>>> This is the value that check_helo_access can find, tho

Re: Whitelist a host using check_client_access before the rbl check?

2008-08-04 Thread Nicolas KOWALSKI
On Mon, Aug 04, 2008 at 10:56:36AM -0400, Brian Evans - Postfix List wrote: > Nicolas KOWALSKI wrote: >> On Mon, Aug 04, 2008 at 08:58:01AM -0400, Charles Marcus wrote: >> >>> On 8/4/2008, Nicolas KOWALSKI ([EMAIL PROTECTED]) wrote: >>> >>>&g

Re: Whitelist a host using check_client_access before the rbl check?

2008-08-04 Thread Nicolas KOWALSKI
On Mon, Aug 04, 2008 at 08:58:01AM -0400, Charles Marcus wrote: > Let me give this one a try... I *think* i see the problem... > > On 8/4/2008, Nicolas KOWALSKI ([EMAIL PROTECTED]) wrote: >> Aug 4 14:17:18 petole postfix/smtpd[23545]: NOQUEUE: reject: RCPT >> from 225.96.

Whitelist a host using check_client_access before the rbl check?

2008-08-04 Thread Nicolas KOWALSKI
Hello, I would like to whitelist a specific host, because it is currently listed in the zen rbl, but I am unable to do so. Here is a sample log of the rejected host connecting to my postfix: Aug 4 14:17:17 petole postfix/smtpd[23545]: connect from 225.96.68-86.rev.gaoland.net[86.68.96.225] Au