Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-27-2011, 02:19 PM
Junior Member
 
Posts: 8
Default Postfix not sending incoming queue. Unable to send mail.

Hi All,

My server gets stuck and is not able to send mail. It only happens over the weekends and I have to constantly restart (Service Postfix restart) in order for it to start sending again. I've searched forums but have not been able to find any solid answers. I would really appreciate your input please.

Here are some log errors when I run (cat/var/log/maillog | grep warning):

Nov 27 06:24:54 batch-ca4-02 postfix/cleanup[11491]: warning: timeout on cleanup socket while reading input attribute name
Nov 27 06:48:46 batch-ca4-02 postfix/cleanup[11491]: warning: 498D73E3003A: read timeout on cleanup socket

When I run (cat /var/log/maillog | grep error):

Nov 27 04:04:58 batch-ca4-02 postfix/smtpd[4618]: dict_eval: const error
Nov 27 04:04:58 batch-ca4-02 postfix/smtp[4619]: dict_eval: const error
Nov 27 07:11:10 batch-ca4-02 postfix/smtpd[11263]: dict_eval: const error
Nov 27 07:11:10 batch-ca4-02 postfix/smtpd[21990]: dict_eval: const error
Nov 27 08:02:03 batch-ca4-02 postfix/smtpd[26997]: dict_eval: const error
Nov 27 09:02:35 batch-ca4-02 postfix/smtpd[637]: dict_eval: const error
Nov 27 10:02:03 batch-ca4-02 postfix/smtpd[6404]: dict_eval: const error
Nov 27 11:02:26 batch-ca4-02 postfix/smtpd[12311]: dict_eval: const error
Nov 27 12:30:14 batch-ca4-02 postfix/smtpd[20688]: dict_eval: const error
Nov 27 12:30:39 batch-ca4-02 postfix/smtpd[20736]: dict_eval: const error
Nov 27 12:31:38 batch-ca4-02 postfix/smtpd[20834]: dict_eval: const error
Nov 27 13:02:03 batch-ca4-02 postfix/smtpd[24044]: dict_eval: const error

I know that all new mail entering the Postfix queue is written by the cleanup(8) service into the "incoming" queue. When I run (qshape -s incoming) I see that majority of emails are stuck in the incoming queue.

I also read that "If a server is being hammered from multiple directions, consider raising the in_flow_delay to 10 seconds, but only if the incoming queue is growing even while the active queue is not full and the trivial-rewrite service is using a fast transport lookup mechanism." I set the in_flow_delay to 10 seconds and restarted postfix to set it. Now I just have to wait to see if that will solve the issue.

Can anyone that's more experienced with this please tell me what's going on, as this is a little confusing? Thank you for your help and I can provide more info on request.
Reply With Quote
  #2 (permalink)  
Old 11-29-2011, 10:26 AM
Junior Member
 
Posts: 8
Default

Anyone out there experience this? Any solution or tips please?
Reply With Quote
  #3 (permalink)  
Old 11-30-2011, 04:23 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by xxthegonzxx View Post
Here are some log errors when I run (cat/var/log/maillog | grep warning):

Nov 27 06:24:54 batch-ca4-02 postfix/cleanup[11491]: warning: timeout on cleanup socket while reading input attribute name
Nov 27 06:48:46 batch-ca4-02 postfix/cleanup[11491]: warning: 498D73E3003A: read timeout on cleanup socket
I would suggest the above highlighted text is the problem.

Quote:
Originally Posted by xxthegonzxx View Post
Any solution or tips please?
Take your pick: +"read timeout on cleanup socket" +postfix - Yahoo! Search Results
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 12-04-2011, 02:07 PM
Junior Member
 
Posts: 8
Default

Thank you pheonix. I searched yahoo and couldn't find a proper solution. Can you please be more specific as what the problem consist of? I'm still new to this.

Here is the output of my postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
in_flow_delay = 10s
inet_interfaces = localhost
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = usaepay.com
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relayhost = 192.168.x.x
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550

Also my master.cf:

# of the file, see the master(5) manual page (command: "man 5 master").
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - n - - smtpd -v
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr -v
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp -v
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local -v
virtual unix - n n - - virtual -v
lmtp unix - - n - - lmtp -v
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient

I also read that "if a server is being hammered from multiple directions, consider raising the in_flow_delay to 10 seconds, but only if the incoming queue is growing even while the active queue is not full and the trivial-rewrite service is using a fast transport lookup mechanism." I changed this to reflect 10 seconds but still nothing. I would really appreciate some help on this.

Last edited by xxthegonzxx; 12-04-2011 at 02:15 PM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.