Re: DNS lookups in check_policy_service configuretion line.

2018-09-27 Thread Christian Ejlertsen
On Wed, 2018-09-26 at 13:46 -0400, Wietse Venema wrote: > Christian Ejlertsen: > > Postfix version 2.10.1 > > > > I'm adding a check_policy_service for some quota checking, with the > > following arguments > > > > check_policy_service inet:imap01.example.com:12340 > > > > If i configure the line

rejecting mail on Envelope RCPT != to a header recipient

2018-09-27 Thread Calvin Browne
Hi all, for certain envelope recipients, I'd like to subsequently go on to check if we have any matching Recipient headers (TO: CC: etc) and reject the email if none exist (preferably before the sending MTA completes the transaction). I understand that this needs to be done after the DATA p

Re: rejecting mail on Envelope RCPT != to a header recipient

2018-09-27 Thread Wietse Venema
Calvin Browne: > Hi all, > > > for certain envelope recipients, I'd like to subsequently go on to check > if we have any matching Recipient headers (TO: CC: etc) and reject the > email if none exist (preferably before the sending MTA completes the > transaction). > > I understand that this ne

Re: rejecting mail on Envelope RCPT != to a header recipient

2018-09-27 Thread Viktor Dukhovni
> On Sep 27, 2018, at 4:29 AM, Calvin Browne wrote: > > I understand that this needs to be done after the DATA phase - so using a > before queue filter? > > The docs seem to indicate that I wont have access to the To: stuff at that > stage - is that true? The Postfix access(5) machinery does

Re: Postfix 3.1 -> Postfix 3.3

2018-09-27 Thread Gary Chambers
Wietse, All of these services are tunning with chroot ENABLED. Check your $queue_directory/etc/resolv.conf file again. smtp inet n - y - - smtpd pickup unix n - y 60 1 pickup cleanupunix n - y -

Re: Postfix 3.1 -> Postfix 3.3

2018-09-27 Thread Wietse Venema
Gary Chambers: > -Queue ID- --Size-- Arrival Time -Sender/Recipient--- > 77E39131AF 2895 Thu Sep 27 11:42:12 me@cuddy.localdomain > (host smtp.example.com[00.000.00.000] said: 450 4.1.8 : > Sender address rejected: Domain not found (in reply to RCPT TO command)) >

Re: Postfix 3.1 -> Postfix 3.3

2018-09-27 Thread Gary Chambers
Wietse, Gary Chambers: -Queue ID- --Size-- Arrival Time -Sender/Recipient--- 77E39131AF 2895 Thu Sep 27 11:42:12 me@cuddy.localdomain (host smtp.example.com[00.000.00.000] said: 450 4.1.8 : Sender address rejected: Domain not found (in reply to RCPT TO command))

Re: Postfix 3.1 -> Postfix 3.3

2018-09-27 Thread Viktor Dukhovni
> On Sep 27, 2018, at 11:58 AM, Gary Chambers wrote: > > > -Queue ID- --Size-- Arrival Time -Sender/Recipient--- > 77E39131AF 2895 Thu Sep 27 11:42:12 me@cuddy.localdomain > (host smtp.example.com[00.000.00.000] said: 450 4.1.8 : > Sender address rejected: Domain not found (

Re: Postfix 3.1 -> Postfix 3.3

2018-09-27 Thread Viktor Dukhovni
> On Sep 27, 2018, at 12:54 PM, Viktor Dukhovni > wrote: > >> >> -Queue ID- --Size-- Arrival Time -Sender/Recipient--- >> 77E39131AF 2895 Thu Sep 27 11:42:12 me@cuddy.localdomain >> (host smtp.example.com[00.000.00.000] said: 450 4.1.8 : >> Sender address rejected: Domain n

Re: Postfix 3.1 -> Postfix 3.3

2018-09-27 Thread Gary Chambers
Viktor, -Queue ID- --Size-- Arrival Time -Sender/Recipient--- 77E39131AF 2895 Thu Sep 27 11:42:12 me@cuddy.localdomain (host smtp.example.com[00.000.00.000] said: 450 4.1.8 : Sender address rejected: Domain not found (in reply to RCPT TO command))

Re: Postfix 3.1 -> Postfix 3.3

2018-09-27 Thread Viktor Dukhovni
> On Sep 27, 2018, at 1:24 PM, Gary Chambers wrote: > > Viktor, > >>> -Queue ID- --Size-- Arrival Time -Sender/Recipient--- >>> 77E39131AF 2895 Thu Sep 27 11:42:12 me@cuddy.localdomain >>> (host smtp.example.com[00.000.00.000] said: 450 4.1.8 >>> : >>> Sender address reject