[Postfixbuch-users] queue file write error

Helmut Lichtenberg heli at tzv.fal.de
Mo Sep 17 11:56:58 CEST 2012


Hallo,
seit Wochen bekomme ich Meldungen von Postfix, die so aussehen:

==============================================================================
Transcript of session follows.

 Out: 220 dcs.tzv.fal.de ESMTP Postfix
 In:  EHLO mx021.fli.bund.de
 Out: 250-dcs.tzv.fal.de
 Out: 250-PIPELINING
 Out: 250-SIZE 30000000
 Out: 250-VRFY
 Out: 250-ETRN
 Out: 250-STARTTLS
 Out: 250-ENHANCEDSTATUSCODES
 Out: 250-8BITMIME
 Out: 250 DSN
 In:  MAIL FROM:<nr26 at elaine-asp.de> SIZE=334451
 Out: 250 2.1.0 Ok
 In:  RCPT TO:<oelmann at tzv.fal.de>
 Out: 250 2.1.5 Ok
 In:  DATA
 Out: 354 End data with <CR><LF>.<CR><LF>
 Out: 451 4.3.0 Error: queue file write error
 In:  QUIT
 Out: 221 2.0.0 Bye
For other details, see the local mail logfile
==============================================================================

Im Logfile steht folgendes:

Sep 17 11:06:24 dcs postfix/smtpd[12517]: connect from mx021.fli.bund.de[193.22.112.21]
Sep 17 11:06:25 dcs postfix/policyd-weight[19640]: decided action=PREPEND X-policyd-weight: using cached result; rate: -5.5; <client=193.22.112.21> <helo=mx021.fli.bund.de> <from=nr26 at elaine-asp.de> <to=oelmann at tzv.fal.de>; delay: 0s
Sep 17 11:06:25 dcs postgrey[6286]: action=pass, reason=client whitelist, client_name=mx021.fli.bund.de, client_address=193.22.112.21, sender=nr26 at elaine-asp.de, recipient=oelmann at tzv.fal.de
Sep 17 11:06:25 dcs postfix/smtpd[12517]: NOQUEUE: client=mx021.fli.bund.de[193.22.112.21]
Sep 17 11:06:25 dcs amavis[28992]: (28992-18) ESMTP::10024 /var/lib/amavis/tmp/amavis-20120917T093427-28992: <nr26 at elaine-asp.de> -> <oelmann at tzv.fal.de> SIZE=334451 Received: from dcs.tzv.fal.de ([127.0.0.1]) by localhost (dcs.tzv.fal.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <oelmann at tzv.fal.de>; Mon, 17 Sep 2012 11:06:25 +0200 (CEST)
Sep 17 11:11:19 dcs amavis[28992]: (28992-18) Checking: PYqE1xGgUq0G [193.22.112.21] <nr26 at elaine-asp.de> -> <oelmann at tzv.fal.de>
Sep 17 11:11:26 dcs postfix/smtpd[12517]: warning: timeout talking to proxy 127.0.0.1:10024
Sep 17 11:11:26 dcs postfix/smtpd[12517]: proxy-reject: END-OF-MESSAGE: 451 4.3.0 Error: queue file write error; from=<nr26 at elaine-asp.de> to=<oelmann at tzv.fal.de> proto=ESMTP helo=<mx021.fli.bund.de>
Sep 17 11:11:26 dcs postfix/smtpd[12517]: disconnect from mx021.fli.bund.de[193.22.112.21]
==============================================================================

Ich weiß, daß dieser Fehler schon an verschiedenen Stellen diskutiert wurde.
Da ich den Hintergrund aber nicht verstehe, stochere ich nur im Dunkeln. So
habe ich z.B. in der main.cf den Parameter smtpd_proxy_timeout von 100 auf
300s erhöht, weil es irgendwo als hilfreich genannt wurde, bei mir aber mit
wenig Erfolg.
Ebenso war es in der master.cf mit '-o smtpd_proxy_options=speed_adjust'.

Kann mir hier jemand weiter helfen?

Gruß und vielen Dank
Helmut

PS:
Als Anhang die master.cf und postconf -n:

==============================================================================
master.cf
smtp             inet  n  -       -       -       -       smtpd -o smtpd_proxy_filter=127.0.0.1:10024 -o smtpd_proxy_options=speed_adjust
127.0.0.1:10025  inet  n  -       -       -       -       smtpd -o smtpd_proxy_filter= -o content_filter=

submission       inet  n  -       -       -       -       smtpd
    -o smtpd_etrn_restrictions=reject
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject

pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       -       300     1       qmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
scache    unix  -       -       -       -       1       scache
discard   unix  -       -       -       -       -       discard
retry     unix  -       -       -       -       -       error
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
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}
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient
scalemail-backend unix	-	n	n	-	2	pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}

==============================================================================
alias_maps = hash:/etc/aliases proxy:ldap:aliassource
biff = no
bounce_queue_lifetime = 3d
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
config_directory = /etc/postfix
fallback_transport = smtp
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
local_header_rewrite_clients = permit_mynetworks, permit_sasl_authenticated, permit_tls_clientcerts
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
masquerade_domains = tzv.local tzv.fal.de
masquerade_exceptions = root
message_size_limit = 30000000
message_strip_characters = \0
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, tzv.local, ganymede.tzv.fal.de, mail.tzv.fal.de
mydomain = tzv.fal.de
myhostname = dcs.tzv.fal.de
mynetworks = 127.0.0.0/8 10.1.0.0/16 10.2.0.0/16 192.108.34.0/24 192.168.55.0/24
myorigin = $mydomain
readme_directory = /usr/share/doc/postfix
sender_canonical_maps = pcre:/etc/postfix/canonical-sender
smtp_tls_security_level = may
smtpd_proxy_timeout = 300s
smtpd_recipient_restrictions =
    check_recipient_access   hash:/etc/postfix/access-recipient-rfc,
    check_client_access      cidr:/etc/postfix/access-client,
    check_helo_access        hash:/etc/postfix/access-helo,
    check_sender_access      hash:/etc/postfix/access-sender,
    check_recipient_access   hash:/etc/postfix/access-recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    reject_non_fqdn_sender,
    permit_sasl_authenticated,
    permit_mynetworks,
    reject_invalid_helo_hostname,
    reject_non_fqdn_recipient,
    reject_rbl_client    zen.spamhaus.org,
    reject_rbl_client    ix.dnsbl.manitu.net,
    reject_rhsbl_sender  blackhole.securitsage.com,
    reject_rhsbl_client  blackhole.securitsage.com,
    check_policy_service inet:[127.0.0.1]:12525,
    check_policy_service inet:[127.0.0.1]:60000,
    reject_unverified_recipient,
    reject_unauth_destination,
    permit
smtpd_restriction_classes = fli_only
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_tls_CAfile = /etc/ssl/certs/ing.certs/CAcert.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/ing.certs/mail.tzv.fal.de.pem
smtpd_tls_key_file = /etc/ssl/certs/ing.certs/mail.tzv.fal.de.key
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
soft_bounce = no
virtual_alias_domains = hash:/etc/postfix/virtual-domains
virtual_alias_maps = proxy:ldap:virtualsource hash:/etc/postfix/virtual
==============================================================================

-- 
-------------------------------------------------------------------------
Helmut Lichtenberg  <Helmut.Lichtenberg at fli.bund.de>  Tel.: 05034/871-128
Institut für Nutztiergenetik (FLI)         31535 Neustadt         Germany
-------------------------------------------------------------------------



Mehr Informationen über die Mailingliste Postfixbuch-users