PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : postfix: relay access denied



DrGonzo
29.09.06, 14:52
ahoi!

Ich habe grad das folgende akute Problem mit Postfix.
Ich kann keine Mails mehr versenden, weder per Squirrelmail noch per Thunderbird, obwohl ich seit der letzten versendeten Mail an der Konfiguration von Postfix nichts geändert habe. Ich habe nur courier-imap ssl beigebracht und kann mir nicht erklären, wieso auf einmal Postifx rumzickt.

/var/log/mail:
Sep 29 15:22:54 Heulsuse postfix/smtpd[8493]: NOQUEUE: reject: RCPT from dslb-bla-bla-bla-bla.pools.arcor-ip.net[ip.ip.ip.ip]: 554 <meineadresse@domain.de>: Relay access denied; from=<meineadresse@domain.de> to=<empfänger@anderedomain.de> proto=ESMTP helo=<[192.168.0.137]>
postconf -n
alias_maps = hash:/etc/aliases
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = 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 = 102400000
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
myhostname = mail.erstedomain.de
mynetworks = 127.0.0.0/8, ipd.ess.erv.ers
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
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_enforce_tls = no
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_sender_domain, reject_unauth_destination, permit
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/mail.cert
smtpd_tls_key_file = /etc/postfix/mail.key
smtpd_use_tls = yes
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = domain.org


müstöriös, müstöriös...

Fly
29.09.06, 16:26
füge noch mydomain=<yourdomain> und relayhost=<leer lassen> in der main.cf ein!

DrGonzo
30.09.06, 09:50
Wird mydomain, wenn nicht angegeben aus myhostname gebildet?
Es funktioniert immernoch nicht, aber mir ist was neues in der /var/log/mail aufgefallen:
Sep 30 10:32:42 Heulsuse postfix/smtpd[17529]: warning: connect to private/tlsmgr: Connection refused
Sep 30 10:32:42 Heulsuse postfix/smtpd[17529]: warning: problem talking to server private/tlsmgr: Connection refused
Sep 30 10:32:42 Heulsuse postfix/smtpd[17529]: warning: no entropy for TLS key generation: disabling TLS support
Sep 30 10:32:42 Heulsuse postfix/smtpd[17529]: connect from xxxxxxxxxx.adsl.alicedsl.de[ip.ip.ip.ip]
Sep 30 10:32:42 Heulsuse postfix/smtpd[17529]: lost connection after AUTH from xxxxxxxxxx.adsl.alicedsl.de[ip.ip.ip.ip]
Sep 30 10:32:42 Heulsuse postfix/smtpd[17529]: disconnect from xxxxxxxxxx.adsl.alicedsl.de[ip.ip.ip.ip]

TLS war gefordert, ohne, dass die entsprechenden Schlüssel vorlagen. Jetzt erinner ich mich auch wieder daran, zwischendurch damit angefangen zu haben, wovon ich dann aber gleich wieder abgelenkt wurde und vergaß weiterzumachen...
So... jetzt funktionierts wieder...