E-mail abruptly stopped working...

5 posts / 0 new
Last post
#1 Mon, 08/13/2012 - 07:49
Denizz

E-mail abruptly stopped working...

Well, its a new week and I guess its time for a new problem, my server thought :(.

This time I have no clear idea of what is going wrong. I checked the logs and the only strange thing I get is this:

Aug 13 14:33:07 vps590 postfix/postqueue[31897]: warning: Mail system is down -- accessing queue directly

I am not able to recieve mail, but I do not get a delivery failed message when I try to send something to myself via my gmail account. I am not able to send anything, I get a SMTP connection failed message. Webmail login is still working normally.

I did the hostname lookup, and that is still working normally as well. That is why I am completly lost. What can I do, reinstall the Postfix server?

The system is CentOS 6 64bit, running on Linux kernel 3.2.

Mon, 08/13/2012 - 08:11
andreychek

Howdy,

What is the output of these two commands:

rpm -qa | grep postfix
postconf -n

Hopefully those will shed some light on what's going on!

-Eric

Mon, 08/13/2012 - 08:22
Denizz

First command:

[root@vps590 ~]# rpm -qa | grep postfix
postfix-2.6.6-2.2.el6_1.x86_64

Second command:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 1024000000
mydestination = $myhostname, localhost.$mydomain, localhost, vps590.directvps.nl
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated rejec                                                                                                                                                             t_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual

Thanks again Eric :).

Mon, 08/13/2012 - 21:00
andreychek

Hmm, I don't see any obvious problems with that.

Can you try running this command:

/etc/init.d/postfix restart

And after that, take a peek in /var/log/maillog to see if any errors show up?

-Eric

Tue, 08/14/2012 - 08:36
Denizz

And it works again for now ;). The restart in PuTTy probably did the job. It acted a bit strange at first, it said [failed] at restart twice, but the third time it did restart normally.

I only restarted it via the virtualmin GUI before.

Topic locked