After more searching I just realized that the following will also work without the need for anonymous to have p rights.
/usr/cyrus/bin/deliver -m Junk -a boutilpj boutilpj
Michael Bacon wrote:
If you're using deliver, the user that needs "post" access to the mailbox is not cyrus, but anonymous. So "sam user.boutilpj anonymous p" (or "anyone p") is what you need. Should work after you do that.
Michael
--On Friday, June 13, 2003 9:35 AM -0300 Patrick Boutilier <[EMAIL PROTECTED]> wrote:
Cyrus 2.1.13
According to the man page for deliver the "cat ..." command below should put the message in the Junk folder however it goes directly into the INBOX.
Clip from 'man deliver":
-m mailbox Deliver to mailbox. If any userids are specified, attempts to deliver to user.userid.mailbox for each userid. If the ACL on any such mailbox does not grant the sender the "p" right or if -m is not specified, then delivers to the INBOX for the userid, regardless of the ACL on the INBOX.
If no userids are specified, attempts to deliver to mailbox. If the ACL on mailbox does not grant the sender the "p" right, the delivery fails.
cyradm:
localhost> lam user.boutilpj boutilpj lrswipcda cyrus lrswpa
localhost> lam user.boutilpj.Junk boutilpj lrswipcda cyrus lrswpa
Any ideas?
cat mail.txt|strace -fF /usr/cyrus/bin/deliver -m Junk boutilpj