#1 (permalink)  
Old 06-07-2005, 10:44 AM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
outgoing mails copy

I have a strange requirement come to me from few customers who are moving from plesk to cpanel. It seems in plesk there is a feature to forward a copy of all outgoing mails send through SMTP/webmail to an email id which can be defined by the user itself. This allows administrators in companies to check what mail traffic is being using the company domain.

I understand using exim filters something like this can be achieved, is there someone who has done something like this ? I tried searching in the forums however none of the posts seemed to have any satisfying replies/ solution.

Any help would be appreciated.
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-07-2005, 12:58 PM
Registered User
 
Join Date: Oct 2003
Posts: 327
Aric1 is on a distinguished road
MailScanner can do that. Add MailWatch and the mail doesn't need to be forwarded, you can check it on-line via a browser. Chirpy has the MailScanner frontend for CPANEL that includes a WHM backend that can integrate MailWatch.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-07-2005, 02:19 PM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
Quote:
Originally Posted by Aric1
MailScanner can do that. Add MailWatch and the mail doesn't need to be forwarded, you can check it on-line via a browser. Chirpy has the MailScanner frontend for CPANEL that includes a WHM backend that can integrate MailWatch.
Thx for the reply however i am looking at a solution which doesn't include mailscanner.
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-09-2005, 08:39 AM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
anyone with solution to this ?
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-09-2005, 09:29 AM
Registered User
 
Join Date: Jan 2005
Posts: 1,874
webignition is on a distinguished road
A bit of a vague suggestion . . .

If Plesk uses Exim, one would hope that the setting chosen through Plesk's interface changes something in the Exim configuration. If so, you could do the same, which would of course require a good look through the Exim documentation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-09-2005, 09:44 AM
NT NT is offline
Registered User
 
Join Date: May 2004
Location: England, UK
Posts: 136
NT is on a distinguished road
As far as I know, Plesk uses qmail.
__________________
Nick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-09-2005, 09:58 AM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
Quote:
Originally Posted by Vorx
As far as I know, Plesk uses qmail.
Yup thats what i thought.
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-09-2005, 10:20 AM
dgbaker's Avatar
Moderator
Advanced cPanel/WHM User
 
Join Date: Sep 2002
Location: Toronto, Ontario Canada
Posts: 2,768
dgbaker is on a distinguished road
You might be able to use something like the follow I found.

In exim.conf in system_filter.
Code:
if
 $sender_host_authenticated is not "" and $authenticated_id is not ""
then
 unseen deliver ${quote:$authenticated_id}+Sent@xxxxxxxxxxxxxxxxx
endif
That said, chirpy would be a good one to ask.
__________________
Regards,
David
Forum Moderator

Alternate Support? http://www.cpanelhosts.com
Looking for a server? http://www.myvirtualhosting.com
Get Dedicated in Toronto at MVH.
We are a licensed cPanel PartnerNoc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 06-09-2005, 11:39 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
I would imagine that it would indeed be the system filter that you would have to use some kind of coding , the main trick is ensuring that it is outgoing email that you are parsing and not incoming email. I would think that's what the condition statements are doing.

Have a play with what dgbaker posted, culd well work
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 06-09-2005, 12:20 PM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
Thx guys, i will check it out.
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 09-26-2005, 09:02 AM
anton_latvia's Avatar
Registered User
 
Join Date: May 2004
Posts: 216
anton_latvia is on a distinguished road
anand, did you manage to make it work? For some interesting reason I also have this request from one of our dedicated server owners.
__________________
* http://www.aleksandrov.eu/ - just a simple personal homepage.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 09-26-2005, 02:02 PM
Ali Ali is offline
Registered User
 
Join Date: Jul 2003
Posts: 52
Ali
Suprising as it is we have received similar requests too, customers wishing to keep a copy of Incoming and Outgoing emails exchanged via their business domains by banking/filing the mails on a specific email account.
__________________
Best Regards,

Ali
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 09-27-2005, 05:53 AM
Registered User
 
Join Date: Nov 2002
Posts: 1,752
anand is on a distinguished road
Quote:
Originally Posted by anton_latvia
anand, did you manage to make it work? For some interesting reason I also have this request from one of our dedicated server owners.
Due to some other work in hand, i had to leave this problem in as it is condition. Do post if you guys find something on this. As dgbaker and chirpy said, system filters would be the solution for the same.
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 09-27-2005, 07:53 PM
Registered User
 
Join Date: Apr 2003
Posts: 30
AQHost
Had a request for this too, and did it successfully with a filter in /etc/antivirus.exim

Code:
if $sender_address is monitored@address.com
then
 unseen deliver monitoring@address.com
endif
That will forward a copy of any mail sent by monitored@address.com to the monitoring@address.com mailbox. Copying the incoming mail is done easily with a standard forwarder.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 09-28-2005, 04:40 AM
Zaf Zaf is offline
Registered User
 
Join Date: Aug 2005
Posts: 115
Zaf is on a distinguished road
Quote:
Originally Posted by AQHost
Had a request for this too, and did it successfully with a filter in /etc/antivirus.exim

Code:
if $sender_address is monitored@address.com
then
 unseen deliver monitoring@address.com
endif
That will forward a copy of any mail sent by monitored@address.com to the monitoring@address.com mailbox. Copying the incoming mail is done easily with a standard forwarder.
I believe that would only work for one email id only...could we do it for all mail ids for a domain or all domains even?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc