Re: Stripping Received: headers

2016-10-28 Thread Den1
Noel Jones-2 wrote > On 10/27/2016 9:46 PM, Den1 wrote: >> Well, here it goes. My postconf -n looks like this: > > I can't see any obvious reason why your header_checks aren't working > as expected. Keep in mind that postfix can't remove headers that > don't exist yet. > > > -- Noel Jones Th

Re: after-queue filter issue

2016-10-28 Thread Noel Jones
On 10/28/2016 3:49 PM, D'Arcy Cain wrote: > I have a Postfix server that has to receive messages with special X- > headers that I use to update a database before sending the message > on. I store the message ID, current timestamp and details taken from > the X- headers for later processing. Later

Re: after-queue filter issue

2016-10-28 Thread Viktor Dukhovni
On Fri, Oct 28, 2016 at 04:49:12PM -0400, D'Arcy Cain wrote: > So, my question, which I am afraid I already know the answer to, is can I > examine the content of each message without interfering with the regular > processing of the message. I know that I can set up two Postfix servers but > that

after-queue filter issue

2016-10-28 Thread D'Arcy Cain
I have a Postfix server that has to receive messages with special X- headers that I use to update a database before sending the message on. I store the message ID, current timestamp and details taken from the X- headers for later processing. Later I scan the logs so that I can update the datab

Re: Restricting mail relaying

2016-10-28 Thread Mohamed Lrhazi
Thanks a lot! On Fri, Oct 28, 2016 at 9:29 AM Noel Jones wrote: > On 10/27/2016 10:17 PM, Mohamed Lrhazi wrote: > > Been a long time since I used Postfix, sorry for this basic question. > > > > I have a Postfix server used internally by servers in the network to > > send out mail. Itself relays

Re: Stripping Received: headers

2016-10-28 Thread Noel Jones
On 10/27/2016 9:46 PM, Den1 wrote: > Well, here it goes. My postconf -n looks like this: I can't see any obvious reason why your header_checks aren't working as expected. Keep in mind that postfix can't remove headers that don't exist yet. -- Noel Jones > > alias_maps = hash:/etc/aliases >

Re: Restricting mail relaying

2016-10-28 Thread Noel Jones
On 10/27/2016 10:17 PM, Mohamed Lrhazi wrote: > Been a long time since I used Postfix, sorry for this basic question. > > I have a Postfix server used internally by servers in the network to > send out mail. Itself relays all mail to an upstream server. > > How can I reject mail from given client