The Network People Support Forums

Mail::Toaster => Installation Issues => Topic started by: Greg Talbot on June 13, 2007, 03:58:50 PM

Title: New Toaster install on 6.2
Post by: Greg Talbot on June 13, 2007, 03:58:50 PM
After running toaster_setup.pl -s dovecot

I get this error:

Error in configuration file /usr/local/etc/dovecot.conf line 923: Unknown section type

Line 923 is userdb passwd {

Are the proper changes to the dovecot.conf documented here somewhere?

Title: Re: New Toaster install on 6.2
Post by: Greg Talbot on June 14, 2007, 12:50:23 PM
Can anyone advise on how far back in the Toaster install process I'd need to go to use Courier instead?


(After making the necessary changes in toaster-watcher.conf)
Title: Re: New Toaster install on 6.2
Post by: antoniop on June 20, 2007, 04:49:30 AM
Greg,

I've recommend against using courier.  The error you have got isn't difficult to fix.  Take another look at the dovecot.conf file and you'll see the sections and what needs to be set-up.

Or alternatively cd /usr/ports/mail/dovecot && make extract && make patch

Then check out the dovecot.conf file in the files/dovecot... directory.

I'll post a working file once I plug my development server back in (just moved house)!  I tested the toaster on 6.2 and got the same error as you for dovecot.conf

Thanks,
Title: Re: New Toaster install on 6.2
Post by: Greg Talbot on June 25, 2007, 09:01:09 AM
Thanks for your comments.  I look forward to seeing your conf file.
Title: Re: New Toaster install on 6.2
Post by: gamemodder on July 24, 2007, 05:41:22 PM
I have similar error on line 924.  I notice in the installation log that patching of file dovecot.conf using plain A... "5 out of 24 hunks failed".  I see dovecot.conf.rej(attached) file but do not know how to incorporate it in to dovecot.conf.  Can any one give me some pointers?  Any help is greatly appreciated.
Title: Re: New Toaster install on 6.2
Post by: Greg Talbot on July 30, 2007, 10:31:36 AM
I also had hunk errors.  I reinstalled dovecot from the port manually and used the attached conf file.
Title: Re: New Toaster install on 6.2
Post by: PyterCoyote on July 30, 2007, 01:24:06 PM
Hi Greg,

Just wondering if that resolved your problem because I have the same error as Gamemodder....

All I have to do is install dovecot manually and use your attached files as a dovecot.conf rigth?...  ???

I'm a newbie as you can see ehehe!!

Thanks!!
Title: Re: New Toaster install on 6.2
Post by: pbrezny on August 03, 2008, 08:47:29 PM
The way I got around this problem on a freebsd 6.3 install was to open both /usr/local/etc/dovecot.conf and /usr/local/etc/dovecot.conf.rej in two separate windows, search for the corresponding bits of the patch listed in the .rej file and manually fix them up in the .conf file.

Hope this helps.