Re: header_checks help, please

2018-10-07 Thread Janos Dohanics
On Sun, 7 Oct 2018 16:19:32 -0500 Noel Jones wrote: > On 10/7/2018 3:57 PM, Dominic Raferd wrote: > > On Sun, 7 Oct 2018 at 21:37, Janos Dohanics > > wrote: > > > > I have been trying to edit the Subject: line using > > header_checks, without success: > > > >

Re: about mysql query and input keys

2018-10-07 Thread Phil Stracchino
On 10/7/18 7:45 PM, Manuel Mely wrote: > Hi there, > > I'm designing a mail system with virtual domains and have the following > requirement: > > A virtual domain is able to send/receive mails to/from the Internet or > to/from custom "external domains". >   > For that i'm using a MySQL table call

about mysql query and input keys

2018-10-07 Thread Manuel Mely
Hi there, I'm designing a mail system with virtual domains and have the following requirement: A virtual domain is able to send/receive mails to/from the Internet or to/from custom "external domains". For that i'm using a MySQL table called "domain_external_domain_association" which connects my

Re: header_checks help, please

2018-10-07 Thread Noel Jones
On 10/7/2018 3:57 PM, Dominic Raferd wrote: > On Sun, 7 Oct 2018 at 21:37, Janos Dohanics > wrote: > > I have been trying to edit the Subject: line using header_checks, > without success: > > header_checks.pcre: > > if /^From: (.*)<(.+)mydomain\.com\>

Re: header_checks help, please

2018-10-07 Thread Dominic Raferd
On Sun, 7 Oct 2018 at 21:37, Janos Dohanics wrote: > I have been trying to edit the Subject: line using header_checks, > without success: > > header_checks.pcre: > > if /^From: (.*)<(.+)mydomain\.com\>$/i > /^Subject: (.*)$/i > REPLACE Subject: some_string $1 > endif > > main.cf: > > header_c

header_checks help, please

2018-10-07 Thread Janos Dohanics
Hello, I have been trying to edit the Subject: line using header_checks, without success: header_checks.pcre: if /^From: (.*)<(.+)mydomain\.com\>$/i /^Subject: (.*)$/i REPLACE Subject: some_string $1 endif main.cf: header_checks = pcre:/usr/local/etc/postfix/header_checks.pcre Would you p