AFP548 Changing the world one server at a time.

Revisited: localhost postfix/qmgr[414]: warning: connect to transport smtp-amavis: Connection refuse

Home › Forums › OS X Server and Client Discussion › Mail › Revisited: localhost postfix/qmgr[414]: warning: connect to transport smtp-amavis: Connection refuse

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #360408
    darinsee
    Participant

    HI AFP548 folks – I saw some threads on the above subject via google, and thought I’d see if I could get help here for the error:
    localhost postfix/qmgr[414]: warning: connect to transport smtp-amavis: Connection refused

    I saw that Joel has stated that either the master.cf file is misconfigured, or amavisd is not running –

    Amavisd is running as far as i can tell – and the master.cf file hasn’t been edited in weeks – but these errors suddenly sprung up yesterday… A copy of my master.cf is below, in case any would like to look –

    THANKS AN INCREDIBLE LOT IN ADVANCE – everyone’s in a panic w/o mail, as I’m sure you folks can imagine…

    Darin See –

    master.cf
    >>>>>>>>>>>

    # ==========================================================================
    # service type private unpriv chroot wakeup maxproc command + args
    # (yes) (yes) (yes) (never) (100)
    # ==========================================================================
    smtp inet n – n – – smtpd
    #smtps inet n – n – – smtpd
    # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
    #submission inet n – n – – smtpd
    # -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
    #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 nqmgr
    #tlsmgr fifo – – n 300 1 tlsmgr
    rewrite unix – – n – – trivial-rewrite
    bounce unix – – n – 0 bounce
    defer unix – – n – 0 bounce
    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
    virtual unix – n n – – virtual
    lmtp unix – – n – – lmtp
    #
    # Interfaces to non-Postfix software. Be sure to examine the manual
    # pages of the non-Postfix software to find out what options it wants.
    #
    # maildrop. See the Postfix MAILDROP_README file for details.
    #
    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)
    cyrus unix – n n – 10 pipe
    user=cyrus argv=/usr/bin/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

    #360409
    darinsee
    Participant

    As it turns out – the master.cf file HAD been edited, with the amavis lines completely missing.

    Here’s what was gone if it helps someone else down the road …

    smtp-amavis unix – – y – 2 smtp
    -o smtp_data_done_timeout=1200
    -o disable_dns_lookups=yes
    127.0.0.1:10025 inet n – y – – smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o smtpd_helo_restrictions=
    -o smtpd_client_restrictions=
    -o smtpd_sender_restrictions=
    -o mynetworks=127.0.0.0/8

    #360411
    Jacco
    Participant

    I’ve seen this a few times already with Mac OS X 10.3 Server. keep an backup in the ‘/etc/postfix’ directory, so you can copy that inplace.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.