Michael Einem writes:

Is there a way to have maildrop run from fetchmail by another user?

mda "/usr/bin/env HOME=/virtual/users/home/ /usr/bin/maildrop -d username"

-d is the switch to tell maildrop as which user to deliver. The problem is that in delivery mode, maildrop for security reasons does not load all the environment variables so you have to set them yourself with the env command.

If you make maildrop suid root this will work, and you don't need to set any environment variables.


Attachment: pgpftShtlIFYO.pgp
Description: PGP signature

Reply via email to