How do I catch all incoming and outgoing email in Exim4

How do I catch all incoming and outgoing email in Exim4

Kindly edit configuration at /etc/exim4/exim4.conf.template. You can use nano editor in linux

nano /etc/exim4/exim4.conf.template

After that add this code in the configuration

#Catch All Incoming Email
system_filter = /etc/exim4/exim4.filter
system_filter_user = admin
system_filter_group = admin

After that edit /etc/exim4/exim4.filter and add

unseen deliver incoming@web-berjaya.com

You are done. Now all incoming & outgoing email will be sent to incoming@web-berjaya.com ( Kindly replace with your email account )

Tinggalkan Komen