<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Gregor Hermens schrieb:
<blockquote cite="mid:200903171638.13810@office.a-mazing.net"
type="cite">
<pre wrap="">Hallo Marcel,
Am Dienstag, 17. März 2009 schrieb Marcel Hartmann (privat):
</pre>
<blockquote type="cite">
<pre wrap="">ich habe hier das problem, das wenn ich per squirrelmail eine mail
raussende, er diese folgendermassen raussendet:
Mar 17 15:29:25 static postfix/smtp[32723]: 1B31811E0087:
to=<a class="moz-txt-link-rfc2396E" href="mailto:mail@marcel-hartmann.com"><mail@marcel-hartmann.com></a>,
relay=mail.marcel-hartmann.com[213.239.217.51]:25, delay=0.1,
delays=0.05/0.01/0.02/0.03, dsn=5.0.0, status=bounced (host
mail.marcel-hartmann.com[213.239.217.51] said: 550
<a class="moz-txt-link-rfc2396E" href="mailto:snitch@localhost.domain.tld"><snitch@localhost.domain.tld></a>: Sender address rejected: Domain not found
(in reply to RCPT TO command))
</pre>
</blockquote>
<pre wrap=""><!---->
interessanter wäre hier das Log, wie diese Mail beim ersten Postfix
eingeliefert wird. Wird das localhost wirklich von Postfix eingefügt oder
kommt das schon von SquirrelMail?
Gruß,
Gregor
</pre>
</blockquote>
Hi,<br>
<br>
also ich habe den postfix eingerichtet. Er rennt auf Host A, wenn ich
von Server B eine Mail dahin sende kommt dieses Log auf dem betroffenen
Host A:<br>
<br>
Mar 17 17:13:51 static postfix/smtpd[3423]: connect from
mx01.insentic.de[213.239.217.51]<br>
Mar 17 17:13:52 static postfix/smtpd[3423]: 1B53F11E0088:
client=mx01.insentic.de[213.239.217.51]<br>
Mar 17 17:13:52 static postfix/cleanup[3427]: 1B53F11E0088:
message-id=<a class="moz-txt-link-rfc2396E" href="mailto:49BFCB35.7030402@marcel-hartmann.com"><49BFCB35.7030402@marcel-hartmann.com></a><br>
Mar 17 17:13:52 static postfix/qmgr[1932]: 1B53F11E0088:
from=<a class="moz-txt-link-rfc2396E" href="mailto:mail@marcel-hartmann.com"><mail@marcel-hartmann.com></a>, size=742, nrcpt=1 (queue active)<br>
Mar 17 17:13:52 static postfix/smtpd[3423]: disconnect from
mx01.insentic.de[213.239.217.51]<br>
Mar 17 17:13:56 static postfix/smtpd[3430]: connect from
localhost.localdomain[127.0.0.1]<br>
Mar 17 17:13:56 static postfix/smtpd[3430]: B9C7A11E008C:
client=localhost.localdomain[127.0.0.1]<br>
Mar 17 17:13:56 static postfix/cleanup[3427]: B9C7A11E008C:
message-id=<a class="moz-txt-link-rfc2396E" href="mailto:49BFCB35.7030402@marcel-hartmann.com"><49BFCB35.7030402@marcel-hartmann.com></a><br>
Mar 17 17:13:56 static postfix/qmgr[1932]: B9C7A11E008C:
from=<a class="moz-txt-link-rfc2396E" href="mailto:mail@marcel-hartmann.com"><mail@marcel-hartmann.com></a>, size=1334, nrcpt=1 (queue active)<br>
Mar 17 17:13:56 static postfix/smtpd[3430]: disconnect from
localhost.localdomain[127.0.0.1]<br>
Mar 17 17:13:56 static postfix/local[3431]: B9C7A11E008C:
to=<a class="moz-txt-link-rfc2396E" href="mailto:snitch@domain.tld"><snitch@domain.tld></a>, relay=local, delay=0.09,
delays=0.07/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)<br>
Mar 17 17:13:56 static postfix/qmgr[1932]: B9C7A11E008C: removed<br>
Mar 17 17:13:56 static amavis[32445]: (32445-02) Passed CLEAN,
[213.239.217.51] [213.239.217.51] <a class="moz-txt-link-rfc2396E" href="mailto:mail@marcel-hartmann.com"><mail@marcel-hartmann.com></a>
-> <a class="moz-txt-link-rfc2396E" href="mailto:snitch@domain.tld"><snitch@domain.tld></a>, Message-ID:
<a class="moz-txt-link-rfc2396E" href="mailto:49BFCB35.7030402@marcel-hartmann.com"><49BFCB35.7030402@marcel-hartmann.com></a>, mail_id: B+yCQVF6AnfO,
Hits: 1.45, queued_as: B9C7A11E008C, 4704 ms<br>
Mar 17 17:13:56 static postfix/smtp[3428]: 1B53F11E0088:
to=<a class="moz-txt-link-rfc2396E" href="mailto:snitch@domain.tld"><snitch@domain.tld></a>, relay=127.0.0.1[127.0.0.1]:10024,
delay=5, delays=0.31/0.01/0.01/4.7, dsn=2.6.0, status=sent (250 2.6.0
Ok, id=32445-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
B9C7A11E008C)<br>
Mar 17 17:13:56 static postfix/qmgr[1932]: 1B53F11E0088: removed<br>
<br>
<br>
Beim eintreffen mappt er die Adresse <a class="moz-txt-link-abbreviated" href="mailto:user@domain.tld">user@domain.tld</a> nach
<a class="moz-txt-link-abbreviated" href="mailto:user@localhost.domain.tld">user@localhost.domain.tld</a>. Wo ist da denn nun der fehler? Hier postconf
-n:<br>
<br>
# postconf- n<br>
-bash: postconf-: command not found<br>
[root@static init.d]# postconf -n<br>
address_verify_map = btree:/var/spool/postfix/verified_addresses<br>
alias_database = hash:/etc/aliases<br>
alias_maps = hash:/etc/aliases<br>
body_checks = pcre:/etc/postfix/maps/body_checks<br>
broken_sasl_auth_clients = yes<br>
command_directory = /usr/sbin<br>
config_directory = /etc/postfix<br>
content_filter = smtp-amavis:[127.0.0.1]:10024<br>
daemon_directory = /usr/libexec/postfix<br>
debug_peer_level = 2<br>
default_rbl_reply = $rbl_code Service unavailable; $rbl_class
[$rbl_what] blocked using $rbl_domain<br>
disable_vrfy_command = yes<br>
header_checks = pcre:/etc/postfix/maps/header_checks<br>
home_mailbox = Maildir/<br>
html_directory = no<br>
inet_interfaces = all<br>
mail_owner = postfix<br>
mail_spool_directory = /var/spool/mail<br>
mailbox_size_limit = 268435456<br>
mailq_path = /usr/bin/mailq.postfix<br>
message_size_limit = 10485760<br>
mime_header_checks = pcre:/etc/postfix/maps/mime_header_checks<br>
mydestination = $myhostname, $mydomain<br>
mydomain = domain.tld<br>
myhostname = mail.domain.tld<br>
newaliases_path = /usr/bin/newaliases.postfix<br>
queue_directory = /var/spool/postfix<br>
relay_domains = $mydestination<br>
sendmail_path = /usr/sbin/sendmail.postfix<br>
setgid_group = postdrop<br>
smtpd_banner = $myhostname ESMTP $mail_name<br>
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org,
reject_rbl_client cbl.abuseat.org, reject_rbl_client
dnsbl.sorbs.net<br>
smtpd_data_restrictions = reject_unauth_pipelining,
reject_multi_recipient_bounce, permit<br>
smtpd_error_sleep_time = 1s<br>
smtpd_hard_error_limit = 20<br>
smtpd_helo_required = yes<br>
smtpd_helo_restrictions = check_helo_access
hash:/etc/postfix/maps/helo_access,
reject_invalid_hostname, reject_non_fqdn_hostname<br>
smtpd_recipient_restrictions = reject_non_fqdn_recipient
reject_non_fqdn_sender check_recipient_access
pcre:/etc/postfix/maps/apostroph
reject_unknown_sender_domain
reject_unknown_recipient_domain permit_mynetworks
permit_sasl_authenticated reject_unauth_destination
reject_multi_recipient_bounce reject_unlisted_recipient
reject_rbl_client zen.spamhaus.org reject_non_fqdn_hostname
reject_invalid_hostname check_helo_access
pcre:/etc/postfix/maps/helo_checks check_sender_mx_access
cidr:/etc/postfix/maps/bogus_mx reject_rhsbl_sender
dsn.rfc-ignorant.org check_recipient_access
hash:/etc/postfix/maps/recipient_access<br>
smtpd_sasl_auth_enable = yes<br>
smtpd_sasl_local_domain =<br>
smtpd_sasl_security_options = noanonymous<br>
smtpd_sender_restrictions = check_sender_access
hash:/etc/postfix/maps/check_sender reject_non_fqdn_sender,
reject_unknown_sender_domain<br>
smtpd_soft_error_limit = 10<br>
soft_bounce = no<br>
unknown_address_reject_code = 550<br>
unknown_local_recipient_reject_code = 550<br>
unverified_recipient_reject_code = 550<br>
<br>
Liegt das am amavisd-new config evtl? Ich bin überfragt wie cih das
lösen soll, in mydestination ist nix mehr drin von localhost und
/etc/hosts hat auch nur diese Einträge:<br>
127.0.0.1 localhost.localdomain localhost<br>
<br>
Gruß<br>
Marcel<br>
</body>
</html>