Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    19

    Default internal 'bcc' requirement

    Hi

    We're running cPanel with mailscanner / clamAV installed. We have a client who requires that any 'internal' email (where the sender and the recipient are on the same domain) be bcc'd to a general collection / auditing address.

    The rule would be something like this:

    Code:
    If (((sender == *@domain.com) and (recipient == *@domain.com)) and (recipient != collector@domain.com)) {
    
    forward-to collector@domain.com
    
    }
    This is just pseudo-code - I have no idea what language I would need to be writing it in, or where I would need to insert the rule - this is the info I need

    Any advice much appreciated.

    Thanks in advance,

    Shaun

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You can do this in MailScanner:

    You need to edit MailScanner.conf and search for

    Archive Mail =

    and change it to:

    Archive Mail = %rules-dir%/archive.rules

    Then go into the rules subdirectory and create a file called archive.rules and use the folloing format:

    Code:
    FromAndTo: *@customerdomain.com forward monitor@otherdomain.com
    Then stop and restart MailScanner. Be very aware of the legal implicationns of facilitating this in your country.
    Jonathan Michaelson

    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

  3. #3
    Member
    Join Date
    Aug 2003
    Posts
    19

    Default

    Thanks a lot for the info

    Seems to be working fine!

  4. #4
    Member myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    699
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    I pity the employees of this guy's site....
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    64

    Default

    current version uninstall mailscanner... How can i still do it ? ??

  6. #6
    Member
    Join Date
    Aug 2003
    Posts
    19

    Default

    Quote Originally Posted by myusername
    I pity the employees of this guy's site....
    Thanks for your concern, however the collection wasn't actually for employee monitoring - it was for a 'distributed notes' implementation, so that various directors of the company could collate their collective email conversations in one area without needing to configure a client-side BCC setup.

    The rule has since been refined to match only specific from: addresses.

Similar Threads & Tags
Similar threads

  1. cPanel minimum character requirement
    By the_pm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-21-2010, 02:18 PM
  2. vps license requirement
    By parisdns in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-29-2008, 12:48 PM
  3. Requirement: Suse = OpenSuse ?
    By bejbi in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-09-2006, 04:32 PM
  4. Server Requirement
    By sham123 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-20-2006, 08:54 AM
  5. Disabling the Envelope-from Requirement
    By Sheps in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-15-2005, 09:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube