LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-01-2012, 02:11 PM   #1
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Rep: Reputation: 0
Auto Bcc in Exim


Hello,

I've set Auto Bcc in my exim configuration in below file.

vi /etc/cpanel_exim_system_filter


if first_delivery
and ("$h_from:" contains "sender-user@domain.com")
and not ("$h_X-Spam-Checker-Version:" begins "SpamAssassin")
then
unseen deliver "should-receive-on@domain.com"
endif

Whenever any changes done from cPanel's exim configuration, above entry gets vanished,

do anybody have any solution on same so that above entry does not gets vanished. or any other solution for auto bcc,
 
Old 09-04-2012, 04:07 AM   #2
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Original Poster
Rep: Reputation: 0
Received below from one of the forum,

It worked for me, check for your reference.

1. To create a blind carbon copy, go to /etc/ and create a new file:

Code:
cp cpanel_exim_system_filter cpanel_exim_system_filter2

2. Add the following at the bottom of the new file (/etc/cpanel_exim_system_filter2):

Code:

if ("$h_to:, $h_cc:, $h_bcc" contains "domain.com")
then
unseen deliver "dd@com.pl"
endif

if $sender_address: contains "domain.com"
then
unseen deliver "dd@com.pl"
endif
Now, go to WHM > Exim Configuration Editor and change the system filter to the new path (/etc/cpanel_exim_system_filter2).

Above, please replace domain.com with the domain name you want to have all emails incoming and outgoing sent to the blind carbon copied address. Please ensure the receiving address for the incoming and outgoing emails is not on the same domain as those you are using for the forwarding, since you might end up creating some type of loop otherwise
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Exim: Is there away to block command when someone telnets to exim's port? abefroman Linux - Software 1 09-26-2010 08:47 AM
exim question (for exim gurus) graziano1968 Linux - General 6 02-06-2009 03:04 AM
Etch + exim4 + sa-exim: sa-exim is not loading Thalagyrt Debian 0 04-18-2007 10:12 AM
exim is failed !!! error:package exim is not installed apache Linux - Software 0 06-24-2004 05:55 AM
postfix + procmail + BCc: not recieving BCc sebastianjustin Linux - Networking 0 08-26-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration