Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Noel Butler
On Fri, 2010-05-14 at 14:03 -0400, Phil Howard wrote: > On Fri, May 14, 2010 at 14:00, Thomas Leuxner wrote: > > > Am 14.05.2010 um 19:51 schrieb Phil Howard: > > > > > It is the version packaged in Ubuntu 9.10 … > > > > This one is ancient. Also it has configuration syntax changes compared to >

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 14:06, Thomas Leuxner wrote: > Am 14.05.2010 um 20:03 schrieb Phil Howard: > > > I've been thinking that as soon as I get this working, I will plan a > transition over to a newer server with Slackware instead of Ubuntu. > Slackware is easier about letting you run packages

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Thomas Leuxner
Am 14.05.2010 um 20:03 schrieb Phil Howard: > I've been thinking that as soon as I get this working, I will plan a > transition over to a newer server with Slackware instead of Ubuntu. > Slackware is easier about letting you run packages you build from source. Probably OT, but did you consider

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 14:00, Thomas Leuxner wrote: > Am 14.05.2010 um 19:51 schrieb Phil Howard: > > > It is the version packaged in Ubuntu 9.10 … > > This one is ancient. Also it has configuration syntax changes compared to > the latest production release. Anyway the debug parameters should wo

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Thomas Leuxner
Am 14.05.2010 um 19:51 schrieb Phil Howard: > It is the version packaged in Ubuntu 9.10 … This one is ancient. Also it has configuration syntax changes compared to the latest production release. Anyway the debug parameters should work, given they are in the right conf file...

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 13:30, Thomas Leuxner wrote: > Am 14.05.2010 um 19:25 schrieb Phil Howard: > > > Nothing new is showing up when I test sending some mail through (which > does get delivered to that path constructed with an empty string for %). > > > > Which version are you now testing on?

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Thomas Leuxner
Am 14.05.2010 um 19:25 schrieb Phil Howard: > Nothing new is showing up when I test sending some mail through (which does > get delivered to that path constructed with an empty string for %). > Which version are you now testing on? Recent posts were set around the beta. Is this for the 2.x bet

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 12:47, Thomas Leuxner wrote: > Am 14.05.2010 um 17:05 schrieb Phil Howard: > > > On Wed, May 12, 2010 at 04:20, Steffen Kaiser < > skdove...@smail.inf.fh-brs.de > >> wrote: > > > >> Could you verify that the domain gets stripped by setting mail_debug, > >> auth_verbose and

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Thomas Leuxner
Am 14.05.2010 um 17:05 schrieb Phil Howard: > On Wed, May 12, 2010 at 04:20, Steffen Kaiser > wrote: > >> Could you verify that the domain gets stripped by setting mail_debug, >> auth_verbose and auth_debug? >> > > Where would I see the results of this? In whatever logging facility you set up.

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Wed, May 12, 2010 at 04:20, Steffen Kaiser wrote: > Could you verify that the domain gets stripped by setting mail_debug, > auth_verbose and auth_debug? > Where would I see the results of this?

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Wed, May 12, 2010 at 04:20, Steffen Kaiser wrote: > > actually it looks like, nobody uses passwd-file like you do :) > This aspect can be changed, if needed. If needed, one big file with u...@domain in the first colon-separated field would be doable, too. > The doc at http://wiki.dovecot.

Re: [Dovecot] %d is empty in mail_location

2010-05-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 11 May 2010, Phil Howard wrote: actually it looks like, nobody uses passwd-file like you do :) The doc at http://wiki.dovecot.org/AuthDatabase/PasswdFile would lead to your assumption of operation, that is: + you auth using u...@domain +

Re: [Dovecot] %d is empty in mail_location

2010-05-11 Thread Christopher Balmain
Hi, You are stripping the domain part of the username with the username_format specifiers: passdb passwd-file { args = scheme=crypt username_format=%Ln /etc/mailauth/%Ld.passwd } userdb passwd-file { args = username_format=%Ln /etc/mailauth/%Ld.passwd } Try replacing %Ln with %Lu in

Re: [Dovecot] %d is empty in mail_location

2010-05-11 Thread Phil Howard
So what I am wondering, right now, is where the value for %d ... as used in mail_location ... comes from when running in dovecot/deliver. Apparently it is not getting anything through that means. Not know where it gets it from, I don't know where to look to see what is misconfigured.

Re: [Dovecot] %d is empty in mail_location

2010-05-11 Thread Phil Howard
On Tue, May 11, 2010 at 04:00, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mon, 10 May 2010, Phil Howard wrote: > > u...@domain address. The problem is that %d and %Ld are coming up as >> empty, >> and %12MLd is giving me the first 12 hex characters of an md5

Re: [Dovecot] %d is empty in mail_location

2010-05-11 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 10 May 2010, Phil Howard wrote: u...@domain address. The problem is that %d and %Ld are coming up as empty, and %12MLd is giving me the first 12 hex characters of an md5 of an empty content. It's losing the domain name somewhere. It's in

[Dovecot] %d is empty in mail_location

2010-05-10 Thread Phil Howard
I have this in dovecot-postfix.conf: mail_location = maildir:/home/mail/dnamesum=%12MLd/dname=%Ld/unamesum=%12MLn/uname=%Ln/mail Yes, it is excessive, but that's just for testing. The pattern I really want is less clear for debugging. In postfix/main.cf I have: mailbox_command = /usr/lib/dovec

Re: [Dovecot] %d is empty

2008-09-22 Thread rihad
Timo Sirainen wrote: On Mon, 2008-09-22 at 23:17 +0500, rihad wrote: auth default: username_format: %Ln Why did you set this? You're the second person already having this problem recently. Is there some HOWTO or something recommending to do this? Use %Lu instead. It ain't me, it's stock

Re: [Dovecot] %d is empty

2008-09-22 Thread Timo Sirainen
On Mon, 2008-09-22 at 23:17 +0500, rihad wrote: > auth default: >username_format: %Ln Why did you set this? You're the second person already having this problem recently. Is there some HOWTO or something recommending to do this? Use %Lu instead. signature.asc Description: This is a digital

Re: [Dovecot] %d is empty

2008-09-22 Thread rihad
Timo Sirainen wrote: On Sat, 2008-09-20 at 13:44 +0500, rihad wrote: user [EMAIL PROTECTED] .. Further investigation revealed that %u is just rihad and not [EMAIL PROTECTED] Any hints? You're dropping the domain somewhere. Maybe in auth_username_format? If you can't fix it, send your doveco

Re: [Dovecot] %d is empty

2008-09-22 Thread Timo Sirainen
On Sat, 2008-09-20 at 13:44 +0500, rihad wrote: > user [EMAIL PROTECTED] .. > Further investigation revealed that %u is just rihad and not [EMAIL PROTECTED] > > Any hints? You're dropping the domain somewhere. Maybe in auth_username_format? If you can't fix it, send your dovecot -n output. sig

[Dovecot] %d is empty

2008-09-20 Thread rihad
Hi, I'm a Dovecot newb playing with version 1.1.3 port under FreeBSD. After setting up dovecot-sql.conf for MySQL I can't check mail via POP3: ... password_query = \ SELECT CONCAT(username, '@', d.name) AS user, password \ FROM users u JOIN domains d ON u.domain_id=d.id \