proc mi nejde SASL SMTP

Juraj Lutter freebsd-users-l at wilbury.sk
Wed Jan 28 22:19:02 CET 2009


Martin Bubik wrote:
> taky si myslim ze dovecot s tim nejak pracuje, u IMAPu funguje SSL, TLS 
> i zabezpecena autentizace ale imap poskytuje dovecot, ale SMTP postfix.
> Takze myslis ze je mozne pouzit SASL z dovecotu i pro autentizaci 
> uzivatelu pro SMTP? nebo je opravdu nutne instalovat CYRUS SASL?
> Pokud to jde pres dovecot a je to opravdu tak jednoduche mohl bys me 
> trochu navest spravnym smerem?

Easy as a f*ck.

dovecot.conf, do sekcie auth default {} pridat:

   socket listen {
         client {
                 path = /var/spool/postfix/private/auth
                 mode = 0660
                 user = postfix
                 group = postfix
         }
   }

main.cf z postfixu:

broken_sasl_auth_clients = yes
smtp_sasl_auth_enable = no

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous


-- 
Juraj Lutter                            |  /\  ASCII Ribbon Campaign
otis (at) wilbury (dot) sk              |  \/  - NO HTML/RTF in e-mail
http://www.wilbury.sk/                  |  /\  - NO Word docs in e-mail
JID: otis (at) jabber (dot) vx (dot) sk
!07/11 PDP a ni deppart m'I  !pleH



More information about the Users-l mailing list