Find the answer to your Linux question:
Results 1 to 2 of 2
Well, "newbie" is perhaps not appropriate, but if I have to choose between "guru" and "newbie", I'd rather be a newbie Running: CentOS 5.3 Trying to: authenticate virtual mailbox users ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Location
    Ansager, Denmark
    Posts
    26

    Dovecot conf error

    Well, "newbie" is perhaps not appropriate, but if I have to choose between "guru" and "newbie", I'd rather be a newbie

    Running: CentOS 5.3
    Trying to: authenticate virtual mailbox users with Dovecot

    I have installed Postfix, and that is working fine: all mails are coming down on my server without any problem, but someone has to retrieve the mails from one specific mailbox. Therefore I want to use dovecot (unless somebody has a better example.

    I have installed dovecot (it came in the box with CentOS 5.3, so it wasn't me who installed it).
    I found a tutorial, but that is based on an old version of Dovecot: Virtual Hosting with Postfix, part two | HowtoForge - Linux Howtos and Tutorials

    Line 25 and 26 can't be used by this version. So I changed that to something I read on dovecot.org:

    userdb passwd-file {
    args = /var/mail/vhosts/%d/etc/passwd
    }
    passdb passwd-file {
    args = /var/mail/vhosts/%d/etc/shadow
    }
    Ofcourse I created those files (passwd and shadow) in that directory, and the mails are also coming down in /var/mail/vhosts/<domain>/<username>

    But when trying to run dovecot -n, it says:

    Warning: Ignoring deprecated 'login' section handling. Use protocol imap/pop3 { .. } instead. Some settings may have been read incorrectly.
    Warning: Ignoring deprecated 'login' section handling. Use protocol imap/pop3 { .. } instead. Some settings may have been read incorrectly.
    Error: Error in configuration file /etc/dovecot.conf line 27: Unknown section type
    Fatal: Invalid configuration in /etc/dovecot.conf

    I am actually looking to a GOOD tutorial, or someone who understands Dovecot

    Please help

  2. #2
    Just Joined!
    Join Date
    Jul 2009
    Location
    Ansager, Denmark
    Posts
    26
    Anybody? Somebody?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...