SMTP Connections Issue...Again

From: Nick Powers (no email)
Date: Thu Sep 01 2005 - 08:44:25 EDT

  • Next message: Keith Matthews: "Re: postfix seems to be corrupt, cant send mail with php"

    Thanks for the feedback on the previous issue everyone. Same issue, another question: recap: I have 2 Qmail MX hosts filtering down mail to 1 Postfix machine running Sophos Pure Message 5.0 and then from 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 but something like 50-150 connections from my 2 Qmail MX hosts. Also the queue size on the postfix box is contiually rising. This is a consequence of, I believe, the fact that Postfix is not or cannot send to the 2 destination mail servers. I am using virtual aliasing to get the mail to the 2 Mail servers. Here is my postconf -n: If anybody has any ideas as to why postfix is sitting there continually queueing up and not delivering these messages I would appreciate it!!

    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = pmx:127.0.0.1:10025
    daemon_directory = /usr/libexec/postfix
    default_destination_concurrency_limit = 100
    inet_interfaces = all
    local_recipient_maps =
    local_transport = error:local mail delivery is disabled
    mail_owner = postfix
    mailq_path = /opt/pmx/postfix/bin/mailq
    manpage_directory = /usr/share/man
    mydestination = /opt/pmx/postfix/etc/localdomains
    mydomain = pmx.trentu.ca
    myhostname = postfix.trentu.ca
    mynetworks = 127.0.0.0/8, 127.0.0.0/24, 192.75.12.0/24, 209.42.127.0/24
    myorigin = $mydomain
    newaliases_path = /opt/pmx/postfix/bin/newaliases
    parent_domain_matches_subdomains = pmx.trentu.ca
    queue_directory = /opt/pmx/postfix/var/spool/mqueue
    readme_directory = /usr/share/doc/postfix-2.0.16/README_FILES
    recipient_delimiter = +
    relay_domains = $mydestination
    relay_recipient_maps =
    sample_directory = /usr/share/doc/postfix-2.0.16/samples
    sendmail_path = /opt/pmx/postfix/sbin/sendmail
    setgid_group = postdrop
    smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
    transport_maps = hash:/opt/pmx/postfix/etc/transport
    unknown_local_recipient_reject_code = 550
    virtual_alias_maps = hash:/opt/pmx/postfix/etc/virtual

    Here is my master.cf

    # ==========================================================================
    # service type private unpriv chroot wakeup maxproc command + args
    # (yes) (yes) (yes) (never) (100)
    # ==========================================================================
    smtp inet n - n - - smtpd
    #submission inet n - n - - smtpd
    # -o smtpd_etrn_restrictions=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
    #qmgr fifo n - n 300 1 oqmgr
    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
    relay unix - - n - - smtp
    # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
    showq unix n - n - - showq
    error unix - - n - - error
    #local unix - n n - - local -v
    virtual unix - n n - - virtual
    lmtp unix - - n - - lmtp
    anvil unix - - n - 1 anvil

    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=/cyrus/bin/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=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
    uucp unix - n n - - pipe
      flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    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
    # BEGIN pmx-send FILTER CONFIG # DO NOT EDIT THIS LINE!
    pmx unix - - n - 10 smtp
    # END pmx-send FILTER CONFIG # DO NOT EDIT THIS LINE!

    # BEGIN pmx-recv FILTER CONFIG # DO NOT EDIT THIS LINE!
    127.0.0.1:10026 inet n - n - 20 smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o myhostname=localhost
        -o smtpd_helo_restrictions=
        -o smtpd_client_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8
    # END pmx-recv FILTER CONFIG # DO NOT EDIT THIS LINE!

    Thanks,

    Nick


  • Next message: Keith Matthews: "Re: postfix seems to be corrupt, cant send mail with php"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD