ConfigServer Services HelpDesk
Server Management Services from Way to The Web Ltd
ConfigServer Home Page

Temporary Closure

We are taking a short break and will close the store, helpdesk and email from 17:00 GMT on Tuesday, 16h April to 09:00 Thursday, 25th April 2024.

If you purchase a license or Service Package before the closing date and require installation, please be sure to leave at least 24-48 hours before then for the work to be done. Otherwise, any work will be scheduled for after this period. We will reopen on Thursday, 25th April 2024.


I want to send a blind copy of every mail sent to or from a particular account to another account. I want to archive all mail sent to a certain domain. How do I do this?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
You can do this with the "Archive Mail" feature in MailScanner.

1. Create a rules file in /usr/mailscanner/etc/rules. Call it, for example, archive.rules

2. In that file, add a line like the following examples for each domain/address that you want to copy all mails for:

# If you want to copy all mail going into a 
# particular domain to a specific mailbox 
To: *@domain1.com  someone@somewhereelse.com
# If you want to copy all mail to or from a certain 
# account to another mailbox
ToOrFrom: bob@domain2.com    bobs.boss@domain2.com
Adjust as needed to accomplish what you want. There is no need to include a default line.

3. In WHM - ConfigServer MailScanner FE - MailScanner Configuration, search for "Archive Mail =". Enter the following value:

%rules-dir%/archive.rules 
(or whatever you called your rules file)

Click Change to save the changes and restart MailScanner.

Note: You should ensure that you are familiar with and comply with your country's privacy laws before setting up mail archiving.

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© ConfigServer Services