Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th April 2010, 17:11
Florisjan Florisjan is offline
Junior Member
 
Join Date: Oct 2009
Posts: 14
Thanks: 5
Thanked 0 Times in 0 Posts
Default No email received after yum update

Hello,

I'm having a similar problem as before, I can no longer receive email. No errors are given anywhere, it just doesn't arrive.

The 'perfect-server-cerntos-5.2-ispconfig-3' was running fine, using ispconfig version 3.0.2.

Using 'yum update --exclude="postfix" --disablerepo=kbs-CentOS-Testing' worked fine until now.

After updating, and a reboot, or updating ispconfig, which I suppose comes down to the same, email reception is gone. I can still log in to ispconfig, and secure webmail.

All mail sent to the server is really lost, not still waiting to be delivered on other servers. So I assume it does actually arrive on the server, and then something goes wrong.

This is a list of what has been updated, can anyone tell me which program causes the problem and how to fix it? The previous update was on march 22nd.

Thanks a lot!

Apr 12 18:42:44 server yum: Updated: openssl-0.9.8e-12.el5_4.6.x86_64
Apr 12 18:42:44 server yum: Updated: cyrus-sasl-lib-2.1.22-5.el5_4.3.x86_64
Apr 12 18:42:45 server yum: Updated: nspr-4.8.4-1.el5_4.x86_64
Apr 12 18:42:46 server yum: Updated: httpd-2.2.3-31.el5.centos.4.x86_64
Apr 12 18:42:47 server yum: Updated: nss-3.12.6-1.el5.centos.x86_64
Apr 12 18:42:48 server yum: Installed: perl-NetAddr-IP-4.027-1.el5.rf.x86_64
Apr 12 18:42:48 server yum: Updated: cyrus-sasl-2.1.22-5.el5_4.3.x86_64
Apr 12 18:42:48 server yum: Updated: cyrus-sasl-plain-2.1.22-5.el5_4.3.x86_64
Apr 12 18:42:52 server yum: Updated: subversion-1.6.9-0.1.el5.rf.x86_64
Apr 12 18:42:53 server yum: Updated: perl-Net-SSLeay-1.36-1.el5.rf.x86_64
Apr 12 18:42:53 server yum: Updated: lftp-4.0.6-1.el5.rf.x86_64
Apr 12 18:42:53 server yum: Installed: re2c-0.13.5-1.el5.rf.x86_64
Apr 12 18:42:53 server yum: Installed: perl-Encode-Detect-1.01-1.el5.rf.x86_64
Apr 12 18:42:54 server yum: Updated: gnutls-1.4.1-3.el5_4.8.x86_64
Apr 12 18:42:54 server yum: Installed: perl-Razor-Agent-2.84-1.el5.rf.x86_64
Apr 12 18:42:54 server yum: Updated: perl-BerkeleyDB-0.41-1.el5.rf.x86_64
Apr 12 18:42:55 server yum: Installed: perl-version-0.76-1.el5.rf.x86_64
Apr 12 18:42:55 server yum: Updated: openssl-0.9.8e-12.el5_4.6.i686
Apr 12 18:42:56 server yum: Updated: cyrus-sasl-lib-2.1.22-5.el5_4.3.i386
Apr 12 18:42:57 server yum: Updated: nspr-4.8.4-1.el5_4.i386
Apr 12 18:42:57 server yum: Updated: nspr-devel-4.8.4-1.el5_4.x86_64
Apr 12 18:42:59 server yum: Updated: clamav-db-0.96-1.el5.rf.x86_64
Apr 12 18:43:00 server yum: Updated: clamav-0.96-1.el5.rf.x86_64
Apr 12 18:43:00 server yum: Updated: perl-Archive-Tar-1.56-1.el5.rf.noarch
Apr 12 18:43:01 server yum: Updated: clamd-0.96-1.el5.rf.x86_64

Last edited by Florisjan; 12th April 2010 at 17:25.
Reply With Quote
Sponsored Links
  #2  
Old 12th April 2010, 18:29
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,409
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Please post the error messages from the maillog.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th April 2010, 19:19
Florisjan Florisjan is offline
Junior Member
 
Join Date: Oct 2009
Posts: 14
Thanks: 5
Thanked 0 Times in 0 Posts
Default maillog

Hello,

Here's the last part of maillog, i don't see any errors so I just sent everything. For security reasons domain names / ip addresses have been changed.

Mind the date is in the past.

Just to be sure I just tried sending a message to myself using a gmail account, and tried receiving the mail using outlook. It did not arrive.

This is the result in maillog:

Apr 8 17:41:43 server postfix/smtpd[28230]: connect from mail-gy0-f175.google.com[209.85.160.175]
Apr 8 17:41:44 server postfix/smtpd[28230]: 038251170325: client=mail-gy0-f175.google.com[209.85.160.175]
Apr 8 17:41:44 server postfix/cleanup[28242]: 038251170325: message-id=<i2t15da8eb61004121012n7f73b0cayd4764fed57186e5 1@mail.gmail.com>
Apr 8 17:41:44 server postfix/qmgr[26245]: 038251170325: from=<florisjan@gmail.com>, size=1876, nrcpt=1 (queue active)
Apr 8 17:41:44 server postfix/smtp[28243]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Apr 8 15:41:44 server postfix/smtp[28243]: 038251170325: to=<michael@jansen.nl>, relay=none, delay=0.47, delays=0.44/0.03/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Apr 8 17:41:45 server postfix/qmgr[26245]: 6D94F1170083: from=<jansen@xs4all.nl>, size=2993, nrcpt=1 (queue active)
Apr 8 17:41:45 server postfix/qmgr[26245]: 1BD9E117009C: from=<>, size=4842, nrcpt=1 (queue active)
Apr 8 17:41:45 server postfix/qmgr[26245]: C24621170321: from=<jansen@xs4all.nl>, size=2993, nrcpt=1 (queue active)
Apr 8 15:41:45 server postfix/smtp[28243]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Apr 8 15:41:45 server postfix/smtp[28243]: 6D94F1170083: to=<michael@jansen.nl>, relay=none, delay=1817, delays=1817/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Apr 8 15:41:45 server postfix/smtp[28243]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Apr 8 15:41:45 server postfix/smtp[28243]: C24621170321: to=<michael@jansen.nl>, relay=none, delay=1696, delays=1696/0.03/0.14/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Apr 8 17:42:05 server imapd: Connection, ip=[::ffff:127.0.0.1]
Apr 8 17:42:05 server imapd: LOGIN, user=michael@jansen.nl, ip=[::ffff:127.0.0.1], port=[34678], protocol=IMAP
Apr 8 17:42:05 server imapd: LOGOUT, user=michael@jansen.nl, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0
Apr 8 17:42:07 server pop3d: Connection, ip=[::ffff:81.121.121.121]
Apr 8 17:42:07 server pop3d: LOGIN, user=michael@jansen.nl, ip=[::ffff:81.121.121.121], port=[63895]
Apr 8 17:42:08 server pop3d: LOGOUT, user=michael@jansen.nl, ip=[::ffff:81.121.121.121], port=[63895], top=0, retr=0, rcvd=12, sent=39, time=1
Apr 8 17:42:14 server postfix/smtpd[28230]: disconnect from mail-gy0-f175.google.com[209.85.160.175]
Apr 8 17:42:15 server postfix/smtp[28246]: connect to example.com[192.0.32.10]: Connection timed out (port 25)
Apr 8 17:42:15 server postfix/smtp[28246]: 1BD9E117009C: to=<virusalert@example.com>, relay=none, delay=194777, delays=194747/0.09/30/0, dsn=4.4.1, status=deferred (connect to example.com[192.0.32.10]: Connection timed out)
Apr 8 17:43:13 server pop3d: Connection, ip=[::ffff:81.121.121.121]
Apr 8 17:43:13 server pop3d: LOGIN, user=michael@jansen.nl, ip=[::ffff:81.121.121.121], port=[63915]
Apr 8 17:43:13 server pop3d: LOGOUT, user=michael@jansen.nl, ip=[::ffff:81.121.121.121], port=[63915], top=0, retr=0, rcvd=12, sent=39, time=0
Apr 8 17:43:59 server pop3d: Connection, ip=[::ffff:81.121.121.121]
Apr 8 17:43:59 server pop3d: LOGIN, user=michael@jansen.nl, ip=[::ffff:81.121.121.121], port=[63940]
Apr 8 17:43:59 server pop3d: LOGOUT, user=michael@jansen.nl, ip=[::ffff:81.121.121.121], port=[63940], top=0, retr=0, rcvd=12, sent=39, time=0
Attached Files
File Type: zip maillog.zip (24.5 KB, 106 views)
Reply With Quote
  #4  
Old 12th April 2010, 19:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,409
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Looks as if amavisd is not started on your system. Please start it with the script in /etc/init.d and then check again the mail log file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Florisjan (12th April 2010)
  #5  
Old 12th April 2010, 19:55
Florisjan Florisjan is offline
Junior Member
 
Join Date: Oct 2009
Posts: 14
Thanks: 5
Thanked 0 Times in 0 Posts
Default amavisd

Amavisd was not running, thank you!
I ran sa-update, and tried again, now email is back up.

One final question, was this caused by updating or just coincidence?

Thanks again,

Florisjan

/etc/init.d/amavisd restart
Shutting down Mail Virus Scanner (amavisd): [FAILED]
Starting Mail Virus Scanner (amavisd): [ OK ]

Apr 8 17:14:22 server amavis[26944]: starting. /usr/sbin/amavisd at server.server.nl amavisd-new-2.6.4 (20090625), Unicode aware, LANG="en_US.UTF-8"
Apr 8 17:14:22 server amavis[26944]: Perl version 5.008008

...
Apr 8 17:14:24 server amavis[26946]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
Apr 8 17:14:24 server amavis[26946]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
Reply With Quote
  #6  
Old 12th April 2010, 22:05
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,409
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

I guess that a centos rpm, maybe one of the perl updates, messed up the spamassasin rule files and sa-update fixed it again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 14th April 2010, 00:59
rukus77 rukus77 is offline
Member
 
Join Date: Apr 2009
Posts: 33
Thanks: 7
Thanked 4 Times in 4 Posts
 
Default

Quote:
Originally Posted by till View Post
I guess that a centos rpm, maybe one of the perl updates, messed up the spamassasin rule files and sa-update fixed it again.
Same happened to me after updating clamd (and clamav).

I began getting a clamd.sock error in the logs as well;

(!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.sock: No such file or directory, retrying

So I had to verify that the path matched between;

amavisd.conf (CONTSCAN)

and;

clamd.conf (LocalSocket)

I then to had to comment out TCPSocket and uncomment LocalSocket.

Everything working well now. Hope this helps someone else out.

Mike

Last edited by rukus77; 14th April 2010 at 01:02.
Reply With Quote
The Following User Says Thank You to rukus77 For This Useful Post:
falko (14th April 2010)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix can't received email from exterior astra2000 Server Operation 5 17th October 2009 23:26
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 03:39
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
Automatic Update Via Yum Fedora 7 40esp Installation/Configuration 2 9th July 2007 17:10
# yum update domino Server Operation 2 29th August 2005 10:56


All times are GMT +2. The time now is 15:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.