Copy customer email to external mail archive
Some of my customers would like to connect their email to an external mailarchiver (i.e. Mailarchiva or Mailpiler on a separate box). Although I did find some partial examples, I don't have a final way of connecting them correctly in a "cPanel" way.
Is there anyone who can help me compile an exim config which:
- copies INcoming emails for a specific domain to a secondary SMTP server (not a CC to a secondary emailadress)
- copies OUTgoing emails from a specific domain to a secondary SMTP server (not a CC to a secondary emailadress)
- each config should preferably be customer specific (not in the main exim config)
- each config should survive updates and so on
Thanks for helping out!
-
Hello, There's no native feature for this functionality in cPanel, outside of setting up custom Exim rules. Here's a thread you may find helpful: Hidden copies of incoming and outgoing emails If you need help with this type of custom setup, you can find a list of companies offering system administration services at: System Administration Services | cPanel Forums Note that you may find the Archive feature useful as an alternative to custom Exim rules: Archive - Documentation - cPanel Documentation You could setup archiving, and then create a custom bash script that copies the archived mail to a remote server via a cron job. Thank you. 0 -
Hi Michael, Your documentation shows how to carbon copy to a different emailaddress. Not a copy to a secondary SMTP. I'm unable to find a configuration example for a filter which forwards to a smarthost after a match. smarthost: driver = manualroute domains = abc.com transport = remote_smtp route_data = "ip.of.email.archiver" unseen How could I combine those? 0 -
Hello, The only supported feature for saving outgoing messages is the "Archive" option in cPanel: Archive - Documentation - cPanel Documentation There are no native features in cPanel/WHM that will allow you setup an additional delivery for each outgoing message to a remote mail server. The Exim users mailing list is a helpful resource if you require help setting up custom Exim routing rules like this: Exim-users Thank you. 0
Please sign in to leave a comment.
Comments
3 comments