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

    Exclamation NEED a copy of exim.conf that comes with the latest release of cPanel

    I need!! the latest version of exim.conf (with spamassassin support) that comes with the latest version of cPanel.

    My version is WHM 9.9.9 cPanel 9.9.9-R70. When I run /scripts/upcp, it tells me my version of cpanel is latest, when in the changelog file on cPanel website, the latest build is cPanel 9.9.9-R112

  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

    The easiest way to reset exim to defaults and the latest release is to run:

    rm -f /etc/exim.conf.local*
    /scripts/exim4 --latest


    For upcp, try:

    /scripts/upcp --force
    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
    Sep 2003
    Posts
    19

    Default

    id really appreciate a copy of the default exim.conf for exim 4..

    im really only looking for the begin acl part for pasting in the WHM Exim conf editor..

    ive botched mine up trying to use RBL's

    thanks

  4. #4
    Ramsy
    Guest

    Default

    Code:
    #!!# ACL that is used after the RCPT command
    check_recipient:
      # Exim 3 had no checking on -bs messages, so for compatibility
      # we accept if the source is local SMTP (i.e. not over TCP/IP).
      # We do this by testing for an empty sending host field.
      accept  hosts = +relay_hosts
           endpass
    
      drop dnslists =  relays.ordb.org :\
                    sbl-xbl.spamhaus.org :\
                    hil.habeas.com :\
                    list.dsbl.org :\
                    bl.spamcop.net :\
                    dnsbl.njabl.org :\
                    proxies.blackholes.easynet.nl :\
                    dynablock.easynet.nl :\
                    spam.dnsbl.sorbs.net :\
                    korea.services.net :\
                    brazil.blackholes.us :\
                    nigeria.blackholes.us :\
                    argentina.blackholes.us :\
                    malaysia.blackholes.us  :\
                    singapore.blackholes.us :\
                    taiwan.blackholes.us :\
                    porn.rhs.mailpolice.com
    
           message = your mail server $sender_host_address is in a black list \
                     at $dnslist_domain ($dnslist_text)
    
     # Accept bounces to lists even if callbacks or other checks would fail
      warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes
               condition    = \
               ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                         {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} \
                    {yes}{no}}
    
      accept   condition    = \
               ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                         {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} \
                    {yes}{no}}
    
    
      # Accept bounces to lists even if callbacks or other checks would fail
      warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes
               condition    = \
               ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                         {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} \
                    {yes}{no}}
    
      accept   condition    = \
               ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                         {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} \
                    {yes}{no}}
    
      #if it gets here it isn't mailman
                                                                                                                                               
      #sender verifications are required for all messages that are not sent to lists
                                                                                                                                               
      require verify = sender
      accept  domains = +local_domains
      endpass
                                                                                                                                               
      #recipient verifications are required for all messages that are not sent to the local machine
      #this was done at multiple users requests
                                                                                                                                               
      message = "The recipient cannot be verified.  Please check all recipients of this message to verify they are valid."
      verify = recipient
                                                                                                                                               
      accept  domains = +relay_domains
    
      warn  message = ${perl{popbeforesmtpwarn}{$sender_host_name}}
            hosts = +relay_hosts
      accept  hosts = +relay_hosts
                                                                                    
      warn  message = ${perl{popbeforesmtpwarn}{$sender_host_address}}
            condition = ${perl{checkrelayhost}{$sender_host_address}}
      accept  condition = ${perl{checkrelayhost}{$sender_host_address}}
    
      accept  hosts = +auth_relay_hosts
              endpass
              message = $sender_fullhost is currently not permitted to \
                            relay through this server. Perhaps you \
                            have not logged into the pop/imap server in the \
                            last 30 minutes or do not have SMTP Authentication turned on in your email client.
              authenticated = *
    
      deny    message = $sender_fullhost is currently not permitted to \
                            relay through this server. Perhaps you \
                            have not logged into the pop/imap server in the \
                            last 30 minutes or do not have SMTP Authentication turned on in your email client.
    
    
    #!!# ACL that is used after the DATA command
    check_message:
    require verify = header_sender
    
     ##### clamav ACL, reject virus infected mails with proper error
    
    #deny message = This message contains malformed MIME ($demime_reason).
    #demime = *
    #condition = ${if >{$demime_errorlevel}{2}{1}{0}}
    
    #deny message = This message contains a virus or other harmful content \
    #($malware_name)
    #demime = *
    #malware = *
    
    #deny message = Potentially executable content. If you meant to send this file \
    #then please package it up as a zip file and resend it.
    #demime = #ade:adp:bas:bat:chm:cmd:com:cpl:crt:eml:exe:hlp:hta:inf:ins:isp:jse:lnk:mdb:mde:msc:msi:msp:pcd:reg:scr:sct:shs:url:vbs:vbe:wsf:wsh:wsc
    
    # Add X-Scanned Header
    
    #warn message = X-Antivirus-Scanner: Crystalcore Internet Services delivered this message #virus-free, however we still encourage the use of a virusscanner.
    
    ##### end clamav ACL
    
    accept
    Hope this helps ...
    I commented out the clamav section in case you aint using it ...

  5. #5
    Member
    Join Date
    Sep 2003
    Posts
    19

    Default

    is the the default un-modified exim 4 conf? is all that dns rbl stuff in there now by default?

    this is what i currently had as my acl section:

    Code:
    #!!# ACL that is used after the RCPT command
    check_recipient:
      # Exim 3 had no checking on -bs messages, so for compatibility
      # we accept if the source is local SMTP (i.e. not over TCP/IP).
      # We do this by testing for an empty sending host field.
      accept  hosts = :
    
    
      # Accept bounces to lists even if callbacks or other checks would fail
      warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes
               condition    = \
               ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                         {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} \
                    {yes}{no}}
    
      accept   condition    = \
               ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                         {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}/config.pck}}} \
                    {yes}{no}}
    
    
      # Accept bounces to lists even if callbacks or other checks would fail
      warn     message      = X-WhitelistedRCPT-nohdrfromcallback: Yes
               condition    = \
               ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                         {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} \
                    {yes}{no}}
    
      accept   condition    = \
               ${if and {{match{$local_part}{(.*)-bounces\+.*}} \
                         {exists {/usr/local/cpanel/3rdparty/mailman/lists/${lc:$1}_${lc:$domain}/config.pck}}} \
                    {yes}{no}}
    
      #if it gets here it isn't mailman
                                                                                                                                               
      #sender verifications are required for all messages that are not sent to lists
                                                                                                                                               
      require verify = sender
      accept  domains = +local_domains
      endpass
                                                                                                                                               
      #recipient verifications are required for all messages that are not sent to the local machine
      #this was done at multiple users requests
                                                                                                                                               
      message = "The recipient cannot be verified.  Please check all recipients of this message to verify they are valid."
      verify = recipient
                                                                                                                                               
      accept  domains = +relay_domains
    
      warn  message = ${perl{popbeforesmtpwarn}{$sender_host_name}}
            hosts = +relay_hosts
      accept  hosts = +relay_hosts
                                                                                    
      warn  message = ${perl{popbeforesmtpwarn}{$sender_host_address}}
            condition = ${perl{checkrelayhost}{$sender_host_address}}
      accept  condition = ${perl{checkrelayhost}{$sender_host_address}}
    
      accept  hosts = +auth_relay_hosts
              endpass
              message = $sender_fullhost is currently not permitted to \
                            relay through this server. Perhaps you \
                            have not logged into the pop/imap server in the \
                            last 30 minutes or do not have SMTP Authentication turned on in your email client.
              authenticated = *
    
      deny    message = $sender_fullhost is currently not permitted to \
                            relay through this server. Perhaps you \
                            have not logged into the pop/imap server in the \
                            last 30 minutes or do not have SMTP Authentication turned on in your email client.
    
    
    #!!# ACL that is used after the DATA command
    check_message:
      require verify = header_sender
      accept

  6. #6
    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

    You can find the default configuration in:

    /etc/exim.conf.dist

    In particular, the ACL section is between the %BEGINACLBLOCK% and %ENDACLBLOCK% tags.
    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

Similar Threads & Tags
Similar threads

  1. imap and exim constantly fails on the latest release 11.25 help?
    By sharmaine001 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-24-2009, 06:02 PM
  2. httpd.conf format change with latest "release"?
    By ffeingol in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-12-2007, 11:36 PM
  3. Exim stops after updating to WHM latest release R17659
    By nicklas in forum E-mail Discussions
    Replies: 4
    Last Post: 10-12-2007, 10:59 AM
  4. latest release and the exim conf editor in whm is gone
    By cyberspirit in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-13-2004, 03:03 AM
  5. Upgrading to latest 'release' to fix exim bug...
    By MillerOutdoors in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 05-11-2004, 03:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube