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.

mail stops working after update to easyapache 3

Discussion in 'E-mail Discussions' started by david.gilbert, Oct 14, 2007.

  1. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    we just added whm xtra to our server and it caused apache to update to easyapache3 at which time our mails stop functioning, no matter what we do we can't send/recieve mail nor can our clients--- what have we done wrong..? or are we missing something:confused:
     
  2. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    i have yet to see how ea3 would do anything to exim. what else have you done? you say "mo matter what you do?" what does that men? what have you done?

    what's in the logs?
     
  3. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    we haven't done anything more than restart the server thinking that exim hadn't started we did check the php config file but we haven't made any significant changes to anything

    here are the log files

    Easyapache 2566
    2007-10-12 15:45:23 Fixes:
    Prevent conflicts between cPanel and Vendor MySQL RPMs
    Check for sufficient free disk space before EA3 runs

    Enhancements:
    Warn when installed version of cPanel/WHM is out of date before running EA3
    Edge 17659
    2007-10-12 10:31:49 Fixes:
    Fix issue with missing readline dependency when installing Ruby
    Updated installruby to install Rails and Mongrel on FreeBSD
    Cleanup of portsup
    Bug 5994: fix SysPkgs/APT.pm to only attempt installing packages that are available
    Bug 5995: resolve /etc/<service>updisable and <service>disable not being honored

    Enhancements:
    Added --just-rails to installruby
    When possible, use expect to automate install of Rails
    Added timeouts to gem installer routines
    Added option to print output from apt
    Current 17659
    2007-10-12 10:31:36 Fixes:
    Fix issue with missing readline dependency when installing Ruby
    Updated installruby to install Rails and Mongrel on FreeBSD
    Cleanup of portsup
    Bug 5994: fix SysPkgs/APT.pm to only attempt installing packages that are available
    Bug 5995: resolve /etc/<service>updisable and <service>disable not being honored

    Enhancements:
    Added --just-rails to installruby
    When possible, use expect to automate install of Rails
    Added timeouts to gem installer routines
    Added option to print output from apt
    Release 17659
    2007-10-12 10:31:25 Fixes:
    Fix issue with missing readline dependency when installing Ruby
    Updated installruby to install Rails and Mongrel on FreeBSD
    Cleanup of portsup
    Bug 5994: fix SysPkgs/APT.pm to only attempt installing packages that are available
    Bug 5995: resolve /etc/<service>updisable and <service>disable not being honored

    Enhancements:
    Added --just-rails to installruby
    When possible, use expect to automate install of Rails
    Added timeouts to gem installer routines
    Added option to print output from apt
    Easyapache 2553
    2007-10-12 07:20:53 Fixes:
    Ensure autoconf is installed with basic build tools

    Enhancements:
    Add WHM version to build report
    Easyapache 2549
    2007-10-11 13:57:08 Fix libmysqlclient_r.so using the same method as libmysqlclient.so
    Work around for SysPkg issue on RedHat 9
    Release 17649
    2007-10-10 23:45:09 Fixes:
    Prevent ensurepkg from detecting files as BSD port directories
    Update ICQ registration link
    Remove leading www. from ServerName so that distiller stores vhost data correctly
    Strip www from ServerName when installing SSL vhosts
    Resolve branding download issue
    Store SSL cert/key/bundle using domain name on certificate
    Prefer ssl cert/key/bundle with latest mtime when not specified in vhost datastore
    Cpanel::SysPkgs: Changed lib path to /usr/local/cpanel
    Perform a forceful restart after changing PHP/Suexec settings
    Fixes to various spelling and grammatical errors
    Added test for --exclude flag to Cpanel::SysPkgs::YUM
    Fixed feature management for Parked and Addon Domains
    Fix Cpanel::SysPkgs::APT for SuSE
    Removed instances of script shebang references to python2
    Add ServerAlias to httpd.conf templates for SSL Domains
    Prevent listing parked domains in SSL vhost serveraliases
    Fixed call to Cpanel::Notify in checkperlmodules
    Resolve discrepancy between Cpanel::Park being called via admin binary or WHM
    hasfeature added to admin binaries that were lacking it
    Fixed display issue with select hundreds of files/folders in File Manager and attempting to Move/Copy them
    Update Cpanel::RoR to use ::abshomedir rather than ::homedir
    Pass GEM_HOME to /scripts/gemwrapper. This fixes issue with displaying user installed gems in cPanel
    Fixed missing ACL checks for AutoResponders, SpamAssassin, PostgreSQL, MySQL, Boxtrapper, Addon Domains and SSH
    Fixed issue with email accounts not displaying in the X theme
    Fix Cpanel::Config::userdata::update_cgi_data to not always enable hascgi
    Fixed issue with deleted email accounts still displaying
    Update /scripts/installssl to function similarly to Cpanel::SSLInstall::installssl()
    Fix IE7 table rendering problem in Security Center >> cPHulk
    Fix error in DiskUsage.pm that would show 0 bytes used in email
    Resolve issue of sub and addon domains becoming disassociated from an account upon domain name change
    Only copy SSL files if target does not exist upon domain name change
    Fixed issue where logins were not logged on close
    Ensure correct permissions on the RCS ,v files
    Prevent accidental suspension of all root owned accounts
    Remove MySQL 4.x embedded RPM when MySQL 5.x is installed
    User mimetypes could be added multiple times resulting in broken .htaccess file
    Update /etc/gshadow and quotas when changing an account's username
    Update unlimited quota information when changing an account's username
    Removed deprecated calls to rsync service
    Refactored Remote MySQL Setup to use cpanelsync rather than rsync
    XML-API resellersstats function now only shows reseller-specific accounts
    Park a Domain will use Reseller's Name Servers
    WHM Navigation displays properly in Opera
    Detect and restore missing SSLCACertificateFile
    Redid upload calculations to account for quota usage
    Limit the amount of accounts privilege no longer accepts negative numbers
    Fix issue with FrontPage extensions breaking after account transfer
    Resolve issue with PHP Configuration Editor putting bit-field values in quotes (e.g. error_reporting)
    Internal PHP memory_limit now defaults to 128 MB
    Top Relayers now shows domain also
    Fix display problem in Safari for Resellers with limited functions
    Multicopy accounts now copied when destination is a fresh server
    "Change Look and Feel" Renamed to "Change Style" in Feature Manager
    Specifying 0 for maxmem in Tweak Settings will now disable Memory Limiting
    Resolve internal caching race condition with Cpanel::CachedDataStore
    Added ability to skip reseller privilege restore when using /scripts/restorepkg
    Added warning messages to /scripts/restorepkg
    Updated headers to UTF-8 for login/logout
    Update Spanish & Portuguese language files
    Prevent account creation from happening in virtfs
    Make the default memory size 256 MB
    Fix adding :80 to IP Address in Zone when modifying a domain name
    Rewrite extension_dir in php.ini when it is found to be out of date during extension installation
    Limit checkperlmodules Perl version notification to once every 12 hours via Cpanel::Notify
    Updated change hostname function to also update httpd.conf
    Fixed lib paths for internal PHP binary
    Fix issues where some characters in passwords were replaced with HTML entities
    Fix poorly placed headers on Choose Log Programs page
    Fix securetmp breaking /var/tmp when /var/tmp is already bind mounted
    pkgacct-enXim:
    Fixes for pkgacct-enXim
    Grab user password from remote system passwd for transfers
    Allow users to set localhost user to the remote system user on transfer
    Fixed 'Restore a MySQL Database' functionality
    Update CpanelFileSys with better replacement for 'df'
    Optimize account creation process to use CpanelFileSys rather than 'df'
    Missing httpd.conf generates error message rather than breaking cPanel
    Fixed "uninitialized variable" error message in /scripts/unsuspendacct
    Added error message to Cpanel/Accounting when ssl is not available
    bin/rebuild_phpconf will now display whether suExec is installed
    Fix "Connection is broken (broken pipe) at /usr/local/cpanel/Cpanel/Accounting.pm line 248" during global destruction.
    Solve potential reseller privilege escalation

    Bug 1306: HASCGI properly set on change
    Bug 4152: Added curl w/ ssl support to makecpphp profile
    Bug 5261: HASCGI properly set and VirtualHosts updated
    Bug 5602: Show domain owner of Parked Domain
    Bug 5694: update SOA during account transfer
    Bug 5785: account transfer page now populates reseller list from remote server
    Bug 5818: HASCGI properly set and VirtualHosts updated
    Bug 5835: Deleted packages will no longer display in drop downs
    Bug 5838: removing wildcard subdomain again possible
    Bug 5845: Resolve read receipt issue with Squirrelmail
    Bug 5865: Allow comma separated addresses as a forwarder destination
    Bug 5871: Fix duplication of text
    Bug 5882: processes listed in Service Status sorted
    Bug 5890: redid exim log parsing to be more robust
    Bug 5891: Fix display flow for smaller resolutions
    Bug 5907: Fix erroneous size used when reporting space available for File Manager uploads
    Bug 5911: Able to specify cPanel account name as default address
    Bug 5934: Make reference to 'SSH' consistent in Host Access Control
    Bug 5949: Fix link to Edit X3 Live
    Bug 5944: No error checking was done in /scripts/initsslhttpd
    Bug 5965: Remove version from python shebang line
    Bug 5966: Do not strip '+' from destination addresses in forwarders
    Bug 5967: Ensure ~/tmp is created for new accounts, create during Cpanel::Email::addspam
    Bug 5979: initialize variable prior to usage
     
  4. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    that looks like the cpanel change log. I am talking about the server logs. exim_mainlog or the main maillog :) lets see what's wrong so we can determine how to fix it.
     
  5. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    how do i get those i'm not really that tech minded
     
  6. gizzmo2006

    gizzmo2006 Active Member

    Joined:
    May 22, 2007
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    8
    exim

    Hello,

    first take a look to Service Status. Is exim running?

    Then go to Exin Configuration Editor. Take a look at the Mail Configuration. Is there anything activated?

    Regards Frank
     
  7. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Yes exim is tunning and the only thing ticked under mail is

    Use callouts to verify the existence of email senders. Basiclly, exim will connect to the mail exchanger for a given address to make sure it exists before accepting mail from it.

    and

    ** Verify the existence of email senders.

    it is using ** System filter file (leave blank to disable) /etc/cpanel_exim_system_filter

    which i at one stage disabled but it made no difference
     
  8. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    this is the current exim config file


    acl_connect:
    [% ACL_CONNECT_BLOCK %]

    # do not change the comment in the line below, it is required for /usr/local/cpanel/bin/check_exim_config
    #acl_smtp_notquit is required for this to work (exim 4.68)

    acl_notquit:
    [% ACL_NOTQUIT_BLOCK %]


    #!!# 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

    accept hosts = *
    authenticated = *

    #if they poped before smtp we just accept
    accept condition = ${if match_ip{$sender_host_address}{iplsearch;/etc/relayhosts}{1}{${if eq{$sender_host_address}{127.0.0.1}{1}{0}}}}
    add_header = ${perl{popbeforesmtpwarn}{$sender_host_address}}
    accept hosts = +relay_hosts
    add_header = ${perl{popbeforesmtpwarn}{$sender_host_address}}


    #recipient verifications are now done after smtp auth and pop before smtp so the users get back bounces instead of
    # a clogged outbox in outlook

    #recipient verifications are required for all messages that are not sent to the local machine
    #this was done at multiple users requests
    require verify = recipient
    message = "The recipient cannot be verified. Please check all recipients of this message to verify they are valid. Details: $acl_verify_message"


    [% ACL_RBL_BLOCK %]


    require verify = sender/callout=60s

    # The only problem with this setup is that if the message is for multiple users on the same server
    # and they are on different unix accounts, the settings for the first recipient which has spamassassin enabled will be used.
    # This shouldn't be a problem 99.9% of the time, however its a very small price to pay for a massive speed increase.

    warn domains = ! ${primary_hostname} : +local_domains
    condition = ${if <= {$message_size}{[% ACL_MAX_SPAM_SCAN_SIZE %]K}{${if eq {${acl_m0}}{1}{0}{${perl{acl_checksa_deliver}{$domain}{${extract{5}{:}{${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}lsearch{/etc/passwd}{$value}}}}}}}}}{0}}
    set acl_m0 = 1
    set acl_m1 = ${lookup{$domain}lsearch*{/etc/userdomains}{$value}}

    warn domains = ${primary_hostname}
    condition = ${if <= {$message_size}{[% ACL_MAX_SPAM_SCAN_SIZE %]K}{${if eq {${acl_m0}}{1}{0}{${perl{acl_checkusersa}{$local_part}{${extract{5}{:}{${lookup{$local_part}lsearch{/etc/passwd}{$value}}}}}}}}}{0}}
    set acl_m0 = 1
    set acl_m1 = $local_part

    accept domains = +relay_domains

    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:
    # Enabling this will make the server non-rfc compliant
    # require verify = header_sender
    accept hosts = 127.0.0.1 : +relay_hosts

    accept hosts = *
    authenticated = *

    warn
    condition = ${if eq {${acl_m0}}{1}{1}{0}}
    spam = ${acl_m1}/defer_ok
    log_message = "SpamAssassin as ${acl_m1} detected message as spam"
    add_header = X-Spam-Subject: [% ACL_SPAM_HEADER %] $h_subject
    add_header = X-Spam-Status: Yes, score=$spam_score
    add_header = X-Spam-Score: $spam_score_int
    add_header = X-Spam-Bar: $spam_bar
    add_header = X-Spam-Report: $spam_report
    add_header = X-Spam-Flag: YES
    set acl_m2 = 1

    warn
    condition = ${if eq {${acl_m0}}{1}{${if eq {${acl_m2}}{1}{0}{1}}}{0}}
    add_header = X-Spam-Status: No, score=$spam_score
    add_header = X-Spam-Score: $spam_score_int
    add_header = X-Spam-Bar: $spam_bar
    add_header = X-Spam-Flag: NO
    log_message = "SpamAssassin as ${acl_m1} detected message as NOT spam"

    deny message = This message contains a virus or other harmful content ($malware_name)
    malware = *
    demime = *

    [% ACL_SPAM_BLOCK %]

    accept
     
  9. gizzmo2006

    gizzmo2006 Active Member

    Joined:
    May 22, 2007
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    8
    exmin

    Hello David,

    i have had the same problem. I have disabled this two points and exim working fine.
    I really don`t know, if this is the ultimate solution, but it still works..

    Regards Frank
     
  10. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    i tried that and still no mails although we can send now we can't recieve mails
     
  11. gizzmo2006

    gizzmo2006 Active Member

    Joined:
    May 22, 2007
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    8
    Exim

    Hello David,

    i have deaktivated all points under Mail in Exim Configuration.

    if you have problems with authentication you can run
    >/scripts/courierup --force
    from the shell and you can reinstall exim with
    >/scripts/eximup --force

    Regards Frank
     
  12. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    still no go and i tried to remove exim got --force: command not found error

    this has me beat been trying for 4 days now to get our mails back
     
  13. gizzmo2006

    gizzmo2006 Active Member

    Joined:
    May 22, 2007
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    8
  14. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    in the thread Nicklaus updated to exim 4 (/scripts/exim4) how would i get and install that script I'm not that good with ssh only know basic reset and chmod commands

    David
     
  15. gizzmo2006

    gizzmo2006 Active Member

    Joined:
    May 22, 2007
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    8
    Hello David,

    in normal case the script is allready present at your server.
    log in with ssh an type:

    /scripts/exim4

    then press enter.

    Regards Frank
     
  16. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    ok it's saying i have the latest release of exim the other thing it says in that thread is that clamav causes problems of this type i just tried disabling clamav but for some reason it won't allow me to it re-initialises as soon as i save the configuration

    Dave
     
  17. gizzmo2006

    gizzmo2006 Active Member

    Joined:
    May 22, 2007
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    8
    Hi Dave,

    please run again from the shell:

    /scripts/eximup --force

    this has fixed the problem on some other servers.

    Regards Frank
     
  18. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    ok did that but still no joy and now i can't get rid of the checked boxes under mail in the configurator


    Dave
     
  19. gizzmo2006

    gizzmo2006 Active Member

    Joined:
    May 22, 2007
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    8
    Hello David,

    what perl version you are running on your server?
     
    #19 gizzmo2006, Oct 15, 2007
    Last edited: Oct 15, 2007
  20. david.gilbert

    david.gilbert Active Member

    Joined:
    Jun 11, 2007
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    i wouldn't know which version of perl i'm running how do i check
     
Loading...

Share This Page