#1  
Old 20th September 2011, 20:08
MrMoo MrMoo is offline
Junior Member
 
Join Date: Apr 2011
Posts: 14
Thanks: 2
Thanked 1 Time in 1 Post
Default Updated and now mail is broke

im unable to send or recieve emails, i don't get any errors or bounce backs and when i type "mail" as root there is nothing waiting

i just ran "yum update" it updated over 200 packages and it seems some of them included mail server updates.

my dovecot/postfix install is now not working, ive not changed anything config wise

my maillog contains the following when i send an email and the last few lines are when i check mail via squirrelmail

Quote:
Sep 20 18:56:55 burtonc sendmail[3278]: p8KHutow003278: Authentication-Warning: burtonc.net: apache set sender to admin@xxxxxx.com using -f
Sep 20 18:56:55 burtonc sendmail[3278]: p8KHutow003278: from=admin@xxxxxx.com, size=545, class=0, nrcpts=1, msgid=<51330.87.102.39.245.1316541415.squirrel@www .xxxxxx.com>, relay=apache@localhost
Sep 20 18:56:55 burtonc sendmail[3278]: p8KHutow003278: to=xxxxxx@hotmail.com, ctladdr=admin@xxxxxx.com (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30545, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Sep 20 18:56:57 burtonc dovecot: imap-login: Login: user=<admin@xxxxxx.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 20 18:56:57 burtonc dovecot: IMAP(admin@xxxxxx.com): Disconnected: Logged out bytes=630/460
Sep 20 18:56:59 burtonc dovecot: imap-login: Login: user=<admin@xxxxxx.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 20 18:56:59 burtonc dovecot: IMAP(admin@xxxxxx.com): Disconnected: Logged out bytes=117/1407
Sep 20 18:57:12 burtonc dovecot: IMAP(admin@xxxxxx.com): Disconnected: Logged out bytes=79/720
Sep 20 18:57:12 burtonc dovecot: imap-login: Login: user=<admin@xxxxxx.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 20 19:00:02 burtonc dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Sep 20 19:00:02 burtonc dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
my main.cf mydestination line looks like this

Quote:
mydestination = myhostname, localhost, localhost.localdomain
i use the perfect server ceontOS 5 setup from this site which was working great until i just updated.

I have also tried configuring a new centOS 6 server and have the same delivery/recieving issues.

im in desperate need of help, many thanks.
Reply With Quote
Sponsored Links
  #2  
Old 21st September 2011, 10:13
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 99 Times in 95 Posts
Default

Code:
Sep 20 18:56:55 burtonc sendmail[3278]: p8KHutow003278: to=xxxxxx@hotmail.com, ctladdr=admin@xxxxxx.com (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30545, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
This line tells me the servers wants to relay your mail to itself (mostlikely for amavis scanning), so my question: Is amavis running?

check if all daemons are running that need to run.
__________________
Real men don't backup... Real men cry!

http://www.e-rave.nl/
Reply With Quote
The Following User Says Thank You to Mark_NL For This Useful Post:
MrMoo (21st September 2011)
  #3  
Old 21st September 2011, 13:51
MrMoo MrMoo is offline
Junior Member
 
Join Date: Apr 2011
Posts: 14
Thanks: 2
Thanked 1 Time in 1 Post
Default

i have checked and it seems the amavisd and clam services are running, here is a list of whats running

Quote:
PID TTY TIME CMD
1 ? 00:00:00 init
1120 ? 00:00:00 udevd
1211 ? 00:00:00 brcm_iscsiuio
1398 ? 00:00:00 syslogd
1464 ? 00:00:00 pcscd
1495 ? 00:00:00 sshd
1503 ? 00:00:00 xinetd
1514 ? 00:00:00 vsftpd
1524 ? 00:00:04 clamd
1557 ? 00:00:00 mysqld_safe
1607 ? 00:01:50 mysqld
1631 ? 00:00:00 dovecot
1632 ? 00:00:00 dovecot-auth
1641 ? 00:00:00 dovecot-auth
1653 ? 00:00:00 httpd
1654 ? 00:00:01 vlogger
1655 ? 00:00:00 httpd
1663 ? 00:00:00 crond
1674 ? 00:00:25 php-cgi
1684 ? 00:00:00 xfs
1697 ? 00:00:00 pop3-login
1698 ? 00:00:00 pop3-login
1706 ? 00:00:00 fail2ban-server
1716 ? 00:00:00 saslauthd
1717 ? 00:00:00 saslauthd
1832 ? 00:00:01 php-cgi
3351 ? 00:00:17 php-cgi
5339 ? 00:00:00 imap-login
5357 ? 00:00:00 httpd
5361 ? 00:00:00 httpd
5362 ? 00:00:00 httpd
5573 ? 00:00:00 imap-login
7541 ? 00:00:05 php-cgi
7771 ? 00:00:00 amavisd
7773 ? 00:00:00 amavisd
7774 ? 00:00:00 amavisd
7881 ? 00:00:01 php-cgi
7945 ? 00:00:00 pop3-login
7957 ? 00:00:00 imap-login
7990 ? 00:00:00 sshd
7993 pts/0 00:00:00 bash
8072 pts/0 00:00:00 ps
21584 ? 00:00:00 httpd
24280 ? 00:00:00 httpd

i have however recieved a few delayed delivery notifications from hotmail when sending to my domain, i had nothing waiting in any mail queues on the domain

Quote:
This is an automatically generated Delivery Status Notification.

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipients has been delayed.

admin@xxxxxx.com

Last edited by MrMoo; 21st September 2011 at 13:54.
Reply With Quote
  #4  
Old 21st September 2011, 14:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What tutorial (URL) did you use to set up the system? Is it one of the Postfix + MySQL tutorials? If so, did you exclude Postfix from updates? Because the standard Postfix packages for CentOS 5.x don't have MySQL support compiled in.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
MrMoo (21st September 2011)
  #5  
Old 21st September 2011, 14:18
MrMoo MrMoo is offline
Junior Member
 
Join Date: Apr 2011
Posts: 14
Thanks: 2
Thanked 1 Time in 1 Post
Default

i have fixed it now,

for some reason postfix failed to start, discovered this after trying to telnet to the various ports my main server is up and running now.

thanks for your assistance..... time to get my new centOS 6 server working now.
Reply With Quote
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


All times are GMT +2. The time now is 10:56.


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