Postfix; bad address syntax

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
mall_pall
Posts: 4
Joined: 2007-10-04 20:15
 

Postfix; bad address syntax

Post by mall_pall »

Hallo,

ich habe ein Debian 4.0 System mit Confixx,

ich erhalte wenn ich E-Mail an meine Adresse sende folgenden Postfix Error:

This is the Postfix program at host mail.xxx-login.de.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

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 attached returned message.

The Postfix program

<web0p1@/etc/mailname.xxx-login.de> (expanded from <emfänger@emfänger.net>): bad
address syntax: "web0p1@/etc/mailname.xxx-login.de"



Reporting-MTA: dns; mail.xxx-login.de
X-Postfix-Queue-ID: 59A83100A30E
X-Postfix-Sender: rfc822; sender@sender.de
Arrival-Date: Tue, 27 Nov 2007 13:25:57 +0100 (CET)

Final-Recipient: rfc822; web0p1@/etc/mailname.xxx-login.de
Original-Recipient: rfc822; emfänger@emfänger.net
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; bad address syntax:
"web0p1@/etc/mailname.xxx-login.de"
meine main.cf sieht wie folgt aus:
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
disable_dns_lookups = no
disable_vrfy_command = yes
empty_address_recipient = MAILER-DAEMON
inet_interfaces = all
inet_protocols = ipv4
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost
mydomain = xxx-login.de
myhostname = mail.xxx-login.de
mynetworks_style = host
#myorigin = $mydomain
myorigin = /etc/mailname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
relocated_maps = hash:/etc/postfix/relocated
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_data_restrictions =
reject_unauth_pipelining,
permit
smtpd_helo_required = yes

smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,reject_unlisted_sender,reject_unlisted_recipient,reject_unknown_sender_domain,reject_unknown_recipient_domain,reject_invalid_hostname,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_rbl_client dnsbl.ahbl.org,reject_rbl_client cbl.abuseat.org,reject_rbl_client sbl-xbl.spamhaus.org,reject_rbl_client dul.dnsbl.sorbs.net,reject_rbl_client bl.spamcop.net

smtpd_sasl_application_name = smtpd
smtpd_sasl2_auth_enable = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450

### CONFIXX POSTFIX ENTRY ###

virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains

### /CONFIXX POSTFIX ENTRY ###
kann mir vielleicht jemand sagen wo der Fehler liegen könnte??

Ich bin hier echt am verzweifeln.

Grüße

Mall
duergner
Posts: 923
Joined: 2003-08-20 11:30
Location: Pittsburgh, PA, USA
 

Re: Postfix; bad address syntax

Post by duergner »

Ich vermute das liegt irgendwo ein Fehler im Masquerading. So ausm Bauch heraus jetzt. Aber die mail.info sollte mehr aussagen da. Zur Not mal das Loglevel hoeher stellen.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11184
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Postfix; bad address syntax

Post by Joe User »

Wenn man Blind HowTos abtippt, muss man mit Fehlern rechnen:

Code: Select all

#myorigin = $mydomain
myorigin = /etc/mailname
Wenn Du jetzt mal die Postfix-Doku, insbesondere `man 5 postconf` durchliest, kommst Du irgendwann selbst auf Folgendes:

Code: Select all

myorigin = $mydomain