Hi all,
I am using courier on a Debian Woody system. Since I don't know how to build
and make such complex software work I have to use the apt-gettable binary
package. This is quite good for all purposes, but I am stuck with user
daemon.
I also use fetchmail to deliver directly to maildrop. By giving user daemon
a real, non-world-writable (why maildrop thinks "/usr/bin" is world writable
beats me) home directory "/home/daemon", I finally made the following
"/etc/fetchmailrc" work:
poll remote_server user "name" pass "urjokin" is "local_virtual_user"
mda "/usr/bin/env HOME=/var/mail/local_virtual_user_home/
/usr/bin/maildrop -d daemon"
This works fine if I have only one global "/etc/maidroprc". Should I desire a
per-user filtering rule in "$HOME/.mailfilter" it is alas possible only if
maildrop is called directly from courier for direct delivery. If it is
called from fetchmail as above, it tries to read "/home/daemon/.mailfilter"
instead of "$HOME/.mailfilter".
Now I have read and understand that this is a feature and not a bug since
maildrop refuses to import environment variables in delivery mode for (to me
unfortunately obscure) security reasons . Still, I do need per-virtual-user
rules and white-listing.
Is there a way around this feature short of rewriting maildrop (which is
hardly an option since I can't even make the Debian build work for a
different user than daemon)?
Any help or suggestion would be very, very much appreciated.
thanks, Michael.
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
