[tpop3d-discuss] Maildir Support

Chris Lightfoot chris at ex-parrot.com
Tue, 27 Aug 2002 17:50:02 +0100


On Tue, Aug 27, 2002 at 07:44:47PM +0300, Hakan Terzioglu wrote:
> Sorry but it didn't help at all. it still complains::
> 
> mailbox_new(/var/spool/exim/teklan.net/hakan): request for unknown
> mailbox type bsd.

ah, sorry, yes, you are using vmail-sql. by default
vmail-sql uses bsd mailboxes; put the following in your
config file:

    auth-mysql-pass-query:  \
        SELECT concat(domain.path, '/', popbox.mbox_name),              \
                      popbox.password_hash, domain.unix_user, 'maildir' \
                FROM popbox, domain                                     \
                WHERE popbox.local_part = '$(local_part)'               \
                      AND popbox.domain_name = '$(domain)'              \
                      AND popbox.domain_name = domain.domain_name

and the same for auth-mysql-apop-query, if you use APOP.


-- 
``DO NOT perform mouth-to-mouth resuscitation....''
  (EPA emergency care advice for victims of the nerve gas sarin)