Issac Kelly wrote:
> I'm having problems with SASL and SSL on SMTP.
>
> Here are my logs from a connection request
>
> postfix/smtpd[2699]: connect from (outside host)
> postfix/smtpd[2699]: setting up TLS connection from (outside host)
> postfix/smtpd[2699]: SSL_accept error from (outside host_: -1
> postfix/smtpd[2699]: lost connection after STARTTLS from (outside  host)
> postfix/smtpd[2699]: disconnect from (outside host)
> postfix/smtpd[2714]: warning: xsasl_cyrus_server_get_mechanism_list:
> no applicable SASL mechanisms
> postfix/smtpd[2714]: fatal: no SASL authentication mechanisms
Please review http://www.postfix.org/DEBUG_README.html#mail
Please grab saslfinger from
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/ to help
debug SASL issues.

> postfix/master[1746]: warning: process /usr/lib/postfix/smtpd pid 2714
> exit status 1
> postfix/master[1746]: warning: /usr/lib/postfix/smtpd: bad command
> startup -- throttling
>
> OK... and HERE is what happens when I don't use SSL
>
>  postfix/master[2811]: warning: process /usr/lib/postfix/smtpd pid
> 2822 exit status 1
>  postfix/master[2811]: warning: /usr/lib/postfix/smtpd: bad command
> startup -- throttling
>  postfix/smtpd[2823]: fatal: unexpected command-line argument: reject

Do you have something in master.cf doing something strange? Suggest
posting master.cf lines pertaining to smtpd commands.
The howto you mentioned has a typo in the submission service.  Spaces
are NOT permitted in master.cf options.

 -o
smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination,
reject
should be
 -o
smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination,reject


>  postfix/master[2811]: warning: process /usr/lib/postfix/smtpd pid
> 2823 exit status 1
>  postfix/master[2811]: warning: /usr/lib/postfix/smtpd: bad command
> startup -- throttling
>
> postfix/smtpd[2838]: connect from (outside host)
> postfix/smtpd[2838]: warning: SASL authentication failure: no secret
> in database
> postfix/smtpd[2838]: warning: (outside host): SASL CRAM-MD5
> authentication failed: authentication failure

Did you change the config between these sessions pertaining to SASL?
Logs suggest yes.

> imapd-ssl: LOGIN, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>,
> ip=[::ffff:(outside host)], port=[49997], protocol=IMAP
>
> IMAP is connecting fine (over ssl) and SMTP still won't connect at all
> (using the same credentials on the same database)
>
> here is my main.cf <http://main.cf>
>
>
Please post 'postconf -n' instead. What you see and what Postfix sees
can be different.

Brian

Reply via email to