Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    May 2002
    Posts
    6

    Default How to configure CPanel to copy all incoming and outcoming mail to an email account

    Dear all, kindly enlighten me how I can configure CPanel to copy all incoming and outcoming mail to an email account.

    Cheers,
    Beng Yeow

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Apr 2003
    Posts
    55

    Default

    I would also like to know how to do this

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    May 2002
    Posts
    6

    Default can anyone help?

    help please? any advise would be appreciated.

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    May 2002
    Posts
    6

    Default

    can't anyone help please.... need enlightenment.... kindly assist please

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    Here's how I did it for exim4:

    I placed a router ahead of the dnslookup router

    copy_outgoing_remote:
    driver = dnslookup
    domains = ! +local_domains
    condition = /var/spool/mail/archive/${sender_address_local_part}
    transport = copy_outgoing
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
    unseen

    Here is my tansport:

    copy_outgoing:
    driver = appendfile
    maildir_format
    directory = /var/spool/mail/archive/${sender_address_local_part}/sent
    user = mail
    group = mail
    mode = 0600

    The same idea applies for making copies of incoming emails as well. The
    unseen option tells exim instead of stopping at that particular router
    that makes the copy, to go ahead and continue on to the next router
    which should be the router that actually delivers the message into the
    appropriate mailbox/maildir.

    Melissa
    http://groups.yahoo.com/group/exim-users/message/52973
    Easier to link/quote then explain it myself. Also be sure to use the batch_max = 1 variable as well to avoid multiple copies of the same email--as multiple recipients yields multiple copies with that option.

    Also, next time don't be so lazy. Exim has great documentation, you could have easily figured this out on your own.

    cPanel.net Support Ticket Number:

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  6. #6
    Member
    Join Date
    May 2002
    Posts
    6

    Default

    What if I only want to configure for that particular domain which is a CPanel Account in the server.

    Where's the configuration file to edit?

    cPanel.net Support Ticket Number:

  7. #7
    Member
    Join Date
    Apr 2002
    Posts
    16

    Default

    Here is what I did, and it seem to work fine:

    - go to directory /etc/valiases
    - open file according to domain in focus
    - enter following:

    *: username,mailaddress_that_gets_copy

    - replace username with actual username and mail address with actual mail address

    cPanel.net Support Ticket Number:

  8. #8
    Member
    Join Date
    Jun 2002
    Posts
    198

    Default

    How do I activate the maildir_format ???

    When I try the code, I get the following error :
    ------------------------------------------------------
    2003-08-22 14:55:00 Exim configuration error in line 818:
    option "maildir_format" unknown
    Exim version 4.20 #1 built 16-Aug-2003 13:16:15
    Copyright (c) University of Cambridge 2003
    Berkeley DB: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
    Support for: PAM Perl OpenSSL
    Authenticators: cram_md5 plaintext spa
    Routers: accept dnslookup ipliteral manualroute queryprogram redirect
    Transports: appendfile autoreply pipe smtp
    Configuration file has an invalid syntax. Please try again.

    cPanel.net Support Ticket Number:
    The Root, The Root, The Root is on FIRE !!!

  9. #9
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Originally posted by ciphervendor
    Easier to link/quote then explain it myself. Also be sure to use the batch_max = 1 variable as well to avoid multiple copies of the same email--as multiple recipients yields multiple copies with that option.

    Also, next time don't be so lazy. Exim has great documentation, you could have easily figured this out on your own.

    cPanel.net Support Ticket Number:
    This option will make copies for all mails rite ?? Can you please suggest something where i can duplicate mails for one email id ?? Can the code posted by you be modified to do the same ??

    cPanel.net Support Ticket Number:
    :: Anand ::

    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

Similar Threads & Tags
Similar threads

  1. Incoming/Outgoing email copy
    By crazyaboutlinux in forum E-mail Discussions
    Replies: 15
    Last Post: 09-12-2010, 06:59 AM
  2. Copy all incoming email
    By rushman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-01-2007, 06:08 AM
  3. Forwarding A Copy of Incoming Mail to Another Account
    By ee99ee in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-18-2005, 05:09 PM
  4. eMail Piping to perl script PLUS copy to specific pop account (via cPanel)
    By cards4success in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-02-2004, 05:41 AM
  5. copy ensim account email over to cpanel on local disk
    By toxit in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-08-2003, 05:40 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube