Postfix With SASL Authentication?

Sunil Sunder Raj unixtools at hotmail.com
Sun Jul 6 23:10:44 PDT 2003


1) Install postfix+sasl
2) edit /usr/local/lib/sasl2/Sendmail.conf
    pwcheck_method: auxprop
3) edit /usr/local/lib/sasl2/smtpd.conf
    pwcheck_method: auxprop
4) edit /usr/local/etc/postfix/main.cf
      smtpd_sasl_auth_enable = yes
      smtpd_sasl_security_options = noanonymous
      smtpd_sasl_local_domain = $myhostname
      broken_sasl_auth_clients = yes
      myhostname = <Your hostname comes here>
      mydomain = <Your hostname comes here>
      smtpd_recipient_restrictions =check_sender_access 
hash:/usr/local/etc/postfix/spammer,permit_sasl_authenticated,permit_mynetworks,check_relay_domains

5) restart postfix and saslauthd

Regards
SSR


>From: "Drew Tomlinson" <drew at mykitchentable.net>
>To: "FreeBSD Questions" <freebsd-questions at freebsd.org>
>Subject: Postfix With SASL Authentication?
>Date: Sat, 5 Jul 2003 18:58:53 -0700
>
>Can anyone point me to a HOW-TO to enable Postfix to relay for clients
>that provide a valid login?  In other words, if I tell my IMAP client
>that my outgoing SMTP server requires authentication and provide an
>existing username/password combination that exists in /etc/passwd, I
>want Postfix to relay the message even if the client isn't defined in
>the "mynetworks" list.
>
>I've searched Google and found that SASL should be able to do this so
>I've installed it via the port.  I've also installed the saslauthd port
>and recompiled Postfix with SASL support.  Now I think I want to
>configure SASL to use PAM?  Anyway, I've found various tidbits on Google
>and it seems that lots of people have problems with this.  Is there any
>doc that helps one configure this on FBSD?
>
>Thanks,
>
>Drew
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at freebsd.org"

_________________________________________________________________
Dress up your desktop! Get the best wallpapers. 
http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just 
click here!



More information about the freebsd-questions mailing list