Trying to deliver to sub folder
Patrick Boutilier
boutilpj at ednet.ns.ca
Fri Jun 13 12:59:25 EDT 2003
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
> <boutilpj at ednet.ns.ca> 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
More information about the Info-cyrus
mailing list