TrekkieMan
12.04.09, 19:12
Hallo. Ich habe nun schon langsam das halbe Internet nach Lösungen abgegrast, bisher erfolglos.
Problem:
Über einen Relayserver möchte ich Mails die nicht an meine Domain gehen weiterleiten lassen. Ich habe eine Domain mit dynamischem DNS Dienst, daher wird kein Provider meine Mails direkt annehmen.
Von meinem Domainhoster Selfhost habe ich Daten eines Relayservers, sowie Anweisungen, wie Postfix zu konfigurieren ist.
Beim Senden von Mails die an eine andere Domain als meine gehen, bekomme ich folgende Fehlermeldung:
<emailadresse@gmx.net>: host mail.selfhost.de[82.98.82.25] said: 553 sorry,
that domain isn't in my list of allowed rcpthosts
Aufgrund des
host mail.selfhost.de[82.98.82.25] said nehme ich an, dass nicht mein MTA daran Schuld hat.
Ich möchte nun überprüfen, ob sich mein postfix überhaupt richtig am SMTP Server von Selfhost anmeldet, oder ob es schon daran scheitert. Bzw. wenn nicht daran, woran denn.
Hier erst einmal meine main.cf
myhostname = theqserver.de
mydomain = theqserver.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = debianserver.qnet.de, localhost.qnet.de, localhost, theqserver.de, qnet.de
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_hostname
smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_unauth_destination
smtpd_sender_restrictions = reject_unknown_address
smtpd_client_restrictions = reject_invalid_hostname
home_mailbox = mails/
relayhost = [mail.selfhost.de]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes
smtp_enforce_tls = yes
smtp_tls_enforce_peername=no
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.178.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
# SASL Parameters
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtp_sasl_auth_enable = no
broken_sasl_auth_clients = yes
Problem:
Über einen Relayserver möchte ich Mails die nicht an meine Domain gehen weiterleiten lassen. Ich habe eine Domain mit dynamischem DNS Dienst, daher wird kein Provider meine Mails direkt annehmen.
Von meinem Domainhoster Selfhost habe ich Daten eines Relayservers, sowie Anweisungen, wie Postfix zu konfigurieren ist.
Beim Senden von Mails die an eine andere Domain als meine gehen, bekomme ich folgende Fehlermeldung:
<emailadresse@gmx.net>: host mail.selfhost.de[82.98.82.25] said: 553 sorry,
that domain isn't in my list of allowed rcpthosts
Aufgrund des
host mail.selfhost.de[82.98.82.25] said nehme ich an, dass nicht mein MTA daran Schuld hat.
Ich möchte nun überprüfen, ob sich mein postfix überhaupt richtig am SMTP Server von Selfhost anmeldet, oder ob es schon daran scheitert. Bzw. wenn nicht daran, woran denn.
Hier erst einmal meine main.cf
myhostname = theqserver.de
mydomain = theqserver.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = debianserver.qnet.de, localhost.qnet.de, localhost, theqserver.de, qnet.de
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_hostname
smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_unauth_destination
smtpd_sender_restrictions = reject_unknown_address
smtpd_client_restrictions = reject_invalid_hostname
home_mailbox = mails/
relayhost = [mail.selfhost.de]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes
smtp_enforce_tls = yes
smtp_tls_enforce_peername=no
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.178.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
# SASL Parameters
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtp_sasl_auth_enable = no
broken_sasl_auth_clients = yes