Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: rakkey on January 17, 2014, 08:01:33 AM

Title: Cant send emails, error 535
Post by: rakkey on January 17, 2014, 08:01:33 AM
Im having problem sending emails, but recieving is no problem.

When Im trying to send an email, following happens in the logfile:

Jan 16 17:14:43 mail postfix/smtpd[16810]: connect from mail.mydomain.dk[MYIP]
Jan 16 17:14:43 mail postfix/smtpd[16810]: warning: mail.mydomain.dk[MYIP]: SASL LOGIN authentication failed: no mechanism available
Jan 16 17:14:43 mail postfix/smtpd[16810]: disconnect from mail.mydomain.dk[MYIP]

My main.inc.php file looks like this: http://pastebin.com/ZCbHa3d4

And heres my postfix/main.cf: http://pastebin.com/puK4qVxZ

I should tell you that this is linux, and all ports are open for the servers.
Title: Re: Cant send emails, error 535
Post by: rakkey on January 17, 2014, 08:05:43 AM
By the way, ive tried editing the smtp user to nothing instead of ''%u' but it dindt have any effect, otherwise than i could send local emails, and otherwise it was a new error 553.
Title: Re: Cant send emails, error 535
Post by: oldschool on January 17, 2014, 11:58:27 AM
Hi!

Quote from: rakkey on January 17, 2014, 08:01:33 AM
Jan 16 17:14:43 mail postfix/smtpd[16810]: warning: mail.mydomain.dk[MYIP]: SASL LOGIN authentication failed: no mechanism available

"no mechanism" is the prob.
Maybe the mail server or your config...


Greets.
Title: Re: Cant send emails, error 535
Post by: rakkey on January 18, 2014, 06:59:46 AM
Well if Im trying to use

mailx on the server, as a test it works.
So the conclusion must be, that the error is on the webmail, but i just cant see where.
Title: Re: Cant send emails, error 535
Post by: oldschool on January 18, 2014, 11:16:48 AM
Hi!

The mechanism is used for the user/password check.
If this fails there's something wrong/misconfigured with the mail system, the operating system or maybe roundcube due to the fact there's no or a wrong defined authentication mechanism.


Greets.