On Wednesday, December 03, 2008 at 23:06 CET, "Roderick A. Anderson" <[EMAIL PROTECTED]> wrote:
> Magnus Bäck wrote: [...] > > You can choose any username you like as long as it matches whatever > > is in your credential database. So far we don't know anything about > > that. MySQL, sasldb, LDAP, what? > > smtpd_sasl_type = dovecot Yes, but how does Dovecot store the credentials? But never mind, let's see some logs from the failed authentication attempt. > > Why do you insist on testing this with telnet? You will introduce > > another possible error source (incorrect encoding of the credentials) > > and it's a use case that you're supposedly not really interested in. > > Because I can do it one step at a time and see the results that > Postfix sends back. I hadn't thought of telnet possibly munging > base64 encoded values. They looked like ASCII-only to me. Telnet won't munge your encoded credentials (they are indeed pure ASCII), but you may do the encoding incorrectly or mess up in some other way. We've seen that on the list quite a few times, so I'd recommend using a real MUA for this testing. Postfix will log everything that's relevant anyway. But it's a good instinct you've got -- generally it's of course good to introduce complexity gradually and module test things separately before you put them together. > > Useless since local_transport != local. > > Thanks. This was built by looking at _many_ HOWTOs and documentation > pages and based on a working non-virtual main.cf file. Sadly many how to documents are written by people who aren't that very knowledgable. [...] -- Magnus Bäck [EMAIL PROTECTED]