Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2010-01-01 Thread Noel Butler
These comments coming from you, are not surprising given who you are, so
i wont bother this list with any further reply, because i'm sure the
other trolls and fanbois will come out the woodwork..

On Fri, 2010-01-01 at 18:49 -0500, Charles Marcus wrote:


> 
> > he wants people to sub to his useless err i mean users mailing list :)
> 
> Funny... not... the postfix list is one of the more useful lists I've
> ever been subscribed to - almost as useful as the dovecot list, but not
> as friendly...




Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2010-01-01 Thread Charles Marcus
>> What has this got to do with anything,  It was well before Christmas.

> It was 12/10/09... two weeks... pretty close if you ask me, lots of
> people take 2-3 week vacations during this time of year.

Oh... and the only message that shows up in the archives is the
follow-up you posted yourself on the 15th - the original is nowhere to
be found.


Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2010-01-01 Thread Charles Marcus
On 2010-01-01, Noel Butler (noel.but...@ausics.net) wrote:
>> Then again, I might have just missed it. In addition, you do know what
>> time of the year it is, didn't you? Many individuals like myself have
>> better things to do than slave over our PCs waiting to answer questions.

> What has this got to do with anything,  It was well before Christmas.

It was 12/10/09... two weeks... pretty close if you ask me, lots of
people take 2-3 week vacations during this time of year.

>> to the Postfix forum. Include all relevant and unedited log file

> Why? I sent all the relevant information pertaining to my query, no need
> to send non-related crap.

What you might consider 'non-related crap' is often necessary to answer
your question, which is why it is required (per the welcome message you
get when subscribing) when asking for help.

No question that the postfix users list is pretty strict about form, but
the help available there is top notch, as long as you leave your
attitude at the door.


Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2010-01-01 Thread Charles Marcus
On 2009-12-31 7:01 PM, Noel Butler wrote:
> On Thu, 2009-12-31 at 16:21 -0500, Jerry wrote:
>>> Dunno. Above the private field appears to be "-" (the one after
>>> unix). I don't know why Postfix would see it as "--n".

>> Maybe asking  Wietse Venema  might prove
>> insightful.

> wouldnt do that, he gets very touchy with people emailing him directly,

Understandable...

> he wants people to sub to his useless err i mean users mailing list :)

Funny... not... the postfix list is one of the more useful lists I've
ever been subscribed to - almost as useful as the dovecot list, but not
as friendly...

> I asked him why postfix double lookups and looks up other stuff after
> its got a clear "not here", he said not to email him personally send to
> list, where it was also ignored, so i wouldnt waste my time asking
> him :)

So one question fell through the cracks a couple of weeks before
Christmas (lots of people get busy this time of year), so you rudely
slam him and the postfix list? Not very nice.

Maybe you should ask your question again, and maybe it would help if you
followed the instructions per the welcome message you received when you
joined the list:

TO REPORT A PROBLEM see:
http://www.postfix.org/DEBUG_README.html#mail

At a minimum, postfix version, output of postconf -n and unedited
NON-verbose logs exhibiting the problem should be provided...


Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2010-01-01 Thread Noel Butler
On Fri, 2010-01-01 at 06:52 -0500, Gerard wrote:

> Second, I totally disagree with your claim that his mail forum is
> useless. I have on several occasions posted quires and received rapid
> responses. By the way, I do not remember seeing your post on the forum.


Yep, I got a copy of it back so it obviously went to the list.


> Then again, I might have just missed it. In addition, you do know what
> time of the year it is, didn't you? Many individuals like myself have
> better things to do than slave over our PCs waiting to answer questions.


What has this got to do with anything,  It was well before Christmas.


> Might I suggest the following.
> 




> to the Postfix forum. Include all relevant and unedited log file


Why? I sent all the relevant information pertaining to my query, no need
to send non-related crap.
 
The mater is over as far as I'm concerned, if the postfix author doesn't
want to consider his software is doing more work than it needs to (maybe
it is, maybe it isn't, hence my question),  then, as I use a replicated
local databases on each front end server and it's not a problem here (I
only saw what it was doing debugging a failed user login w/mysql) then
that's not my problem, case closed :)

Happy New Year as well.



Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2010-01-01 Thread Gerard
On Fri, 01 Jan 2010 10:01:30 +1000
Noel Butler  articulated:

> On Thu, 2009-12-31 at 16:21 -0500, Jerry wrote:
> 
> 
> > > Dunno. Above the private field appears to be "-" (the one after
> > > unix). I don't know why Postfix would see it as "--n".
> > 
> > Maybe asking  Wietse Venema  might prove
> > insightful.
> > 
> 
> 
> wouldnt do that, he gets very touchy with people emailing him
> directly, he wants people to sub to his useless err i mean users
> mailing list :)
> 
> 
> I asked him why postfix double lookups and looks up other stuff after
> its got a clear "not here", he said not to email him personally send
> to list, where it was also ignored, so i wouldnt waste my time asking
> him :)

Obviously, I failed to properly clarify what i meant by "asking" in my
original post. I was referring to the Dovecot developer, not the OP.
sorry for the confusion.

Second, I totally disagree with your claim that his mail forum is
useless. I have on several occasions posted quires and received rapid
responses. By the way, I do not remember seeing your post on the forum.
Then again, I might have just missed it. In addition, you do know what
time of the year it is, didn't you? Many individuals like myself have
better things to do than slave over our PCs waiting to answer questions.
Nothing personal; it is just a fact of life.

Might I suggest the following.

1) Read all of the documentation at:


2) Get a copy of "postfinger"


Depending on your system, you man have to run it as root. Use it and
save the output.

There is also an SASL test program available at:
 if you
should ever need it.

Now, post the unedited file you saved from the output of "postfinger"
to the Postfix forum. Include all relevant and unedited log file
entities. I am reasonably sure that you will receive a reply to your
post. Be sure to start a 'new' post. Don't just continue the one you
posted previously.

I hope that this procedure will aid you in finding a solution to your
predicament.

Have a Happy New Year!

--
Gerard
ger...@seibercom.net

|===
|===
|===
|===
|

Many pages make a thick book.



Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Noel Butler
On Thu, 2009-12-31 at 16:21 -0500, Jerry wrote:


> > Dunno. Above the private field appears to be "-" (the one after
> > unix). I don't know why Postfix would see it as "--n".
> 
> Maybe asking  Wietse Venema  might prove
> insightful.
> 


wouldnt do that, he gets very touchy with people emailing him directly,
he wants people to sub to his useless err i mean users mailing list :)


I asked him why postfix double lookups and looks up other stuff after
its got a clear "not here", he said not to email him personally send to
list, where it was also ignored, so i wouldnt waste my time asking
him :)



Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Timo Sirainen
On Thu, 2009-12-31 at 17:41 -0500, Jerry wrote:
> On Thu, 31 Dec 2009 16:55:39 -0500
> Timo Sirainen  articulated:
> 
> > I'm pretty sure Wietse would prefer people to ask questions in mailing
> > list (like me).
> 
> As a regular end user, I would certainly agree. However, as a
> developer of a piece of software that is commonly used in conjunction
> with his product, that he might be inclined to discuss the matter in a
> more personal setting.

Some questions, maybe, but the Postfix problem that Anthony had didn't
have much to do with Dovecot interaction. My guess is that it is some
kind of a typo or maybe he's somehow looking at wrong file/line or some
other similar small mistake. No need for me to go do anything in the
middle. :)



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Jerry
On Thu, 31 Dec 2009 16:55:39 -0500
Timo Sirainen  articulated:

> I'm pretty sure Wietse would prefer people to ask questions in mailing
> list (like me).

As a regular end user, I would certainly agree. However, as a
developer of a piece of software that is commonly used in conjunction
with his product, that he might be inclined to discuss the matter in a
more personal setting.

--
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

The wise shepherd never trusts his flock to a smiling wolf.



Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Timo Sirainen
On Thu, 2009-12-31 at 16:21 -0500, Jerry wrote:
> Maybe asking  Wietse Venema  might prove
> insightful.

I'm pretty sure Wietse would prefer people to ask questions in mailing
list (like me).



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Jerry
On Thu, 31 Dec 2009 14:55:51 -0500
Timo Sirainen  articulated:

> > Dec 31 11:33:29 mail postfix/master[5377]: fatal: 
> > /etc/postfix/master.cf: line 82: field "private": bad value: "--n"  
> ..
> > dovecot unix - n n - - pipe flags=DRhu user=vmail:mail 
> > argv=/usr/lib/dovecot/deliver -c /etc/dovecot/dovecot-postfix.conf
> > -f ${sender} -d $(recipient)  
> 
> Dunno. Above the private field appears to be "-" (the one after
> unix). I don't know why Postfix would see it as "--n".

Maybe asking  Wietse Venema  might prove
insightful.

--
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

Keep up the good work!  But please don't ask me to help.



Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Timo Sirainen
On Thu, 2009-12-31 at 13:37 -0600, Anthony Nedland wrote:
> sql(ra...@baldtel.com,64.33.164.10): PLAIN(rakka) != 
> '$1$f82c98f9$/vrwt3aZHWM/5j1pjEhVZ1'

See the PLAIN(rakka). It assumes the '$1$f82..' is in plaintext, while
it's really md5-crypt. Set default_pass_scheme = md5-crypt to
dovecot-sql.conf.

> Dec 31 11:33:29 mail postfix/master[5377]: fatal: 
> /etc/postfix/master.cf: line 82: field "private": bad value: "--n"
..
> dovecot unix - n n - - pipe flags=DRhu user=vmail:mail 
> argv=/usr/lib/dovecot/deliver -c /etc/dovecot/dovecot-postfix.conf -f 
> ${sender} -d $(recipient)

Dunno. Above the private field appears to be "-" (the one after unix). I
don't know why Postfix would see it as "--n".



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Anthony Nedland

Timo Sirainen wrote:

On Thu, 2009-12-31 at 12:41 -0600, Anthony Nedland wrote:
  

I noticed that the statement has /var/vmail//rakka. Is the // ok?



That's because the %d is empty.

  

I tried with ra...@domain and this is my log on that attempt

AUTH#0111#011PLAIN#011service=pop3#011lip=192.168.1.9#011rip=64.33.164.10#011lport=110#011rport=50836#011resp=AHJha2thIAhAYmFsZHRlbC5jb20AcmFra2E=



Decode the resp base64 string above. You'll see that after "user"
there's a space and backspace character. So it looks like your test was
just broken because backspace wasn't working correctly.
  



Ok, I didn't use backspace this time. Here's the output from mail.log

Dec 31 13:02:48 mail dovecot: auth(default): new auth connection: pid=5604
Dec 31 13:03:00 mail dovecot: auth(default): client in: 
AUTH#0111#011PLAIN#011service=pop3#011lip=192.168.1.9#011rip=64.33.164.10#011lport=110#011rport=54542#011resp=AHJha2thQGJhbGR0ZWwuY29tAHJha2th
Dec 31 13:03:00 mail dovecot: auth-worker(default): mysql: Connected to 
localhost (postfix)
Dec 31 13:03:00 mail dovecot: auth-worker(default): 
sql(ra...@baldtel.com,64.33.164.10): query: SELECT username as user, 
password, '/var/vmail/baldtel.com/rakka' as 
userdb_home,'maildir:/var/vmail/baldtel.com/rakka' as userdb_mail, 150 
as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 
'ra...@baldtel.com' AND active = 1
Dec 31 13:03:00 mail dovecot: auth-worker(default): 
sql(ra...@baldtel.com,64.33.164.10): Password mismatch
Dec 31 13:03:00 mail dovecot: auth-worker(default): 
sql(ra...@baldtel.com,64.33.164.10): PLAIN(rakka) != 
'$1$f82c98f9$/vrwt3aZHWM/5j1pjEhVZ1'
Dec 31 13:03:02 mail dovecot: auth(default): client out: 
fail#0111#011user=ra...@baldtel.com
Dec 31 13:03:03 mail dovecot: pop3-login: Aborted login (auth failed, 1 
attempts): user=, method=PLAIN, rip=64.33.164.10, 
lip=192.168.1.9


It looks like it worked, but didn't like the password. Is that right? I 
don't see how the password could be wrong, but I can make another user 
to check that.


Any thoughts on the error in mail.err? Did I get that part into the last 
message?


Thanks for all the help also.


Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Anthony Nedland
<>

Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Timo Sirainen
On Thu, 2009-12-31 at 12:41 -0600, Anthony Nedland wrote:
> I noticed that the statement has /var/vmail//rakka. Is the // ok?

That's because the %d is empty.

> I tried with ra...@domain and this is my log on that attempt
> 
> AUTH#0111#011PLAIN#011service=pop3#011lip=192.168.1.9#011rip=64.33.164.10#011lport=110#011rport=50836#011resp=AHJha2thIAhAYmFsZHRlbC5jb20AcmFra2E=

Decode the resp base64 string above. You'll see that after "user"
there's a space and backspace character. So it looks like your test was
just broken because backspace wasn't working correctly.


signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Anthony Nedland

Timo Sirainen wrote:

On Thu, 2009-12-31 at 11:18 -0600, Anthony Nedland wrote:
  
sql(rakka,64.33.164.10): query: SELECT username as user, password, 
'/var/vmail//rakka' as userdb_home,'maildir:/var/vmail//rakka' as 
userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE 
username = 'rakka' AND active = 1
Dec 31 11:06:34 mail dovecot: auth-worker(default): 
sql(rakka,64.33.164.10): unknown user



Run the SQL query in mysql. Apparently there's no such row with
username='rakka' and active=1.

I guess you should be logging in as ra...@domain, not rakka..

  

(sorry about double emails if they're showing up, should have that fixed)
I noticed that the statement has /var/vmail//rakka. Is the // ok? I'm 
not sure what else could be wrong with the SQL part. Postfixadmin should 
have populated the database right? It said it did on the setup.


I tried with ra...@domain and this is my log on that attempt

Dec 31 11:42:50 mail dovecot: auth(default): new auth connection: pid=5575
Dec 31 11:42:59 mail dovecot: auth(default): client in: 
AUTH#0111#011PLAIN#011service=pop3#011lip=192.168.1.9#011rip=64.33.164.10#011lport=110#011rport=50836#011resp=AHJha2thIAhAYmFsZHRlbC5jb20AcmFra2E=
Dec 31 11:42:59 mail dovecot: auth(default): auth(?,64.33.164.10): 
Invalid username: rakka ?...@baldtel.com
Dec 31 11:42:59 mail dovecot: auth(default): plain(?,64.33.164.10): 
Username contains disallowed character: 0x20

Dec 31 11:43:01 mail dovecot: auth(default): client out: FAIL#0111
Dec 31 11:43:03 mail dovecot: pop3-login: Aborted login (auth failed, 1 
attempts): method=PLAIN, rip=64.33.164.10, lip=192.168.1.9



Now that was the output of mail.log. I am having an issue in mail.err 
also I guess. Here's the most recent output of that.


Dec 31 11:33:29 mail postfix/master[5377]: fatal: 
/etc/postfix/master.cf: line 82: field "private": bad value: "--n"


And this is the statement on 82.

dovecot unix - n n - - pipe flags=DRhu user=vmail:mail 
argv=/usr/lib/dovecot/deliver -c /etc/dovecot/dovecot-postfix.conf -f 
${sender} -d $(recipient)





Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Anthony Nedland
<>

Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Timo Sirainen
On Thu, 2009-12-31 at 11:18 -0600, Anthony Nedland wrote:
> sql(rakka,64.33.164.10): query: SELECT username as user, password, 
> '/var/vmail//rakka' as userdb_home,'maildir:/var/vmail//rakka' as 
> userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE 
> username = 'rakka' AND active = 1
> Dec 31 11:06:34 mail dovecot: auth-worker(default): 
> sql(rakka,64.33.164.10): unknown user

Run the SQL query in mysql. Apparently there's no such row with
username='rakka' and active=1.

I guess you should be logging in as ra...@domain, not rakka..



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Anthony Nedland

Timo Sirainen wrote:

On Wed, 2009-12-30 at 15:09 -0600, Anthony Nedland wrote:
  
When I telnet into 110 I can enter a username with user [username] then 
when I do pass [password] I get -ERR Authentication failed.

I know the user info is correct.



Setting auth_debug_passwords=yes and looking at the logs would tell
exactly why it's failing. http://wiki.dovecot.org/Logging

  

r...@mail:/etc/dovecot# dovecot -n
# 1.1.11: /etc/dovecot/dovecot.conf
Error: Error in configuration file /etc/dovecot/dovecot.conf line 1076: 
Unknown section type (section changed in /etc/dovecot/dovecot.conf at 
line 1038)



In Ubuntu Dovecot is started with -c /etc/dovecot/dovecot-postfix.conf,
so the dovecot.conf isn't used at all. In your dovecot -n output you'd
need to give the same -c parameter. Why they decided to do it like this,
I've no idea.

Anyway.. What this means is that:

  

Starting line 1076--->
  master {



Apparently master {} isn't inside socket listen {} block, as it should
be.
  
I get no error when I run dovecot -n -c 
/etc/dovecot/dovecot-postfix.conf, just an extremely large output.
Here is the latest portion of my log attempting to log in with a user 
that I created in postfixadmin. The telnet session opened fine and it 
gave +OK for the user. Then I got -ERR Authentication failed for the 
password.

This is the log of it...

Dec 30 15:22:21 mail dovecot: dovecot v1.1.11 starting up (core dumps 
disabled)
Dec 30 15:22:22 mail dovecot: auth-worker(default): mysql: Connected to 
localhost (postfix)

Dec 30 15:22:23 mail dovecot: auth(default): new auth connection: pid=4333
Dec 30 15:22:23 mail dovecot: auth(default): new auth connection: pid=4334
Dec 30 15:22:23 mail dovecot: auth(default): new auth connection: pid=4335
Dec 30 15:22:23 mail dovecot: auth(default): new auth connection: pid=4336
Dec 30 15:22:23 mail dovecot: auth(default): new auth connection: pid=4337
Dec 30 15:22:23 mail dovecot: auth(default): new auth connection: pid=4339
Dec 30 15:22:23 mail dovecot: auth(default): new auth connection: pid=4338
Dec 30 15:22:23 mail dovecot: auth(default): new auth connection: pid=4340
Dec 30 15:22:23 mail dovecot: auth(default): new auth connection: pid=4341
Dec 31 11:06:23 mail postfix/smtpd[4935]: connect from 
hoot.bldwn-tel.com[64.33.164.10]
Dec 31 11:06:25 mail postfix/smtpd[4935]: disconnect from 
hoot.bldwn-tel.com[64.33.164.10]

Dec 31 11:06:27 mail dovecot: auth(default): new auth connection: pid=4939
Dec 31 11:06:34 mail dovecot: auth(default): client in: 
AUTH#0111#011PLAIN#011service=pop3#011lip=192.168.1.9#011rip=64.33.164.10#011lport=110#011rport=48288#011resp=AHJha2thAHJha2th
Dec 31 11:06:34 mail dovecot: auth-worker(default): mysql: Connected to 
localhost (postfix)
Dec 31 11:06:34 mail dovecot: auth-worker(default): 
sql(rakka,64.33.164.10): query: SELECT username as user, password, 
'/var/vmail//rakka' as userdb_home,'maildir:/var/vmail//rakka' as 
userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE 
username = 'rakka' AND active = 1
Dec 31 11:06:34 mail dovecot: auth-worker(default): 
sql(rakka,64.33.164.10): unknown user
Dec 31 11:06:36 mail dovecot: auth(default): client out: 
FAIL#0111#011user=rakka
Dec 31 11:06:37 mail dovecot: pop3-login: Aborted login (auth failed, 1 
attempts): user=, method=PLAIN, rip=64.33.164.10, lip=192.168.1.9



--



Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-31 Thread Anthony Nedland
<>

Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-30 Thread Timo Sirainen
On Wed, 2009-12-30 at 15:09 -0600, Anthony Nedland wrote:
> When I telnet into 110 I can enter a username with user [username] then 
> when I do pass [password] I get -ERR Authentication failed.
> I know the user info is correct.

Setting auth_debug_passwords=yes and looking at the logs would tell
exactly why it's failing. http://wiki.dovecot.org/Logging

> r...@mail:/etc/dovecot# dovecot -n
> # 1.1.11: /etc/dovecot/dovecot.conf
> Error: Error in configuration file /etc/dovecot/dovecot.conf line 1076: 
> Unknown section type (section changed in /etc/dovecot/dovecot.conf at 
> line 1038)

In Ubuntu Dovecot is started with -c /etc/dovecot/dovecot-postfix.conf,
so the dovecot.conf isn't used at all. In your dovecot -n output you'd
need to give the same -c parameter. Why they decided to do it like this,
I've no idea.

Anyway.. What this means is that:

> Starting line 1076--->
>   master {

Apparently master {} isn't inside socket listen {} block, as it should
be.


signature.asc
Description: This is a digitally signed message part


[Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-30 Thread Anthony Nedland
(Apologies if this is a resend, but I thought I had received a 
bounceback message.)


I have installed dovecot-postfix and postfixadmin on an Ubuntu 9.10 
machine.

The userdb and passdb are both mysql.
If I set up a user in postfixadmin they are able to send.
I can successfully telnet into the server remotely by name on 110 and 25.
I'm not looking for any authentication encryption/ssl any of that, just 
POP3/SMTP.
When I telnet into 110 I can enter a username with user [username] then 
when I do pass [password] I get -ERR Authentication failed.

I know the user info is correct.
When I set up an account in Outlook Express I get "There was a problem 
logging onto your mail server. Your Password was rejected:" Also saying 
-ERR Authentication failed.'. (0x800ccc90,0x800ccc92)

So basically the same thing.
I can attach the tutorial I used in as a .doc if that would help.
Anyway, here is my relevant info I think.

--
--
--
Version 1.1.11
--

-
dovecot-sql.conf GREP

driver = mysql
connect = host=localhost dbname=postfix user=postfix password=password
default_pass_scheme = PLAIN
user_query = SELECT '/var/vmail/%d/%n' as home, 
'maildir:/var/vmail/%d/%n' as mail, 150 AS uis, 8 AS gid, 
concat(dirsize:storage=',quota) AS quota FROM mailbox WHERE username = 
'%u' AND active = 1
password_query = SELECT username as user, password, '/var/vmail/%d/%n' 
as userdb_home,'maildir:/var/vmail/%d/%n' as userdb_mail, 150 as 
userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = '%u' AND 
active = 1

--
-
-


r...@mail:/etc/dovecot# dovecot -n
# 1.1.11: /etc/dovecot/dovecot.conf
Error: Error in configuration file /etc/dovecot/dovecot.conf line 1076: 
Unknown section type (section changed in /etc/dovecot/dovecot.conf at 
line 1038)

Fatal: Invalid configuration in /etc/dovecot/dovecot.conf


Starting line 1076--->
 master {
 # Master socket provides access to userdb information. It's typically
 # used to give Dovecot's local delivery agent access to userdb so it
 # can find mailbox locations.
 path = /var/run/dovecot/auth-master
 mode = 0660
 # Default user/group is the one who started dovecot-auth (root)
 user = vmail
 group = mail
   }




 # SQL database 
 userdb sql {
   # Path for SQL configuration file
   args = /etc/dovecot/dovecot-sql.conf
Line 138 -->  }


I don't understand the issue with these lines.
They refer to dovecot.conf though.
The config file is clearly dovecot-postfix.conf so I am confused as to 
why the other matters. I had noticed changes only when I changed 
dovecot.conf though. (In dovecot -n output)





[Dovecot] Issue Authenticating to a new dovecot-postfix installation

2009-12-30 Thread Anthony Nedland
<>