misconfiguration: local delivery deferred: connect to transport local: Connection refused

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

misconfiguration: local delivery deferred: connect to transport local: Connection refused

Nick Urbanik-2

Dear Folks,

Local delivery failed on my box, which also runs a couple of mailman
mailing lists, after I modified the configuration :-)
$ mailq|grep '^[^ \t]'| wc -l
798

Here are some warning messages from /var/log/maillog:
Sep  4 07:21:02 www3 postfix/qmgr[8080]: warning: connect to transport local: Connection refused
Sep  4 07:21:02 www3 postfix/error[8440]: 0671C24746C: to=<[hidden email]>, relay=none, delay=0.02, delays=0.01/0/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Sep  4 07:21:52 www3 postfix/error[8440]: A939F2471D4: to=<[hidden email]>, relay=none, delay=0.08, delays=0.05/0.02/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Sep  4 07:22:04 www3 postfix/qmgr[8080]: warning: connect to transport local: Connection refused
Sep  4 07:22:04 www3 postfix/error[8428]: 97429247252: to=<[hidden email]>, relay=none, delay=0.03, delays=0.02/0/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)

Here is a sequence of messages from /var/log/maillog:
Sep  4 07:34:43 www3 postfix/smtpd[8664]: connect from localhost.localdomain[127.0.0.1]
Sep  4 07:34:43 www3 postfix/smtpd[8664]: B0EA2247517: client=localhost.localdomain[127.0.0.1]
Sep  4 07:34:43 www3 postfix/cleanup[8829]: B0EA2247517: message-id=<[hidden email]>
Sep  4 07:34:43 www3 postfix/smtpd[8664]: disconnect from localhost.localdomain[127.0.0.1]
Sep  4 07:34:43 www3 postfix/qmgr[8080]: B0EA2247517: from=<[hidden email]>, size=8978, nrcpt=1 (queue active)
Sep  4 07:34:43 www3 postfix/qmgr[8080]: warning: connect to transport local: Connection refused
Sep  4 07:34:43 www3 amavis[9423]: (09423-02-13) FWD via SMTP: <[hidden email]> -> <[hidden email]>,BODY=7BIT 250 2.6.0 Ok, id=09423-02-13, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B0EA2247517
Sep  4 07:34:43 www3 postfix/error[9403]: B0EA2247517: to=<[hidden email]>, relay=none, delay=0.03, delays=0.02/0/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Sep  4 07:34:43 www3 amavis[9423]: (09423-02-13) Passed CLEAN, MYNETS LOCAL [127.0.0.1] [130.219.34.129] <[hidden email]> -> <[hidden email]>, Message-ID: <[hidden email]>, mail_id: 8AhY5RXcRL0d, Hits: -5.314, size: 8735, queued_as: B0EA2247517, 6217 ms
Sep  4 07:34:43 www3 postfix/smtp[9456]: 84551401F8: to=<[hidden email]>, orig_to=<nicku@localhost>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=13, delay=12001, delays=10686/1309/0/6.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B0EA2247517)
Sep  4 07:34:43 www3 postfix/qmgr[8080]: 84551401F8: removed

$ sudo qshape deferred
                                        T  5 10 20  40  80 160 320 640 1280 1280+
                               TOTAL 616 23 15 51 155 302   9   0   1   60     0
                 localhost.nicku.org 616 23 15 51 155 302   9   0   1   60     0
$ sudo postfinger --nowarn
postfinger - postfix configuration on Thu Sep  4 07:30:22 EST 2008
version: 1.30

--System Parameters--
mail_version = 2.5.1
hostname = www3.nicku.org
uname = Linux www3.nicku.org 2.6.25.14-108.fc9.i686 #1 SMP Mon Aug 4 14:08:11 EDT 2008 i686 i686 i386 GNU/Linux

--Packaging information--
looks like this postfix comes from RPM package: postfix-2.5.1-2.fc9.i386

--main.cf non-default parameters--
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases
content_filter = smtp-amavis:[127.0.0.1]:10024
local_recipient_maps = $alias_maps unix:passwd.byname
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
owner_request_special = no
readme_directory = /usr/share/doc/postfix-2.5.1/README_FILES
recipient_delimiter = +
relayhost = mail.optusnet.com.au
sample_directory = /usr/share/doc/postfix-2.5.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
unknown_local_recipient_reject_code = 450

--master.cf--
smtp      inet  n       -       n       -       -       smtpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
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
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
        -o smtp_fallback_relay=
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
alocal     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
maildrop  unix  -       n       n       -       -       pipe
   flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix  -       n       n       -       -       pipe
   flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
cyrus     unix  -       n       n       -       -       pipe
   user=cyrus argv=/usr/lib/cyrus-imapd/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
smtp-amavis unix - - n - 2  smtp
     -o smtp_data_done_timeout=1200
     -o smtp_send_xforward_command=yes
     -o disable_dns_lookups=yes
     -o max_use=20
127.0.0.1:10025 inet n - n - -  smtpd
     -o content_filter=
     -o smtpd_restriction_classes=
     -o smtpd_delay_reject=no
     -o smtpd_client_restrictions=permit_mynetworks,reject
     -o smtpd_helo_restrictions=
     -o smtpd_sender_restrictions=
     -o smtpd_recipient_restrictions=permit_mynetworks,reject
     -o smtpd_data_restrictions=reject_unauth_pipelining
     -o smtpd_end_of_data_restrictions=
     -o mynetworks=127.0.0.0/8
     -o smtpd_error_sleep_time=0
     -o smtpd_soft_error_limit=1001
     -o smtpd_hard_error_limit=1000
     -o smtpd_client_connection_count_limit=0
     -o smtpd_client_connection_rate_limit=0
     -o smtpd_milters=
     -o local_header_rewrite_clients=
     -o local_recipient_maps=
     -o relay_recipient_maps=
     -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
scache  unix - - n - 1 scache
discard  unix - - n - - discard
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
retry     unix  -       -       n       -       -       error

-- end of postfinger output --

Any suggestions gratefully received.
--
Nick Urbanik http://nicku.org 808-71011 [hidden email]
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24  ID: BB9D2C24
I disclaim, therefore I am.

attachment0 (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: misconfiguration: local delivery deferred: connect to transport local: Connection refused

Ralf Hildebrandt
* Nick Urbanik <[hidden email]>:
>
> Dear Folks,
>
> Local delivery failed on my box, which also runs a couple of mailman
> mailing lists, after I modified the configuration :-)

master.cf, remove the "a" before "local"

Next time, don't use vi

> alocal     unix  -       n       n       -       -       local



--
Ralf Hildebrandt ([hidden email])          [hidden email]
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de                              I'm looking for a job
Als Kind lernen die Leute, von Fremden keine S��igkeiten anzunehmen.
Dieser Schutzmechanismus wird au�er Kraft gesetzt, sobald sie vor
einem Bildschirm sitzen.
Reply | Threaded
Open this post in threaded view
|

Re: misconfiguration: local delivery deferred: connect to transport local: Connection refused

mouss-2
In reply to this post by Nick Urbanik-2
Nick Urbanik wrote:

>
> Dear Folks,
>
> Local delivery failed on my box, which also runs a couple of mailman
> mailing lists, after I modified the configuration :-)
> $ mailq|grep '^[^ \t]'| wc -l
> 798
>
> Here are some warning messages from /var/log/maillog:
> Sep  4 07:21:02 www3 postfix/qmgr[8080]: warning: connect to transport
> local: Connection refused


$ grep "^local" master.cf


> [snip]
> alocal     unix  -       n       n       -       -       local

typo there. someone added an 'a' to "local" so it became "alocal".



Reply | Threaded
Open this post in threaded view
|

Re: misconfiguration: local delivery deferred: connect to transport local: Connection refused

Jimbo-3
In reply to this post by Nick Urbanik-2
Nick Urbanik wrote:
> error     unix  -       -       n       -       -       error
> alocal     unix  -       n       n       -       -       local
> virtual   unix  -       n       n       -       -       virtual

Did you accidentally type an 'a' while editing master.cf?
Reply | Threaded
Open this post in threaded view
|

Re: misconfiguration: local delivery deferred: connect to transport local: Connection refused

Nick Urbanik-2
In reply to this post by Ralf Hildebrandt
Dear Folks,

On 03/09/08 23:45 +0200, Ralf Hildebrandt wrote:
>* Nick Urbanik <[hidden email]>:
>master.cf, remove the "a" before "local"

Thank you so much!  I'm an idiot!

>Next time, don't use vi

Good advice.
--
Nick Urbanik http://nicku.org 808-71011 [hidden email]
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24  ID: BB9D2C24
I disclaim, therefore I am.

attachment0 (204 bytes) Download Attachment