[tpop3d-discuss] Re: one more question...

Dan Clark dan at scarfies.net
Tue, 2 Sep 2003 11:05:29 +1200


Thanks Chris,
    Is the local_part expecting a directory then the mailstore file or the
mailstore file itself?

Regards
Dan


----- Original Message ----- 
From: "Chris Lightfoot" <chris@ex-parrot.com>
To: "Dan Clark" <dan@scarfies.net>
Cc: <tpop3d-discuss@lists.beasts.org>
Sent: Tuesday, September 02, 2003 10:15 AM
Subject: [tpop3d-discuss] Re: one more question...


>     [ to list ]
>
> On Tue, Sep 02, 2003 at 10:14:13AM +1200, Dan Clark wrote:
> > Hi there,
> >     One more question, mail is being delivered to the following
location...
> >
> > /var/mail/domainname.co.nz/dan - (dan being the mail file not a
directory)
> >
> > Do I need to remove the 'local_part' bit after $(domain) 3rd line from
my
> > tpop3d.conf?
> >
> > auth-mysql-pass-query: \
> >         SELECT CONCAT('/var/mail/', '$(domain)',\
> >         '/', '$(local_part)'),\
>
>
> at this point, $(domain) is domainname.co.nz and
> $(local_part) is dan. So the above should give you the
> result you want. Note that you could store the whole path
> in the database if you want, rather than constructing it.
>
> >         CONCAT('{md5}', password), \
> >         'mailnull', 'mbox' \
> >         FROM users\
> >         WHERE username = '$(local_part)'\
> >         AND domainname = '$(domain)'
>
> -- 
> ``Odd things, animals.
>   Dogs look up to you. Cats look down to you.
>   Only pigs see you as an equal.'' (Churchill)
>
> _______________________________________________
> tpop3d-discuss mailing list
> tpop3d-discuss@lists.beasts.org
> http://lists.beasts.org/mailman/listinfo/tpop3d-discuss
>