Automatically sending a copy to another email

Lyttek

Well-Known Member
Jan 2, 2004
775
5
168
I think we're missing the (misworded) point of the original post.

An email is sent from [email protected] to [email protected]

We want a copy of that email sent to [email protected] and [email protected]

This, as you'll note, can't be achieved by using forwarders, because that's on Incoming email, not Outgoing.

An easy way to manage this is to install MailScanner, which you can setup to deliver all incoming and outgoing mail (or either) to a third party... based on an address or a whole domain... just one of the many functions it provides.
 

Spokuz

Well-Known Member
PartnerNOC
Apr 24, 2003
119
0
166
Lisbon - Portugal
cPanel Access Level
Root Administrator
Twitter
I think we're missing the (misworded) point of the original post.

An email is sent from [email protected] to [email protected]

We want a copy of that email sent to [email protected] and [email protected]

This, as you'll note, can't be achieved by using forwarders, because that's on Incoming email, not Outgoing.

An easy way to manage this is to install MailScanner, which you can setup to deliver all incoming and outgoing mail (or either) to a third party... based on an address or a whole domain... just one of the many functions it provides.
I have MailScanner instaled, but I have failed to find that option:( Does it need to be installed, like an addon?
 

Lyttek

Well-Known Member
Jan 2, 2004
775
5
168
It's a two-step process.

First, you configure MailScanner using the 'archive mail=' setting, which is '%rules-dir%/archive.rules' by default.

Then, modify that file (archive.rules) to archive a whole domain, a single address, and whether it's incoming, outgoing or both:

For instance:

FromOrTo: *@domain-to-be-archived.com forward [email protected]

This sends incoming and outgoing mail from any account @domain-to-be-archived.com to the address [email protected]