Re: BBC mapping

2017-02-10 Thread @lbutlr
On Feb 9, 2017, at 11:35 AM, Noel Jones wrote: > I think you'll have to nest more if..endif statements Oh. right. Of course. Brain Cloud is strong today. -- Apple broke AppleScripting signatures in Mail.app, so no random signatures.

Re: BBC mapping

2017-02-09 Thread Noel Jones
On 2/9/2017 11:47 AM, @lbutlr wrote: > >> On Feb 7, 2017, at 5:10 PM, Wietse Venema wrote: >> >> @lbutlr: >>> if !/backup.*@/ >>> /^([^+_]*).*@(.*)/ backup+${1}.${2}@domain.tld >>> endif >>> >>> […] >>> >>> However, I would like to exclude a specific domain from this backup = >>> including all

Re: BBC mapping

2017-02-09 Thread @lbutlr
> On Feb 7, 2017, at 5:10 PM, Wietse Venema wrote: > > @lbutlr: >> if !/backup.*@/ >> /^([^+_]*).*@(.*)/ backup+${1}.${2}@domain.tld >> endif >> >> […] >> >> However, I would like to exclude a specific domain from this backup = >> including all mail TO and FROM the domain. > > if !/backup.*

Re: BBC mapping

2017-02-07 Thread Wietse Venema
@lbutlr: > if !/backup.*@/ > /^([^+_]*).*@(.*)/ backup+${1}.${2}@domain.tld > endif > > I currently have the above in recipient_bbc > > /etc/postfix/main.cf: > > recipient_bcc_maps =3D pcre:$config_directory/recipient_bcc.pcre > > And this works perfectly and stores a copy of all email (sent

BBC mapping

2017-02-07 Thread @lbutlr
if !/backup.*@/ /^([^+_]*).*@(.*)/ backup+${1}.${2}@domain.tld endif I currently have the above in recipient_bbc /etc/postfix/main.cf: recipient_bcc_maps = pcre:$config_directory/recipient_bcc.pcre And this works perfectly and stores a copy of all email (sent and received) in a backup accoun