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.

Email Forwarding

Discussion in 'E-mail Discussions' started by rtoews, Sep 13, 2006.

  1. rtoews

    rtoews Registered

    Sep 13, 2006
    Likes Received:
    Trophy Points:
    I'm looking for a way to set up email forwarding for a large number of user ID's (well over 2,000). The list of ID's is not only too large for manual entry into cPanel to be practical; it is growing, so that manual entry would require human intervention whenever another ID is added. For these reasons, the use of the cPanel email forwarder interface is very undesirable and would probably preclude what I'm trying to do.

    The ID's are stored in a MySQL database; and, while I know Exim can be configured to get information from MySQL, I'm told that this is not allowed in Exim under cPanel. Rather frustrating; but if that's the way it is, then one must simply find another approach.

    I've attempted to set up a .forward file in the /home/[domain user] directory; however, emails sent to the test forwarding account simply bounce as undeliverable. It may be that I simply have the .forward file set up wrong, though I'm not absolutely certain that Exim's cPanel configuration recognizes .forward files, either.

    Is anyone familiar with how I might set up a large list of email forwarder addresses in a system that uses cPanel, but without having to enter everything through the cPanel interface?


  2. PWSowner

    PWSowner Well-Known Member

    Nov 10, 2001
    Likes Received:
    Trophy Points:
    ON, Canada
    Email forwarders go in /etc/valiases/ files. Take a look at how they work and it should be fairly easy to figure a way to manually make massive changes.

Share This Page