On 03-02-14 19:58, Jaime Fuentes - Ditecal wrote:
> The only reason why I want to compile cyrus is because the instructions
> are on the web:
> http://www.dbmail.org/dokuwiki/doku.php/smtp_auth:postfix
That documentation is old and unmaintained, alas.
> Also said to be compiled with certain options, I figured I would not
> precompiled package.
I've never had to recompile anything to get smtp/auth running.
>
> Moreover, since last message, I try to use the repositories version, but
> I can't authenticate... All that I made was:
Your test procedure looks very clean and compact.
>
> Install cyrus-sasl packets:
> aptitude install libsasl2-2 sasl2-bin libsasl2-modules-sql
>
> Set START=yes on /etc/default/saslauthd.
> Change this on my postfix config:
>
> postconf -e 'smtpd_sasl_local_domain ='
> postconf -e 'smtpd_sasl_auth_enable = yes'
> postconf -e 'smtpd_sasl_security_options = noanonymous'
> postconf -e 'broken_sasl_auth_clients = yes'
> postconf -e 'inet_interfaces = all'
> postconf -e 'smptd_sasl_type=cyrus'
I use this:
> sudo postconf -v|grep ^smtpd_sasl
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = cyrus
which places the saslauthd configuration in:
/etc/postfix/sasl/smtpd.conf
There you configure the saslauthd *mechanism* configuration. Check
saslauthd(8), and look under AUTHENTICATION MECHANISMS.
--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, github, linkedin
* Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/[email protected]/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail