Hello, I am getting below error & dovecot is not working.. ------------------------------------------------------------------------------ [root@] # dovecot -n | head -1 Error: Error in configuration file /usr/local/etc/dovecot.conf line 1: Expecting '=' Fatal: Invalid configuration in /usr/local/etc/dovecot.conf /usr/local/etc/dovecot.conf is as under: ------------------------------------------------------------------- # Basic Configuration base_dir = /var/run/dovecot/ protocols = imap pop3 listen = * disable_plaintext_auth = no # Logging log_path = /var/log/dovecot.log info_log_path = /var/log/dovecot-info.log # SSL ssl_disable = yes ssl_listen # Login Processes login_dir = /var/run/dovecot/login login_chroot = yes login_process_size = 64 login_process_per_connection = yes login_processes_count = 3 login_max_processes_count = 128 login_max_connections = 256 login_greeting = Dovecot ready # Mailbox locations mail_location = mbox:~/mail:INBOX=/var/mail/%u # mail_location = maildir:~/Maildir # mbox (Traditional) mbox_read_locks = fcntl mbox_write_locks = fcntl # maildir (Latest) # Mail Processes max_mail_processes = 1024 mail_process_size = 256 mail_max_keyword_length = 50 # IMAP Specific Settings protocol imap { login_executable = /usr/libexec/dovecot/imap-login mail_executable = /usr/libexec/dovecot/imap mail_plugins mail_plugin_dir = /usr/lib/dovecot/imap } # POP3 specific settings protocol pop3 { login_executable = /usr/libexec/dovecot/pop3-login mail_executable = /usr/libexec/dovecot/pop3 mail_executable = /usr/libexec/dovecot/pop3 } # Authentication processes auth_executable = /usr/libexec/dovecot/dovecot-auth auth_process_size = 256 auth_realms auth_username_chars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@ auth default { mechanisms = plain login passdb pam { } userdb passwd { } socket listen { client { # Assuming the default Postfix $queue_directory setting path = /var/spool/postfix/private/auth mode = 0660 # Assuming the default Postfix user and group user = postfix group = postfix } } }
On 7/2/2008, Kaushal Gandhi (gandhikr at gmail.com) wrote:> [root@] # dovecot -n | head -1 > Error: Error in configuration file /usr/local/etc/dovecot.conf line 1: > Expecting '=' > Fatal: Invalid configuration in /usr/local/etc/dovecot.confAre you by any chance editing the config file from a windows client? The only thing I can think of is a windows==unix file format issue... -- Best regards, Charles
On Jul 2, 2008, at 12:11 PM, Kaushal Gandhi wrote:> Hello, > > I am getting below error & dovecot is not working.. > ------------------------------------------------------------------------------ > [root@] # dovecot -n | head -1 > Error: Error in configuration file /usr/local/etc/dovecot.conf line 1: > Expecting '=' > Fatal: Invalid configuration in /usr/local/etc/dovecot.confWhat operating system? You could try if it works by deleting #define HAVE_PREAD_H line from config.h and recompiling. Other than that and Charles's suggestion I have no idea why it would say that. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080702/9dcfa132/attachment-0002.bin>