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.
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
> 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.*
@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
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