Re: Maildrop Virtual Users

Sam Varshavchik <[email protected]>
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
[email protected] writes:

> >> 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).
>
> >Is /usr/bin/maildrop the maildrop that's a part of the Courier package, or
> >the standalone version of maildrop?
>
> It is the Courier version. I ran some tests as root:
>
> $ maildrop -v
> maildrop 2.1.0 Copyright 1998-2005 Double Precision, Inc.
> GDBM/DB extensions enabled.
> Courier Authentication Library extension enabled.

No, this is not the Courier version of maildrop. This is the standalone  
version.

The only way to get this maildrop configuration work for your set up is to  
invoke it from each account's .courier file with the -d option.

------------------------------------------------------------------------------
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

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)

iEYEABECAAYFAlE/Cp4ACgkQx9p3GYHlUOImtwCeOpWi8ib299JtLfufzraGpEnG
++sAnjZt9OwUEhazIxa4vER8wNSmWwaO
=bW5Q
-----END PGP SIGNATURE-----
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.