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

    Default Sendmail Configuation File

    Does anyone know where the sendmail configuration file is. I tried to look for the file and i cannot see it!

    Thanks

  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

    There isn't one on cPanel as cPanel servers use exim as the MTA. You can configure it further if you want through WHM > Exim Configuration Editor > Advanced mode. You'll probably want to look at http://www.exim.org to help with whatever it is you want.
    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
    May 2004
    Posts
    23

    Default

    i want to be able to relay all messages through another mail server. Is that possible with Exim?

  4. #4
    Member
    Join Date
    Oct 2004
    Location
    Dallas, TX
    Posts
    69

    Default Just Came Up

    I have a client looking to do this as well.

  5. #5
    Member
    Join Date
    Nov 2007
    Posts
    46

    Default

    I also need to relay all mail through a remote mail server, I was hoping to use the SMART_HOST setting in sendmail to achieve this.

    Does anyone know how to achieve the same result with Exim?

  6. #6
    Member
    Join Date
    Nov 2007
    Posts
    46

    Default Solution

    Ok, after some further digging around on this forum and from reading the Exim FAQ I have found an easy solution.

    Apparantly in WHM, sendmail config is little more than a pointer to the Exim MTA which does all the mail routing duties.

    To redirect all non local domains to a smart host:

    1) Login to WHM as root
    2) Under Service Configuration, click: "Exim Configuration Editor"
    3) Scroll to the bottom and click "Advanced Editor" (usual rules of care apply)
    4) Locate the ROUTERS CONFIGURATION section, notice under the router config for democheck: there is an editable box
    paste in the following:

    #This router relays all mail to mail.domain.com for onward routing
    send_to_gateway:
    driver = manualroute
    domains = !+local_domains
    transport = remote_smtp
    route_list = * mail.domain.com

    5) Save the config and off you go.

    References:
    Setting up Smart Host for an account
    Q0304: How do I configure Exim to send all non-local mail to a gateway host?

Similar Threads & Tags
Similar threads

  1. Client Auto Configuation Issue
    By danielgatley in forum E-mail Discussions
    Replies: 0
    Last Post: 01-31-2008, 10:22 AM
  2. sendmail attachment/file size maxiumum?- where to adjust?
    By tomp66 in forum New User Questions
    Replies: 2
    Last Post: 05-18-2007, 09:20 AM
  3. Replies: 4
    Last Post: 02-01-2007, 04:21 PM
  4. Looking for file, mail/sendmail.mc and services/sendmail
    By demomen in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-08-2005, 04:22 AM
  5. cPanel Pro Configuation.. help :(
    By feverhost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-17-2004, 10:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube