Well a workaround wich works, but you must consider the security risks is by 
allowing user postfix and vmail call aildrop without password in sudoers:
/etc/sudoers
#
vmail    ALL=NOPASSWD: /usr/bin/maildrop
postfix    ALL=NOPASSWD: /usr/bin/maildrop

And change in postfix master.cf the maildrop service
  flags=DRhu user=vmail argv=/usr/bin/maildrop -w 91 -d [EMAIL PROTECTED]

to

  flags=DRhu user=vmail argv=sudo /usr/bin/maildrop -w 91 -d
[EMAIL PROTECTED]

I don't like this way, but all the options has security risks, is something it 
must change in courier, since all the options in the Install in delivery mode, 
are really risky.
-- Call maildrop as root and it later changes
-- Setui root maildrop
--Glocal read and executes in authdaemon socket.
The only way I did this to work in feisty is throught sudo.
I will appreciate a help for a more secure way.
Best regards

-- 
maildrop missing maildir path in authldaprc
https://bugs.launchpad.net/bugs/121907
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to