[Postfixbuch-users] Problem mit Adressen bei Temporary failures

Jan Scholten Jammer at gmx.de
Fr Feb 17 09:46:23 CET 2006


Guten Tag Postfixbuch-users Postfixbuch-users,

Konfiguration (soweit verfügbar per apt-get):
Debian stable
Cyrus, web-cyradm
Postfix, mysql
Amavis

Wenn ich eine Email an einen User schreibe dessen Postfach voll ist (Cyrus quota) wird die Mail nicht zugestellt,
sondern eine Temporary failure Mail erstellt. Diese hat aber eine falsche Adresse:
Log beachte die vorletzte Zeile "webmaster.cyrin.de at Serverdomain.de" was wohl eigentlich irgendwie
anderes heißen sollte.:
Feb 17 00:05:20 Serverdomain postfix/qmgr[816]: 7B5C3F3804F: from=<jammer at gmx.de>, size=369, nrcpt=1 (queue active)
Feb 17 00:05:20 Serverdomain amavis[5397]: (05397-06) ESMTP::10026 /var/lib/amavis/amavis-20060216T224914-05397: <jammer at gmx.de> -> <addresse at domain1.de> Received:
SIZE=369 from Serverdomain.de ([127.0.0.1]) by localhost (Serverdomain.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 05397-06 for <addresse at domain1.de>; Fri, 1
7 Feb 2006 00:05:20 +0100 (CET)
Feb 17 00:05:20 Serverdomain amavis[5397]: (05397-06) Checking: <jammer at gmx.de> -> <addresse at domain1.de>
Feb 17 00:05:24 Serverdomain amavis[5397]: (05397-06) spam_scan: hits=-0.415 tests=AWL,BAYES_00,MISSING_SUBJECT,MSGID_FROM_MTA_ID,NO_REAL_NAME,RCVD_IN_NJABL_DUL,UN
DISC_RECIPS
Feb 17 00:05:24 Serverdomain amavis[5397]: (05397-06) SPAM-TAG, <jammer at gmx.de> -> <addresse at domain1.de>, No, hits=-0.4 tagged_above=-999.0 required=5.0 tests=AWL,
BAYES_00, MISSING_SUBJECT, MSGID_FROM_MTA_ID, NO_REAL_NAME, RCVD_IN_NJABL_DUL, UNDISC_RECIPS
Feb 17 00:05:24 Serverdomain amavis[5397]: (05397-06) FWD via SMTP: [127.0.0.1]:10025 <jammer at gmx.de> -> <addresse at domain1.de>
Feb 17 00:05:24 Serverdomain postfix/smtpd[7727]: connect from localhost.localdomain[127.0.0.1]
Feb 17 00:05:24 Serverdomain postfix/smtpd[7727]: 3C212F38054: client=localhost.localdomain[127.0.0.1]
Feb 17 00:05:24 Serverdomain postfix/cleanup[7721]: 3C212F38054: message-id=<20060216230445.7B5C3F3804F at Serverdomain.de>
Feb 17 00:05:24 Serverdomain postfix/qmgr[816]: 3C212F38054: from=<jammer at gmx.de>, size=1004, nrcpt=1 (queue active)
Feb 17 00:05:24 Serverdomain amavis[5397]: (05397-06) Passed, <jammer at gmx.de> -> <addresse at domain1.de>, Message-ID: <20060216230445.7B5C3F3804F at Serverdomain.de>, Hits: -
0.415
Feb 17 00:05:24 Serverdomain amavis[5397]: (05397-06) TIMING [total 3605 ms] - SMTP EHLO: 2 (0%), SMTP pre-MAIL: 0 (0%), SMTP pre-DATA-flush: 1 (0%), SMTP DATA: 33
 (1%), body hash: 0 (0%), mime_decode: 5 (0%), get-file-type: 9 (0%), decompose_part: 1 (0%), parts: 0 (0%), AV-scan-1: 987 (27%), SA msg read: 1 (0%), SA par
se: 1 (0%), SA check: 2500 (69%), fwd-connect: 18 (1%), fwd-mail-from: 2 (0%), fwd-rcpt-to: 3 (0%), write-header: 1 (0%), fwd-data: 0 (0%), fwd-data-end: 38 (
1%), fwd-rundown: 1 (0%), unlink-1-files: 3 (0%), rundown: 0 (0%)
Feb 17 00:05:24 Serverdomain postfix/smtp[7722]: 7B5C3F3804F: to=<addresse at domain1.de>, relay=localhost[127.0.0.1], delay=39, status=sent (250 2.6.0 Ok, id=05397-06
, from MTA: 250 Ok: queued as 3C212F38054)
Feb 17 00:05:24 Serverdomain postfix/qmgr[816]: 7B5C3F3804F: removed
Feb 17 00:05:24 Serverdomain postfix/smtpd[7727]: disconnect from localhost.localdomain[127.0.0.1]
Feb 17 00:05:24 Serverdomain cyrus/master[7735]: about to exec /usr/lib/cyrus/bin/lmtpd
Feb 17 00:05:24 Serverdomain cyrus/lmtpunix[7735]: executed
Feb 17 00:05:24 Serverdomain cyrus/lmtpd[7735]: accepted connection
Feb 17 00:05:24 Serverdomain cyrus/lmtpd[7735]: lmtp connection preauth'd as postman
Feb 17 00:05:24 Serverdomain postfix/pipe[7733]: 3C212F38054: to=<webmaster.cyrin.de at Serverdomain.de>, orig_to=<addresse at domain1.de>, relay=cyrus, delay=0, status=deferr
ed (temporary failure)
Feb 17 00:05:40 Serverdomain cyrus/master[7746]: about to exec /usr/lib/cyrus/bin/imapd


postconf -n:
alias_database = hash:/etc/aliases,mysql:/etc/postfix/aliases.mysql
alias_maps = hash:/etc/aliases,mysql:/etc/postfix/aliases.mysql
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[localhost]:10026
inet_interfaces = all
mailbox_size_limit = 0
mailbox_transport = cyrus
message_size_limit = 100000000
mydestination = localhost,mysql:/etc/postfix/virtual_domains.mysql
myhostname = Serverdomain.de
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
receive_override_options = no_address_mappings
recipient_delimiter = +
relayhost =
sender_canonical_maps = mysql:/etc/postfix/canonical.mysql
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated,                permit_mynetworks,                reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/ssl/private/pure-ftpd.pem
smtpd_tls_cert_file = /etc/ssl/private/pure-ftpd.pem
smtpd_tls_key_file = /etc/ssl/private/pure-ftpd.pem
smtpd_use_tls = yes
virtual_alias_maps = mysql:/etc/postfix/virtual.mysql


master.cf:
smtp      inet  n       -       -       -       -       smtpd
#submission inet n      -       -       -       -       smtpd
#       -o smtpd_etrn_restrictions=reject
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       -       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
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
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
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
#
# 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}
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}

# only used by postfix-tls
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
#smtps    inet  n       -       n       -       -       smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587      inet  n       -       n       -       -       smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes


cyrus     unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/usr/sbin/cyrdeliver -r ${sender} -m ${extension} ${user}

127.0.0.1:10025 inet    n       -       y       -       -       smtpd
        -o content_filter=
        -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8
        -o strict_rfc821_envelopes=yes
        -o smtpd_authorized_xforward_hosts=127.0.0.0/8


smtp-amavis     unix    -       -       y       -       2       smtp
        -o smtp_data_done_timeout=1200
        -o disable_dns_lookups=yes
        -o smtp_send_xforward_command=yes




Vielleicht hat jemand nen Tip? ich fände es ja eigentlich gut wenn der ursprüngliche Sender eine
Nachricht ala 452/552 bekommt.

Jan

-- 
Denken ist die schwerste Arbeit, die es gibt. 
Das ist wahrscheinlich der Grund, warum sich so wenige damit beschäftigen. 
- Henry Ford

Mit freundlichen Grüßen
Jan Scholten
mailto:Jammer at gmx.de




Mehr Informationen über die Mailingliste Postfixbuch-users