PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix sendet keine Mails an externe Email-Adressen



rolando
17.05.06, 12:34
Hallo.

Habe das Problem, das ich von meinem Mailclient keine Emails an externe Adressen senden kann. Email-Empfang funktioniert, genauso das Senden an interne Adressen.

Die Fehlermeldung in /var/log/mail:
postfix/smtpd[16201]: NOQUEUE: reject: RCPT from p54993DA1.dip0.t-ipconnect.de[84.153.61.161]: 554 <rolando@externe_domain.net>: Relay access denied; from=<r.reitberger@server_domain.com> to=<rolando@externe_domain.net> proto=ESMTP helo=<inspiron>

Hier die /etc/postfix/main.cf:

readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
mydomain = server_domain.de
myhostname = host.server_domain.de
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = no
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject _unauth_destination,check_relay_domains
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no

smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000

smtpd_reject_unlisted_recipient = no
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
# smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
mynetworks_style = host
home_mailbox = Maildir/

Wer weis die Lösung???

Danke
Rolando

4x!0n
17.05.06, 14:56
das ding hat nen MX eintrag? Und steht im Internet? Und server_domain.com entspricht auch $myhostname, localhost.$mydomain?

das waer was mir jetzt spontan einfaellt... wenn die authentifizierung klappt...

...ich schau noch mal wenn ich daheim bin. Scools over ;)


sry.

tschloss
17.05.06, 15:06
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject _unauth_destination,check_relay_domains

http://www.postfix.org/SMTPD_ACCESS_README.html

Probier es mal hier.....

Greetz
Thomas