Author Topic: SASL Authentication failing only with RC when sending  (Read 6191 times)

Offline SoulManager

  • Newbie
  • *
  • Posts: 4
SASL Authentication failing only with RC when sending
« on: December 04, 2007, 10:49:29 AM »
Hi!

Congratulations on this wonderful webmail client, it has indeed tempted me to switch from my actual webmail client solution (Horde/IMP), which I've been using for more than 6 years now.

Even though I found the installation/setup of RoundCube fairly simple I've found a problem which keeps me from switching to this client, and is the problem when I send emails. I use a Virtual Users/Domains setup with Postfix/MySQL/Courier with the PostfixAdmin Database Scheme ans SASL Authentication, nonetheless, I can send without any problems using the Horde/IMP webmail client, sending from the RoundCube webmail client has been impossible.

The strange thing is that both setups (IMP and RoundCube) are running on the same server, using the same SASL/SMTP configuration and IMP is able to handle successfully the SMTP authentication via SASL but RoundCube isn't. The error I get on the auth.log is the following:

Code: [Select]
Dec 4 09:40:09 saviour postfix/smtpd[28096]: sql auxprop plugin using mysql engine
Dec 4 09:40:09 saviour saslauthd[30628]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
Dec 4 09:40:09 saviour saslauthd[30628]: do_auth     : auth failure: [user=user@testdomain.org] [service=smtp] [realm=testdomain.org] [mech=pam] [reason=PAM auth error]

and in mail.log I get the following:

Code: [Select]
Dec 4 09:40:09 saviour postfix/smtpd[28096]: connect from localhost[127.0.0.1]  
Dec 4 09:40:09 saviour postfix/smtpd[28096]: warning: localhost[127.0.0.1]: SASL LOGIN authentication failed: authentication failure
Dec 4 09:40:09 saviour postfix/smtpd[28096]: disconnect from localhost[127.0.0.1]

When I try to send through IMP I don't get any errors on auth.log and in mail.log I get the following:

Code: [Select]
Dec 4 09:43:31 saviour postfix/smtpd[28148]: disconnect from localhost[127.0.0.1]
Dec 4 09:43:31 saviour amavis[18142]: (18142-02) Passed CLEAN, [201.194.203.238] -> , Message-ID: <20071204094317.6hj266rkg8wksgcc@webmail.testdomain.org>, mail_id: viNfsxcbjqIz, Hits: -1.4, queued_as: 71FCC10240A0, 13811 ms
Dec 4 09:43:31 saviour postfix/smtp[28142]: C8C3010240A1: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=14, delays=0.13/0/0/14, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=18142-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 71FCC10240A0)
Dec 4 09:43:31 saviour postfix/qmgr[4766]: C8C3010240A1: removed
Dec 4 09:43:32 saviour postfix/smtp[28151]: 71FCC10240A0: to=, relay=zor2.testdomain.net[***.**.**.**]:25, delay=0.65, delays=0.27/0.02/0.28/0.08, dsn=4.7.1, status=deferred (host zor2.testdomain.net[***.**.**.**] said: 450 4.7.1 : Recipient address rejected: Message Greylisted for 180 seconds. (in reply to RCPT TO command))

As you can see the mail gets sent using IMP, this is the exact same server using the exact same config files in both cases, but with RoundCube I can't get my emails sent, and with IMP I can.

Now, is not a matter of "stay with the client that works", is a matter of I want to get this working because I would really like to switch, but in this present scenario I am out of options myself to try to get this fixed and working.

Your help and guidance will be greatly appreciated!

Regards,

Gustavo