Levél fogadás külső címről

Sziasztok!

Biztosan valami egyszerű dolgot nézek be, de az egész hétvégés keresgélés után úgy döntöttem írok ide.

A jelenség a következő: Nem tudok fogadni külső címről levelet, legyen az egy saját mail szerver, vagy pl gmail vagy ms mail szerver.

postfix main.cf: http://pastebin.com/tZGhe4ER

mail.log: http://pastebin.com/1rA4bjrn

Minden segítséget köszönök! :)

Hozzászólások

'man 5 postconf', keress ra az smtpd_recipient_restrictions es smtpd_relay_restrictions parameterekre, be kell allitani legalabb az egyiket ahhoz, hogy ne vegyen at a postfix minden szemetet.

Túl sok a log. A sok részlet között elvész az, ami érdekes. :-)


NOQUEUE: reject: RCPT from mail.bobnet.hu[85.255.9.164]: 454 4.7.1 alice@bobnet.cloud: Relay access denied; from= bobesz@bobnet.hu to= alice@bobnet.cloud proto=ESMTP helo= mail.bobnet.hu

Na, akkor csak azt nézd meg, miért gondolja, hogy ez relay.

Illetve olvasd el ezt, a saját konfigodban:
smtpd_recipient_restrictions =
#reject_non_fqdn_recipient
#reject_unknown_recipient_domain
# Allow relaying for SASL authenticated clients and trusted hosts/networks
# This can be put to smtpd_relay_restrictions in Postfix 2.10 and later
#permit_sasl_authenticated
#permit_mynetworks
# If not authenticated or on mynetworks, reject mailing to external addresses
#reject_unauth_destination
# Reject the following hosts
#check_sender_ns_access cidr:/etc/postfix/drop.cidr
#check_sender_mx_access cidr:/etc/postfix/drop.cidr
# Additional blacklist
#reject_rbl_client ix.dnsbl.manitu.net
# Finally permit (relaying still requires SASL auth)
# WARNING: Due to this permit, everyone will be able to send emails to internal addresses without authentication. If this is set to reject though, the server does not receive emails from external addresses. Unfortunately I do not have a solution for this.
#permit

Az égvilágon senkitől nem fogadsz el leveleket, még a saját géptől sem

Igen, közben láttam :(
Hobbi lévén sajnos ezidáig nem volt időm ezzel foglalkozni, most viszont belefutottam egy újabb hibába.

testsaslauthd -u bobesz -p pwd -f /var/spool/postfix/var/run/saslauthd/mux

a következő hibát kapom:

Authentication failed for bobesz: Bind to ldap server failed (invalid user/password or insufficient access) (-7)
do_auth : auth failure: [user=bobesz] [service=imap] [realm=] [mech=ldap] [reason=Unknown]

saslauthd.conf: http://pastebin.com/48hXrFLj