Go Back   Cloud Computing > Support > Tutorials and Documentation
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-22-11, 04:03
BOD Member
 
Join Date: Jan 2011
Posts: 182
Default Automatic BCC Out Going Emails

Hi!
How I can automatically BCC the out going emails to another email* address ?
Reply With Quote
  #2 (permalink)  
Old 09-22-11, 06:27
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

You need to edit the Exim Configuration , in order to set the mail server to forward the out going mails.

You can do it from WHM >> Exim Configuration Editor >> Advanced Editor >> Don’t make any changes, just click “save”. This creates file “/etc/exim.conf.local”.

You need to edit /etc/exim.conf.local and need to edit @CONFIG@ and @TRANSPORTSTART@ sections.

You can look for the following options in file /etc/exim.conf.local, edit the accordingly :

Quote:
@AUTH@
@BEGINACL@
@CONFIG@
system_filter_directory_transport = local_copy_outgoing

@DIRECTOREND@
@DIRECTORMIDDLE@
@DIRECTORSTART@
@ENDACL@
@RETRYEND@
@RETRYSTART@
@REWRITE@
@ROUTEREND@
@ROUTERSTART@
@TRANSPORTEND@
@TRANSPORTMIDDLE@
@TRANSPORTSTART@
local_copy_outgoing:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
group = cpaneleximfilter
user = cpaneleximfilter
mode = 0660
maildir_format = true
create_directory = true
Quote:
cp /etc/cpanel_exim_system_filter /etc/cpanel_exim_system_filter_custom
Edit /etc/exim.conf.localops and change the “systemfilter” option to match new file:
Quote:
systemfilter=/etc/cpanel_exim_system_filter_custom
open /etc/cpanel_exim_system_filter_custom and the following :

Quote:
if $header_from: contains "@senderdomain.com"
then
unseen deliver "other@emailaddress"
endif
Replace the email and domain with the actual email and domain.

To Apply these new settings to exim.conf and restart the service.

Quote:
/scripts/buildeximconf
service exim restart
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 00:12.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.