Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Remote SMTP setup

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

  1. Silent Ninja

    Silent Ninja Well-Known Member

    Joined:
    Apr 18, 2006
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Silent Ninja

    Silent Ninja Well-Known Member

    Joined:
    Apr 18, 2006
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice