Re: SMTP Connections Issue...Again

From: Nick Powers (no email)
Date: Thu Sep 01 2005 - 16:40:24 EDT

  • Next message: Magnus Bäck: "Re: Local delivery without using /etc/passwd"

    >>> Noel Jones <> 09/01/05 12:02 pm >>>
    At 08:31 AM 9/1/2005, Nick Powers wrote:
    > > there mail gets distributed to 2 Mail Servers. When I look at netstat
    > > for smtp connections I only see connections inbound from the 2 Qmail
    > > MX hosts and none to my desitnation Groupwise servers. Every so often
    > > when I look at netstat I see 1 or 2 connections to the Mail servers

    >Find where your bottleneck is. Are the Groupwise servers ready? Do
    >they respond quickly if you telnet port 25 from your postfix
    >box? What is postfix waiting on? Is the postfix box spinning it's
    >wheels on something? top/vmstat/iostat
    >Is your queue choked with a bizillion undeliverable deferred
    >messages? The qshape program will help determine that.

    >What about your content filter? is the mail in postfix waiting on
    >the content filter or on the destination?

    >http://www.postfix.org/TUNING_README.html
    >http://www.postfix.org/QSHAPE_README.html
    >qshape is bundled with Postfix 2.1 and newer source under the
    >"auxiliary" directory or available separately here:
    >http://www.stahl.bau.tu-bs.de/~hildeb/postfix/scripts/

    >default_destination_concurrency_limit = 100

    >This seems insanely high. Only suitable for a system than never
    >sends mail to the internet (incoming only gateway), and where the
    >internal destination is prepared to accept 100 parallel
    >connections. This could be contributing to your problem if the
    >Groupwise servers can't handle this many connections. Postfix 2.2
    >has connection caching which improves performance when delivering
    >large amounts of mail to a small set of hosts.

    >I would if I should be using canonical aliasing instead of
    >virtual??? Could that cause a problem??

    >This is unlikely to be part of your performance problem.
    >Canonical_maps and virtual_alias_maps do different things for
    >different purposes. Which to use depends on what you want to
    >happen. Typically virtual_alias_maps are used to rewrite mail to the
    >correct internal address, cannonical_maps are used to rewrite
    >internal addresses to "standard" form.
    >http://www.postfix.org/ADDRESS_REWRITING_README.html#canonical
    >http://www.postfix.org/ADDRESS_REWRITING_README.html#virtual

    >--
    >Noel Jones

    Thanks for the feedback Noel, I appreciate it. I did a quick scan of my maillog and found these errors:

    Aug 30 20:00:27 roadkill postfix/qmgr[20066]: warning: premature end-of-input on private/rewrite sock et while reading input attribute name
    Aug 30 20:00:28 roadkill postfix/qmgr[20066]: warning: problem talking to service rewrite: Connection reset by peer
    Aug 30 20:15:18 roadkill postfix/qmgr[20066]: warning: premature end-of-input on private/rewrite sock et while reading input attribute name
    Aug 30 20:15:19 roadkill postfix/qmgr[20066]: warning: problem talking to service rewrite: Connection reset by peer
    Aug 30 20:30:21 roadkill postfix/qmgr[20066]: warning: premature end-of-input on private/rewrite sock et while reading input attribute name
    Aug 30 20:30:21 roadkill postfix/qmgr[20066]: warning: problem talking to service rewrite: Connection reset by peer
    Aug 30 21:00:22 roadkill postfix/qmgr[20066]: warning: premature end-of-input on private/rewrite sock et while reading input attribute name
    Aug 30 21:00:23 roadkill postfix/qmgr[20066]: warning: problem talking to service rewrite: Connection reset by peer
    Aug 30 21:30:22 roadkill postfix/qmgr[20066]: warning: premature end-of-input on private/rewrite sock et while reading input attribute name
    Aug 30 21:30:23 roadkill postfix/qmgr[20066]: warning: problem talking to service rewrite: Connection reset by peer
    Aug 30 21:45:14 roadkill postfix/qmgr[20066]: warning: premature end-of-input on private/rewrite sock et while reading input attribute name
    Aug 30 21:45:15 roadkill postfix/qmgr[20066]: warning: problem talking to service rewrite: Connection reset by peer
    Aug 30 22:38:12 roadkill postfix/qmgr[1082]: warning: premature end-of-input on private/rewrite socke t while reading input attribute name
    Aug 30 22:38:13 roadkill postfix/qmgr[1082]: warning: problem talking to service rewrite: Connection reset by peer
    Aug 30 23:15:14 roadkill postfix/qmgr[2402]: warning: premature end-of-input on private/rewrite socke t while reading input attribute name
    Aug 30 23:15:15 roadkill postfix/qmgr[2402]: warning: problem talking to service rewrite: Connection reset by peer

    Aug 31 12:24:58 roadkill postfix/qmgr[5131]: warning: problem talking to service rewrite: Connection reset by peer
    Aug 31 12:25:01 roadkill postfix/qmgr[5131]: warning: connect #1 to subsystem private/rewrite: Connec tion refused
    Aug 31 12:25:12 roadkill postfix/qmgr[5131]: warning: connect #2 to subsystem private/rewrite: Connec tion refused
    Aug 31 12:25:22 roadkill postfix/qmgr[5131]: warning: connect #3 to subsystem private/rewrite: Connec tion refused
    Aug 31 12:25:32 roadkill postfix/qmgr[5131]: warning: connect #4 to subsystem private/rewrite: Connec tion refused
    Aug 31 12:25:42 roadkill postfix/qmgr[5131]: warning: connect #5 to subsystem private/rewrite: Connec tion refused
    Aug 31 12:25:52 roadkill postfix/qmgr[5131]: warning: connect #6 to subsystem private/rewrite: Connec tion refused
    Aug 31 12:26:02 roadkill postfix/qmgr[5131]: warning: connect #7 to subsystem private/rewrite: Connec tion refused
    Aug 31 12:26:12 roadkill postfix/qmgr[5131]: warning: connect #8 to subsystem private/rewrite: Connec tion refused
    Aug 31 12:26:22 roadkill postfix/qmgr[5131]: warning: connect #9 to subsystem private/rewrite: Connec tion refused
    Aug 31 12:26:32 roadkill postfix/qmgr[5131]: warning: connect #10 to subsystem private/rewrite: Conne ction refused
    Aug 31 12:26:42 roadkill postfix/qmgr[5131]: fatal: connect #11 to subsystem private/rewrite: Connect ion refused
    Aug 31 13:27:16 roadkill postfix/qmgr[8281]: warning: premature end-of-input on private/smtp socket w hile reading input attribute name
    Aug 31 13:27:16 roadkill postfix/qmgr[8281]: warning: private/smtp socket: malformed response
    Aug 31 13:27:16 roadkill postfix/qmgr[8281]: warning: transport smtp failure -- see a previous warnin g/fatal/panic logfile record for the problem description

    The first group of errors was occuring as the queue size was continually grow and very little mail was leaving. Note: this box is only used for internal delivery of mail no external delivery. Any thoughts anyone??

    Nick


  • Next message: Magnus Bäck: "Re: Local delivery without using /etc/passwd"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD