Maildrop Virtual Users

[email protected]
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
I have a working Courier setup for my local domain, and two hosted
domains, using Unix user accounts with a smarthost relay for outgoing
mail. I wanted to try virtual users authenticated against a MySQL table so
I created a user "vmail" and a directory structure
"/home/vmail/[domain]/[user]/Maildir" for each domain and user, populated
the MySQL table with the appropriate values and switched authdaemon from
authpam to authmysql.
My problem is that maildrop is not doing what I want! If I set
DEFAULTDELIVERY to "| /usr/bin/maildrop" in courierd all mail is delivered
to a mailbox file at /var/mail (the $MAIL variable for vmail user), but
when DEFAULTDELIVERY is "./Maildir" mail is delvered to the correct
location.
I cannot work out what I have done wrong despite reading man pages and web
articles - can someone point me in the right direction (I am a relative
newbie to mail setup).

Neil.



------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
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.