[tpop3d-discuss] Maildir Support

Hakan Terzioglu terzioglu at teklan.net
28 Aug 2002 00:20:49 +0300


Yeah, this really do the trick. thank you very much.
If i wont use the perl scripts to create and maintain accounts, but
write a web frontend using any language by reaching Mysql ,there will be
no problems. Right? But i will have to modify auth-mysql-pass-query as
needed, because by default it uses vmail-sql style db scheme.

Thanks again for your ultra fast reply :)

Hakan Terzioglu.

On Tue, 2002-08-27 at 19:50, Chris Lightfoot wrote:
> 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)
> 
--