Results 1 to 4 of 4

Thread: Postfix not sending incoming queue. Unable to send mail.

  1. #1
    xxthegonzxx is offline Banned
    Join Date
    Nov 2011
    Posts
    10
    Rep Power
    0

    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.

  2. #2
    xxthegonzxx is offline Banned
    Join Date
    Nov 2011
    Posts
    10
    Rep Power
    0

    Default

    Anyone out there experience this? Any solution or tips please?

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    xxthegonzxx is offline Banned
    Join Date
    Nov 2011
    Posts
    10
    Rep Power
    0

    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 03:15 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 06:47 AM
  3. Issues...
    By timothyalangorman in forum Administrators
    Replies: 3
    Last Post: 11-19-2007, 10:43 AM
  4. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 03:34 PM
  5. Mail not getting to mail boxes
    By ehults in forum Installation
    Replies: 5
    Last Post: 10-31-2005, 09:24 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •