On 3/17/2010 6:05 AM, Patric Falinder wrote: > Thats just it, I'm not even sure if I have configured it right and I'm > starting to think there is something wrong with it cause I'm not 100% > sure how sasl works.. > I attached my main.cf to this mail. I have read the Postfix SASL > Readme but I'm still not sure about how it works or if my config is > right..
First, SASL has nothing to do with TLS. TLS simply provides encryption. SASL simply provides authentication. Second, please send the results of 'postconf -n' instead of main.cf. It makes it easier to read and more concise as to what Postfix is using. Third, I think you need to reread http://www.postfix.org/SASL_README.html#client_sasl as nothing in your main.cf mentions smtp_sasl*. smtp != smtpd. Brian > > > Varun Kaushik skrev 2010-03-17 10:58: >> Do you have any authentication configured? >> As you mentioned SASL setup , are all the configurations sane? >> >> On Wed, Mar 17, 2010 at 3:20 PM, Patric Falinder >> <[email protected] <mailto:[email protected]>> wrote: >> >> Hi! >> >> I act as a "spamcheck"-relay for a couple of servers but I get >> this error message for one server when I'm trying to relay a >> message to it: >> >> Mar 17 10:28:07 myrelay postfix/smtp[4910]: 1358410A329: >> to=<[email protected] <mailto:[email protected]>>, relay=mail.domain.se >> <http://mail.domain.se>[81.228.XXX.XXX]:25, delay=0.4, >> delays=0.08/0.01/0.27/0.05, dsn=5.7.1, status=bounced (host >> mail.domain.se <http://mail.domain.se>[81.228.XXX.XXX] said: 550 >> 5.7.1 <[email protected] <mailto:[email protected]>>... Relaying denied. >> Proper authentication required. (in reply to RCPT TO command)) >> >> And I get this on the server I'm trying to send to (it runs >> Sendmail): >> >> Mar 17 10:28:22 gateway sendmail[26927]: o2H9SMYZ026927: >> ruleset=check_rcpt, arg1=<[email protected] <mailto:[email protected]>>, >> relay=smtp3.myrelay.com >> <http://smtp3.myrelay.com>[194.218.XXX.XXX], reject=550 5.7.1 >> <[email protected] <mailto:[email protected]>>... Relaying denied. Proper >> authentication required. >> >> If I try telnet to the mailserver from my relay-server I get this: >> >> myrelay:~/# telnet mail.domain.se <http://mail.domain.se> 25 >> Trying 81.228.XXX.XXX... >> Connected to mail.domain.se <http://mail.domain.se>. >> Escape character is '^]'. >> 220 domain.se <http://domain.se> ESMTP Wed, 17 Mar 2010 10:40:35 >> +0100 >> ehlo domain.se <http://domain.se> >> 250-domain.se <http://250-domain.se> Hello smtp3.myrelay.com >> <http://smtp3.myrelay.com>[194.218.XX.XX], pleased to meet you >> 250-ENHANCEDSTATUSCODES >> 250-PIPELINING >> 250-8BITMIME >> 250-SIZE >> 250-DSN >> 250-AUTH PLAIN LOGIN >> 250-DELIVERBY >> 250 HELP >> >> I am updating my servers and "myrelay" is the new one, the old >> one runs Sendmail and can relay just fine to it without any >> "Relaying denied. Proper authentication required." >> I have no idea what the problem is here and was hoping you could >> help me? Can it be something with my sasl-setup on my new server? >> But mail.domain.se <http://mail.domain.se> doesn't show STARTTLS >> when I telnet to it.. >> >> >> Thanks for any help! >> >> >
