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.

Query regarding eximmailtrap

Discussion in 'E-mail Discussions' started by amal, Jan 13, 2006.

  1. amal

    amal Well-Known Member

    Joined:
    Nov 22, 2003
    Messages:
    155
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    I have seen that many email sending issues gets resolved by deleting the /etc/eximmailtrap file
    What is the use of this file?
    and
    What settings create this file?

    Any ideas?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's part of the SMTP Tweak or the nobody email block, I believe, sometimes it doesn't seem to get removed if you disable it. It's controlled by the setting in /var/cpanel/cpanel.config eximmailtrap= set it to 0 and delete the file to prevent further issues.
     
  3. amal

    amal Well-Known Member

    Joined:
    Nov 22, 2003
    Messages:
    155
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Thanks for that info, Chirpy.. Really appreciate it.. :)
     
  4. h2oski

    h2oski Well-Known Member

    Joined:
    Dec 12, 2001
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    I am also having intermittent trouble with 'unroutable domains' caused by the mailtrap lines in exim.pl
    PHP:
    #MAILTRAP
       
    my $safegid = (getgrnam("mailtrap"))[2];
       if (
    $uid >= 99 && $gid >= 99 && $safegid ne $gid && -"/etc/eximmailtrap") {
            die 
    "Gid $gid is not permitted to relay mail";
       }
       
    #MAILTRAP
    toggling the eximmailtrap in cpanel.config seems to toggle the
    "Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required)"
    setting in WHM -> tweak settings.

    I do not want to disable the x-source mail headers, does anyone have further insight into the eximmailtrap setting?
     
Loading...

Share This Page