Hallo,
ich habe ein paar Probleme mit der Konfiguration von postfix.
Die Situation:
Ich will einen eigenen Mail-Server einrichten der Mails an meine Domain
(meinedomain.tld) empfaengt. Habe dazu bei meinem Provider eine
Subdomain (test.meinedomain.tld) eingerichtet um das zu testen.
Dazu habe ich in dem Provider-NS einen A-Record test.meinedomain.tld ->
Meine IP angelegt.
Die Firewall auf meinem Router und unter SuSE 9 ist auf Port 25 unten.
Bei postfix habe in der /etc/sysconfig/mail den Eintrag
SMTPD_LISTEN_REMOTE="yes" gesetzt. Und in der /etc/sysconfig/mail den
Eintrag POSTFIX_LOCALDOMAINS="localhost, test.meinedomain.tld" gesetzt.
Danach SuSEconfig durchgefuehrt.
Wenn ich jetzt Mails an user@test.meinedomain.tld schicke bekomme ich
folgende Fehlermail zurueck:
Remote host said: 554
Am Sonntag, 15. Februar 2004 03:35 schrieb Andreas Buechele:
ich habe ein paar Probleme mit der Konfiguration von postfix.
Die Situation: Ich will einen eigenen Mail-Server einrichten der Mails an meine Domain (meinedomain.tld) empfaengt. Habe dazu bei meinem Provider eine Subdomain (test.meinedomain.tld) eingerichtet um das zu testen. Dazu habe ich in dem Provider-NS einen A-Record test.meinedomain.tld -> Meine IP angelegt.
Das sollte dann ein MX-Record sein. "A" wird aber wohl von einigen MTAs auch ausprobiert.
Die Firewall auf meinem Router und unter SuSE 9 ist auf Port 25 unten.
Bei postfix habe in der /etc/sysconfig/mail den Eintrag SMTPD_LISTEN_REMOTE="yes" gesetzt. Und in der /etc/sysconfig/mail den Eintrag POSTFIX_LOCALDOMAINS="localhost, test.meinedomain.tld" gesetzt. Danach SuSEconfig durchgefuehrt.
Wenn ich jetzt Mails an user@test.meinedomain.tld schicke bekomme ich folgende Fehlermail zurueck:
Remote host said: 554
: Relay access denied Giving up on Meine IP.
# postconf -n und den entsprechenden Auszug aus "/var/log/mail". -- Andreas
Hallo Andreas, Am So, 2004-02-15 um 08.17 schrieb Andreas Winkelmann:
Das sollte dann ein MX-Record sein. "A" wird aber wohl von einigen MTAs auch ausprobiert.
Okay, habe ich ebenfalls gesetzt.
# postconf -n
alias_maps = hash:/etc/aliases 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 inet_interfaces = all mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = localhost, test.meinedomain.tld myhostname = earth.local 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 smtp_use_tls = no smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks,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
und den entsprechenden Auszug aus "/var/log/mail".
Feb 15 13:15:52 earth postfix/smtpd[3410]: connect from
smtp.meineDomain.tld[SMTP IP]
Feb 15 13:15:52 earth postfix/smtpd[3410]: A776746360:
client=smtp.meineDomain.tld[SMTP IP]
Feb 15 13:15:52 earth postfix/smtpd[3410]: A776746360: reject: RCPT from
smtp.meineDomain.tld[SMTP IP]: 554
participants (2)
-
Andreas Buechele
-
Andreas Winkelmann