Hi,
I need to create for exim an Journal mailbox for all domain incoming outgoing emails for a domain
I followed this guide to setup custom filter
help.poralix.com
into
/usr/local/directadmin/custombuild/custom/exim
First try , not worked :
#Incoming To, CC, BCC
if ("$h_to:, $h_cc:, $h_bcc" contains "@example.com")
then
unseen deliver "[email protected]"
endif
#Outgoing From
if first_delivery
and $sender_address is "@example.com"
then
unseen deliver "[email protected]"
endif
Second try not worked:
archive_by_sender:
driver = appendfile
maildir_format
mode = 0600
mode_fail_narrower = false
envelope_to_add = true
return_path_add = true
create_directory
directory = /home/imydomain/dir
archive_by_recipient:
driver = appendfile
maildir_format
mode = 0600
mode_fail_narrower = false
envelope_to_add = true
return_path_add = true
create_directory
directory = /home/imydomain/dir
Hi
I found this
https://help.directadmin.com/item.php?id=390
and working if you add direct to /etc/system_filter.exim only and not if try use it
/usr/local/directadmin/custombuild/custom/exim
Any suggestion please ?
System OS: Centos 7
I need to create for exim an Journal mailbox for all domain incoming outgoing emails for a domain
I followed this guide to setup custom filter
system_filter.exim was overwritten
My system_filter.exim was overwritten after update, how to avoid it?
/usr/local/directadmin/custombuild/custom/exim
First try , not worked :
#Incoming To, CC, BCC
if ("$h_to:, $h_cc:, $h_bcc" contains "@example.com")
then
unseen deliver "[email protected]"
endif
#Outgoing From
if first_delivery
and $sender_address is "@example.com"
then
unseen deliver "[email protected]"
endif
Second try not worked:
archive_by_sender:
driver = appendfile
maildir_format
mode = 0600
mode_fail_narrower = false
envelope_to_add = true
return_path_add = true
create_directory
directory = /home/imydomain/dir
archive_by_recipient:
driver = appendfile
maildir_format
mode = 0600
mode_fail_narrower = false
envelope_to_add = true
return_path_add = true
create_directory
directory = /home/imydomain/dir
Hi
I found this
https://help.directadmin.com/item.php?id=390
and working if you add direct to /etc/system_filter.exim only and not if try use it
/usr/local/directadmin/custombuild/custom/exim
Any suggestion please ?
System OS: Centos 7
Last edited: