Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Benny Pedersen
Den 2012-04-25 10:50, Kris Weston skrev: # auth_default_realm = ahhh, ok. only i have multiple domains, so how does that werk ? just put em all in ? if you use @ in imap/pop3 logins then the default for this setting is fine, if logins is without @ then you need to set it to the hostname of

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 21.28, Kris Weston wrote: > but then this happens when i attempt to send mail and this means the user > gets rejected because dovecot cant find the user id in the db without the > correct string (i.e. user@domain): > localhost dovecot: auth: Debug: sql(admin,xx.x

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Kris Weston
but then this happens when i attempt to send mail and this means the user gets rejected because dovecot cant find the user id in the db without the correct string (i.e. user@domain): localhost dovecot: auth: Debug: sql(admin,xx.xx.xx.xx): query: SELECT id as user, crypt as password FROM users W

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 18.52, Kris Weston wrote: > On 25/04/12 11:48, Timo Sirainen wrote: >> On 25.4.2012, at 9.17, Kris wrote: >> >>> but then this happens when i attempt to send mail and this means the user >>> gets rejected because dovecot cant find the user id in the db without the >>> correct s

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Kris Weston
On 25/04/12 11:48, Timo Sirainen wrote: On 25.4.2012, at 9.17, Kris wrote: but then this happens when i attempt to send mail and this means the user gets rejected because dovecot cant find the user id in the db without the correct string (i.e. user@domain): localhost dovecot: auth: Debug: sql

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 12:45, schrieb Timo Sirainen: > On 25.4.2012, at 9.49, Robert Schetterer wrote: > >> #when saving to Trash mailbox the user gets additional 50MB >> "Trash:storage=+50240" AS quota_rule2, \ >> #when saving to Sent mailbox the user gets additional 50MB >> "Sent:storage=+50240" AS quota

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 9.17, Kris wrote: > but then this happens when i attempt to send mail and this means the user > gets rejected because dovecot cant find the user id in the db without the > correct string (i.e. user@domain): > localhost dovecot: auth: Debug: sql(admin,xx.xx.xx.xx): query: SELECT

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 9.49, Robert Schetterer wrote: > #when saving to Trash mailbox the user gets additional 50MB > "Trash:storage=+50240" AS quota_rule2, \ > #when saving to Sent mailbox the user gets additional 50MB > "Sent:storage=+50240" AS quota_rule3, \ > #when saving to Drafts mailbox the user

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Dennis Guhl
On Wed, Apr 25, 2012 at 09:50:20AM +0100, Kris Weston wrote: > > thanks for your help dennis... > >Indeed, it seems some of your users try to authenticate with a > >username without the '@domain' part. > > > >You can either try to make your users comply or you can use > >auth_default_realm in your

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Kris Weston
thanks for your help dennis... Indeed, it seems some of your users try to authenticate with a username without the '@domain' part. You can either try to make your users comply or you can use auth_default_realm in your config: in this case the users are me :) same username every time i connect

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Dennis Guhl
On Wed, Apr 25, 2012 at 07:17:18AM +0100, Kris wrote: [..] > the problem is a variable in dovecot (%u) which is normally used as > a full username in sql query strings (i.e. user@domain) and is > simply dropping the domain for some reason... [..] > and to further confuse me, this 'unchangeable'

Re: [Dovecot] dovecot %u variable problem....

2012-04-24 Thread Robert Schetterer
Am 25.04.2012 08:17, schrieb Kris: > this was derived from the following query in > /etc/dovecot/dovecot-sql.conf.ext > user_query = SELECT home,uid,gid FROM users WHERE id = '%u' i use like this user_query = SELECT concat('/usr/local/virtual/', maildir) AS home, \ concat('*:bytes=', mailbox.qu

[Dovecot] dovecot %u variable problem....

2012-04-24 Thread Kris
Hi guys n gals, im on an ubuntu 11 VPS on linode (dovecot version 2.013). ive spent a lot of time and googling trying to get postfix, dovecot, ssl, saslauthd and mysql to all play nice together and im quite close now but theres something going on i cant quite explain and id really appreciate so