[Postfixbuch-users] DSN von Amavis und Postfix
Yves Bilgeri
yves.bilgeri at bbw.ch
Do Jun 7 16:22:33 CEST 2007
Hallo,
wenn ich über unser Webmail eine Mail an einen nicht existierenden
Benutzer sende, bekomme ich jeweils eine DSN von Postfix und Amavis
zurück, sende ich die Mail jedoch gleichzeitig an einen korrekten
Empfänger und an einen nicht existierenden Benutzer kommt nur von Amavis
eine DSN zurück.
Eigentlich möchte ich das nur Postfix diese DSN versendet, sehe aber
nicht wo der Fehler liegt.
Besten Dank für eure Hilfe,
Yves
postconf -n:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_at_myorigin = no
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
delay_warning_time = 4h
disable_vrfy_command = yes
inet_interfaces = all
mail_spool_directory = /var/mail/
mailbox_size_limit = 0
maximal_queue_lifetime = 3d
mydestination = localhost.bbw.ch, localhost
myhostname = mail.bbw.ch
mynetworks = 127.0.0.0/8, 212.117.96.188
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_defer_if_no_mx_address_found = yes
smtp_mx_session_limit = 4
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_helo_required = yes
smtpd_policy_service_timeout = 240s
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
check_helo_access hash:/etc/postfix/helo_access,
reject_invalid_hostname,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_unauth_destination,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unlisted_recipient,
check_recipient_access
hash:/etc/postfix/recipient_access_protected_destinations,
reject_rbl_client zen.spamhaus.org
check_policy_service inet:127.0.0.1:60000
smtpd_reject_unlisted_sender = no
smtpd_restriction_classes = insiders_only
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sender_restrictions = reject_non_fqdn_sender,
check_sender_access hash:/etc/postfix/sender_access
smtpd_tls_CAfile = /etc/postfix/sasl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/sasl/sslcert.pem
smtpd_tls_key_file = /etc/postfix/sasl/sslkey.pem
smtpd_tls_loglevel = 1
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1000
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop
virtual_uid_maps = static:1000
Log-Auszug an nicht existerenden Benutzer:
Jun 7 15:32:05 mail postfix/pickup[25250]: 3375F40008C: uid=33
from=<yves.bilgeri at bbw.ch>
Jun 7 15:32:05 mail postfix/cleanup[25282]: 3375F40008C:
message-id=<20070607153205.98d9p62wv4kwok8k at mail.bbw.ch>
Jun 7 15:32:05 mail postfix/qmgr[25251]: 3375F40008C:
from=<yves.bilgeri at bbw.ch>, size=625, nrcpt=1 (queue active)
Jun 7 15:32:05 mail amavis[22388]: (22388-09) ESMTP::10024
/var/lib/amavis/tmp/amavis-20070607T141842-22388: <yves.bilgeri at bbw.ch>
-> <hansli at bbw.ch> SIZE=625 Received: from mail.bbw.ch ([127.0.0.1]) by
localhost (mail.bbw.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
for <hansli at bbw.ch>; Thu, 7 Jun 2007 15:32:05 +0200 (CEST)
Jun 7 15:32:05 mail amavis[22388]: (22388-09) Checking: dhpIlgRyFCgj
<yves.bilgeri at bbw.ch> -> <hansli at bbw.ch>
Jun 7 15:32:05 mail amavis[22388]: (22388-09) p001 1 Content-Type:
text/plain, size: 4 B, name:
Jun 7 15:32:05 mail amavis[22388]: (22388-09) SPAM-TAG,
<yves.bilgeri at bbw.ch> -> <hansli at bbw.ch>, No, score=-1.3
tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.44, AWL=-0.040,
NO_REAL_NAME=0.18]
Jun 7 15:32:05 mail postfix/smtpd[25289]: connect from
localhost.localdomain[127.0.0.1]
Jun 7 15:32:05 mail postfix/smtpd[25289]: NOQUEUE: reject: RCPT from
localhost.localdomain[127.0.0.1]: 550 5.1.1 <hansli at bbw.ch>: Recipient
address rejected: User unknown in virtual mailbox table;
from=<yves.bilgeri at bbw.ch> to=<hansli at bbw.ch> proto=ESMTP helo=<localhost>
Jun 7 15:32:05 mail amavis[22388]: (22388-09) response to RCPT TO for
<hansli at bbw.ch>: "550 5.1.1 <hansli at bbw.ch>: Recipient address rejected:
User unknown in virtual mailbox table"
Jun 7 15:32:05 mail amavis[22388]: (22388-09) (!) mail_via_smtp: DATA
skipped, no valid recips, 0
Jun 7 15:32:05 mail amavis[22388]: (22388-09) (!) FWD via SMTP:
<yves.bilgeri at bbw.ch> -> <hansli at bbw.ch>, 550 5.6.0 Failed, id=22388-09,
from MTA([127.0.0.1]:10025): 550 5.1.1 Failed, id=22388-09, from
MTA([127.0.0.1]:10025): 550 5.1.1 <hansli at bbw.ch>: Recipient address
rejected: User unknown in virtual mailbox table
Jun 7 15:32:05 mail amavis[22388]: (22388-09) DSN: NOTIFICATION:
Action:failed, RELAYED 550 Clean, <yves.bilgeri at bbw.ch> -> <hansli at bbw.ch>
Jun 7 15:32:05 mail postfix/smtpd[25289]: disconnect from
localhost.localdomain[127.0.0.1]
Jun 7 15:32:05 mail postfix/smtpd[25289]: connect from
localhost.localdomain[127.0.0.1]
Jun 7 15:32:05 mail postfix/smtpd[25289]: C63F040008B:
client=localhost.localdomain[127.0.0.1]
Jun 7 15:32:05 mail postfix/cleanup[25282]: C63F040008B:
message-id=<DSNdhpIlgRyFCgj at mail.bbw.ch>
Jun 7 15:32:05 mail postfix/smtpd[25277]: connect from
unknown[125.93.177.66]
Jun 7 15:32:05 mail postfix/qmgr[25251]: C63F040008B: from=<>,
size=2830, nrcpt=1 (queue active)
Jun 7 15:32:05 mail postfix/smtpd[25289]: disconnect from
localhost.localdomain[127.0.0.1]
Jun 7 15:32:05 mail amavis[22388]: (22388-09) SEND via SMTP: <> ->
<yves.bilgeri at bbw.ch>, ENVID=AM..20070607T133205Z at mail.bbw.ch 250 2.6.0
Ok, id=22388-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
C63F040008B
Jun 7 15:32:05 mail amavis[22388]: (22388-09) Blocked CLEAN,
[212.117.96.186] <yves.bilgeri at bbw.ch> -> <hansli at bbw.ch>, Message-ID:
<20070607153205.98d9p62wv4kwok8k at mail.bbw.ch>, mail_id: dhpIlgRyFCgj,
Hits: -1.3, 700 ms
Jun 7 15:32:05 mail amavis[22388]: (22388-09) TIMING [total 703 ms] -
SMTP EHLO: 4 (0%)0, SMTP pre-MAIL: 1 (0%)1, SMTP pre-DATA-flush: 3
(0%)1, SMTP DATA: 41 (6%)7, body_digest: 1 (0%)7, gen_mail_id: 0 (0%)7,
mime_decode: 10 (1%)8, get-file-type1: 16 (2%)11, decompose_part: 1
(0%)11, parts_decode: 0 (0%)11, AV-scan-1: 3 (0%)11, AV-scan-2: 0
(0%)11, spam-wb-list: 2 (0%)12, SA msg read: 0 (0%)12, SA parse: 2
(0%)12, SA check: 318 (45%)57, SA finish: 4 (1%)58, update_cache: 2
(0%)58, decide_mail_destiny: 1 (0%)58, fwd-connect: 46 (7%)65,
fwd-mail-from: 9 (1%)66, fwd-rcpt-to: 9 (1%)67, fwd-rundown: 1 (0%)68,
prepare-dsn: 25 (4%)71, fwd-connect: 6 (1%)72, fwd-mail-from: 1 (0%)72,
fwd-rcpt-to: 31 (4%)76, fwd-data-cmd: 1 (0%)77, write-header: 1 (0%)77,
fwd-data-contents: 8 (1%)78, fwd-data-end: 144 (20%)98, fwd-rundown: 2
(0%)98, main_log_entry: 8 (1%)100, update_snmp: 2 (0%)100,
unlink-1-files: 1 (0%)100, rundown: 0 (0%)100
Jun 7 15:32:05 mail amavis[22388]: (22388-09) extra modules loaded:
unicore/lib/gc_sc/Digit.pl, unicore/lib/gc_sc/SpacePer.pl
Jun 7 15:32:06 mail postfix/smtp[25284]: 3375F40008C:
to=<hansli at bbw.ch>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.89,
delays=0.17/0.01/0/0.7, dsn=5.1.1, status=bounced (host
127.0.0.1[127.0.0.1] said: 550 5.1.1 Failed, id=22388-09, from
MTA([127.0.0.1]:10025): 550 5.1.1 <hansli at bbw.ch>: Recipient address
rejected: User unknown in virtual mailbox table (in reply to end of DATA
command))
Jun 7 15:32:06 mail postfix/cleanup[25282]: 07DB840008D:
message-id=<20070607133206.07DB840008D at mail.bbw.ch>
Jun 7 15:32:06 mail postfix/pipe[25292]: C63F040008B:
to=<yves.bilgeri at bbw.ch>, relay=maildrop, delay=0.27,
delays=0.18/0.03/0/0.06, dsn=2.0.0, status=sent (delivered via maildrop
service)
Jun 7 15:32:06 mail postfix/qmgr[25251]: C63F040008B: removed
Jun 7 15:32:06 mail postfix/qmgr[25251]: 07DB840008D: from=<>,
size=3401, nrcpt=1 (queue active)
Jun 7 15:32:06 mail postfix/bounce[25295]: 3375F40008C: sender
non-delivery notification: 07DB840008D
Jun 7 15:32:06 mail postfix/qmgr[25251]: 3375F40008C: removed
Jun 7 15:32:06 mail postfix/pipe[25292]: 07DB840008D:
to=<yves.bilgeri at bbw.ch>, relay=maildrop, delay=0.07,
delays=0.04/0/0/0.03, dsn=2.0.0, status=sent (delivered via maildrop
service)
Jun 7 15:32:06 mail postfix/qmgr[25251]: 07DB840008D: removed
Mehr Informationen über die Mailingliste Postfixbuch-users