need help with getting Dovecot mail server to work
hi i've tried to get Dovecot mail server to work and the install went ok but when i run "/etc/init.d/dovecot start" i get this error:
Code:
Error: Error in configuration file /etc/dovecot/dovecot.conf line 762: Auth section not allowed here (section changed at line 762) http://paste-it.net/7441 os: ubuntu server 7.1 |
is it possibly due to the auth default2 { defined immediately above (line 760)?
Code:
# |
that was done from this guide in part 3c
|
If i'm reading that article correctly it would look like this:
Code:
auth default { by doing the above you are using the already existing closing } that is "buried" further down past the comments and default settings. |
Quote:
|
What he means is try changing
Code:
auth default2 { Code:
auth default2 { |
Quote:
http://paste-it.net/7447 |
Try commenting out lines 774-776
if that doesn't work, do you still have a copy of the default dovecot.conf? If so, my the version you've been working on to a saved version (say dovecot.conf.sav) and copy the default to dovecot.conf. It should work out of the box anyway (except you may want to change the protocols section to imap and pop) |
Quote:
Code:
Error: Error in configuration file /etc/dovecot/dovecot.conf line 781: Unknown setting: mechanisms |
in the default config file (before your modifications) it has
auth default { # some comments # some values { stuff } #comments #comments #and eventually closes the 'auth default' stanza with } so when you put your copy/paste under and rename the above to auth default2 you are placing an auth in an auth which does not work. what you want to do is take the code that you pasted into (under) the auth default2 and move it above the (now named) auth default2 line. http://paste-it.net/7449 |
Did you try my other suggestion of the default config?
Where did the version you are using come from? It sounds like you have the wrong version for the dovecot version you are trying to run. Definitely try the original config that came with dovecot |
Quote:
Code:
Error: Can't use mail executable /usr/lib/dovecot/pop3: No such file or directory |
How did you install dovecot?
|
seems i missed the second command from this guide:
http://www.mysql-apache-php.com/#mailserver apt-get install dovecot-imapd dovecot-pop3d dovecot-common all working now :) |
Good to hear!
|
All times are GMT -5. The time now is 10:43 AM. |