You have to enable "login" auth mechanism.
In dovecot.conf:
auth default {
# Space separated list of wanted authentication mechanisms:
# plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
# NOTE: See also disable_plaintext_auth setting.
mechanisms = plain login
Steve
On 03/19/2009 12:51 PM, Gabriel Hahmann wrote:
Hello everybody,
I'm running in a very strange problem.
I've used postfix with saslauthd for a long time but as my server
hosts a local domain and a few virtual domains I could only
authenticate local domain with smtp auth plain, cause I'm using
virtual domains flat files.
So my virtual users can download their emails with POP3 (dovecot) but
can only send with webmail.
Yesterday I discovered that I could use DovecotSASL to authenticate
all my virtual domains, and changed postfix and dovecot to acomplish this.
dovecot.conf: Added this lines
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
main.cf <http://main.cf>: Added these lines:
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
Restarted both services and tried to send a message from a virtual
domain to gmail, telneting to server port 25 and using perl to create
the base64 based on us...@domain\0user\@domain\0password. And this
works perfectly.
Then I tried to use Thunderbird. And works perfectly both for local
and virtual domains.
The problem is when I try to send a mail using Microsoft Outlook. I
send the message and then I receive the folowing error:
NOQUEUE: reject: RCPT from XXX.XXX.XXXdynamicIP.dominio.net
<http://XXX.XXX.XXXdynamicIP.dominio.net>[XXX.XXX.XXX.XXX]: 554 5.7.1
<u...@domain>: Sender address rejected: Access denied;
from=<u...@domain> to=<u...@outsidedomain> proto=ESMTP helo=<MACHINENAME>
I keep thinking and can't find a solution, telneting diretly to the
server and using Thunderbird works perfectly and with Microsoft
Outlook does not!!! I hate M$.
Can anybody help me?
Thanks in advance,
Gabriel.