Virtual Users Setup

Schiz0 <[email protected]>
Newsgroups gmane.mail.maildrop
Message-ID <CAELCQX=e1UbMNinK6Jj8tHzpyciNRypCnLD2j8YY0X6hrwt-=Q@mail.gmail.com>
Hello,

I'm setting up virtual users with postgresql and maildrop. I setup
authlib to connect to my pgsql database. I tested it with authtest and
it works successfully.

What do I have to do to set up per-user filters? Right now, mail is
stored in /usr/local/vmail/domain.tld/[email protected]/ in a Maildir
format. In my sql database, that dir is set to both the home folder
and the maildir folder. Can I put .mailfilter in there? Will it affect
anything (dovecot?) accessing the maildir?

And secondly, is there anything I have to do to enable authlib within
maildrop? I have postfix setup to pipe into maildrop, but it still
gives me an error. The logs are below.

Maillog:
Jun  7 09:41:29 ananke postfix/pipe[5404]: 3W7SZx0C5RzHmy:
to=<[email protected]>, relay=maildrop, delay=0.03,
delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown. Command
output: Invalid user specified. )

# maildrop -v
maildrop 2.5.5 Copyright 1998-2005 Double Precision, Inc.
GDBM/DB extensions enabled.
Maildir quota extension are now always enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.

Authtest works:
# authtest [email protected]
Authentication succeeded.

     Authenticated: [email protected]  (uid 26, gid 6)
    Home Directory: /usr/local/vmail/domain.tld/[email protected]/
           Maildir: /usr/local/vmail/domain.tld/[email protected]/
             Quota: (none)
Encrypted Password: (none)
Cleartext Password: (none)
           Options: wbnodsn=1

Thank you for your help.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.