Postfix + 550-unrouteable mail domain

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
gladi
Posts: 17
Joined: 2003-09-18 20:36

Postfix + 550-unrouteable mail domain

Post by gladi » 2003-10-31 11:26

Hi,
mein System: Confixx 2.0.11 / aktuellstes Postfix / Suse 8.2
Mein Problem: Wenn Foren (vBulletin v2.3.0), PHP-Scripts etc., die auf dem Server laufen Mails versenden replaced Postfix den Header nicht, also angepaßt an die Domain, so dass die Mails von allen anderen Anbietern abgelehnt werden.

So sehen die Header aus, die mittels PHP verschickt werden:

Code: Select all

Return-Path: <wwwrun@linux.local>
X-Original-To: ***@***.***
Delivered-To: web2p1@linux.local
Received: by linux.local (Postfix, from userid 30)
	id 7A8174D406B; Tue, 28 Oct 2003 19:03:05 +0100 (CET)
To: ***@***.**
Subject: BLABLABLA
From: ***@***.***
Reply-To: ***@***.***
X-Mailer: *** Mailer
Message-Id: *** Mailer
Received: *** Mailer
Content-Type: text/html
Content-Transfer-Encoding: 8bit
Date: Tue, 28 Oct 2003 19:03:05 +0100 (CET)
X-UIDL: d7!"!Dj6!!'/j"!Y$N!!
...
Hier solch eine zurückgekommene Mail:

Code: Select all

From MAILER-DAEMON  Wed Oct  8 21:31:07 2003
Return-Path: <>
X-Original-To: wwwrun@linux.local
Delivered-To: root@linux.local
Received: by linux.local (Postfix)
	id 23E564D4054; Wed,  8 Oct 2003 21:31:07 +0200 (CEST)
Date: Wed,  8 Oct 2003 21:31:07 +0200 (CEST)
From: MAILER-DAEMON@linux.local (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: wwwrun@linux.local
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status; boundary="065E54D4050.1065641467/linux.local"
Message-Id: <20031008193107.23E564D4054@linux.local>

This is a MIME-encapsulated message.

--065E54D4050.1065641467/linux.local
Content-Description: Notification
Content-Type: text/plain

This is the Postfix program at host linux.local.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the message returned below.

			The Postfix program

<***@***.***>: host mx0.gmx.de[213.165.64.100] said: 550 {mx009-rz3} Cannot resolve your domain (in reply to MAIL FROM command)

--065E54D4050.1065641467/linux.local
Laut der Fehlermessage (hier von GMX) tippe ich wohl darauf, dass Postfix (Confixx?) linux.local nicht durch eine entsprechende Domain ersetzt. Aber ich weiß leider nicht wo genau das stattfindet sollte und wie. Wäre nett, wenn da jemand Rat weiß!
....ist schon dumm, wenn Registrierungsmails o.ä. überhaupt gar nicht erst ankommen.... :(

Hier weitere Fehlermeldungen von anderen Providern:

Code: Select all

host mx01.schlund.de[212.227.126.164] said: 550 rejected: administrative prohibition (in reply to RCPT TO command)

host mx.freenet.de[194.97.50.144] said: 550-Verification failed for <wwwrun@linux.local> 550-unrouteable mail domain "linux.local" 550 verifying wwwrun@linux.local failed (in reply to RCPT TO command)

host mailin-03.mx.aol.com[64.12.138.120] said: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE (in reply to MAIL FROM command)
postconf -n

Code: Select all

alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/body_checks
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = 
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports = 
disable_dns_lookups = no
header_checks = pcre:/etc/postfix/mime_header_checks
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command = 
mailbox_size_limit = 51200000
mailbox_transport = 
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maps_rbl_domains = bl.spamcop.net, relays.ordb.org, opm.blitzed.org, blackholes.easynet.nl, list.dsbl.org, opm.blitzed.org, sbl.spamhaus.org
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = linux.local
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
myhostname = linux.local
mynetworks = 127.0.0.1/8, ***.***.***.***
newaliases_path = /usr/bin/newaliases
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost = 
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtpd_client_restrictions = 
smtpd_helo_required = no
smtpd_helo_restrictions = 
smtpd_recipient_restrictions = permit_mynetworks,check_client_access hash:/etc/postfix/pop-before-smtp,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
postconf -m

Code: Select all

static
sdbm
pcre
nis
regexp
environ
proxy
ldap
btree
unix
hash

User avatar
Joe User
Project Manager
Project Manager
Posts: 11578
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Postfix + 550-unrouteable mail domain

Post by Joe User » 2003-10-31 14:14