The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remote SMTP setup

Discussion in 'E-mail Discussions' started by Silent Ninja, Mar 26, 2009.

  1. Silent Ninja

    Silent Ninja Well-Known Member

    Joined:
    Apr 18, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Buenos Aires, Argentina
    I'm trying to separate the SMTP and POP/IMAP functions from cPanel, but retaining the cPanel ability to create accounts, forwarders, domain forwarders, alias... and such.

    What are the files and directories that I must be aware of to migrate / copy to the other mailservers ? (excluding all the webmails)

    The ones I've come up with that are involved in mails are this:

    - /var/spool/exim/ (mail queue)

    (configuration folders)
    - /etc/exim/
    - /etc/mail/
    - /etc/vmail/
    - /etc/vfilters/
    - /etc/valiases/
    - /etc/vdomainaliases/

    (configuration files)
    - /etc/exim.*
    - /etc/localaliases
    - /etc/aliases
    - /etc/localdomains
    - /etc/remotedomains
    - /etc/relayhosts
    - /etc/relayhostsusers

    (for each USER in /var/cpanel/users)
    /home/USER/mail (mail files)
    /home/USER/etc (mail passwords)


    Is there something missing in here to get all the data for the emails and making it work separately from cpanel ?

    BTW: I'm thinking on rsync + nfs if you want to I may post the scripts or the setup that I'll use after I test that it works smootly and well. It may also help for cPanel 12 if it really comes up with remote mail services.
     
  2. Silent Ninja

    Silent Ninja Well-Known Member

    Joined:
    Apr 18, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Buenos Aires, Argentina
    I'm sure that they are some folders / files inside the cpanel structure that sets up my actual RBL blacklists, Exim ACL and such type of configuration that I would need to duplicate on the other servers.

    Does anybody know the route to this files ?
    I remember editting some of this files to add my own RBL blacklist.
     
Loading...

Share This Page