I changed the configuration, and now my
sudo postconf -v|grep ^smtpd_sasl
configuation is like yours:
postconf: dict_eval: const correo1
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
But still, when I connect with:
openssl s_client -starttls smtp -crlf -connect
mail.chirigotalosbichos.com:25
I get this error:
250 DSN
ehlo localhost
250-correo1
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
auth plain amFpbWUuY29tAGphaW1lLmNvbQBob2xh
535 5.7.8 Error: authentication failed: authentication failure
My smtpd.conf is on
/etc/postfix/sasl/smtpd.conf
I'm blocked again...
El 03/02/2014 21:10, Paul J Stevens escribió:
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.
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail