On 6/14/2015 10:55 PM, basteon wrote:
> hi there,
> I got another trouble with sending mails when I use sasl with postfix.
> 
> For instance, use send message inside server, but not put it into imap
> folder and keep it in queue.
>     Jun 15 13:15:51 mail postfix/smtpd[1732]: BD4FA758A81:
> client=unknown[192.168.1.84]
>     Jun 15 13:15:51 mail postfix/cleanup[1725]: BD4FA758A81:
> message-id=<a29d7942-f7ba-45cd-ae60-827eaf8df...@domain.ru>
>     Jun 15 13:15:51 mail postfix/qmgr[1121]: BD4FA758A81:
> from=<a...@domain.ru>, size=106641, nrcpt=2 (queue active)
>     Jun 15 13:15:52 mail postfix/lmtp[1726]: BD4FA758A81:
> to=<mi...@domain.ru>, relay=mail.domain.ru[/var/lib/imap/socket/lmtp],
> delay=0.32, delays=0.13/0/0/0.19, dsn=2.1.5, status=sent (250 2.1.5
> Ok)

The log lines above don't show any problem at all. The status=sent
indicates that postfix delivered mail successfully to your lmtp imap
server.  Is there more logging that shows an error?

>     Jun 15 13:22:14 mail postfix/qmgr[1863]: BD4FA758A81:
> from=<a...@domain.ru>, size=106641, nrcpt=2 (queue active)

This shows a different queue manager process.  Apparently postfix
was reloaded, but that's not shown in the logs you shared.

> 
> Several users witch can't send not login in sasl like this:
>     Jun 15 13:24:04 mail imap[1884]: badlogin: [192.168.1.65]
> plaintext mi...@domain.ru SASL(-13): authentication failure: checkpass
> failed
>     Jun 15 13:24:07 mail imap[1887]: badlogin: [192.168.1.65]
> plaintext mi...@domain.ru SASL(-13): authentication failure: checkpass
> failed
> and many other logining well, but can't send the message.

Unrelated "imap" logging.  This isn't postfix, although it may
indicate a problem with your authentication back end.


> 
> and queue start working just after I moving out this lines:
> smtp_sasl_auth_enable = yes
> smtp_sasl_security_options = noanonymous
> smtp_sasl_type = cyrus
> smtp_sasl_mechanism_filter = login
> smtp_sender_dependent_authentication = yes

The above "smtp_" lines have to do with postfix sending mail out.


> 
> smtpd_sasl_auth_enable = yes

And this enables AUTH for postfix receiving mail.

> 
> and if I just restart the server, not remove those lines from main.cf,
> queue not start working.
> also I've tryed
> postsuper -d QUEUEID
> this wont help too.

It's not clear what you mean by "this won't help".  Please explain
what isn't working as expected, and show the commands and response.

If you need more help, you'll need to show us "postconf -n" and logs
demonstrating the problem, and explain what isn't working as
expected.  Please also see:
http://www.postfix.org/DEBUG_README.html#mail



  -- Noel Jones

Reply via email to