ACL problems

Ken Murchison ken at oceana.com
Thu Jun 10 15:11:47 EDT 2004


Kent L. Nasveschuk wrote:

> I'm having some strange issues with ACLs I set in cyradm.
> (version 2.2.4 Cyrus IMAPD)
> 
> 
> I have the following ACLs set:
> 
> localhost> lam public.announce
> kent lrswipcda
> anyone lrs
> localhost> lam public
> kent lrswipcda
> anyone lrs
> 
> User kent (me), should be able to post to the public.announce folder but
> I can't. I can move mail to that folder. When I set the ACL for anyone
> to lrsp the message is delivered to the correct folder.
> 
> localhost> sam public.announce anyone lrsp
> localhost> lam public.announce
> kent lrswipcda
> anyone lrsp
> 
> When I set the ACL for anyone back to "lrs" this is my returned message:
> 
> 
> The original message was received at Thu, 10 Jun 2004 14:46:41 -0400
> from [172.16.0.22]
> 
>    ----- The following addresses had permanent fatal errors -----
> <+public.announce at www.warehamportal.mec.edu>
>     (reason: 550-You do not have permission to post a message to this mailbox.)
> 
>    ----- Transcript of session follows -----
> ... while talking to localhost:
> 
>>>>DATA
> 
> <<< 550-You do not have permission to post a message to this mailbox.
> <<< 550-Please contact the owner of this mailbox in order to submit
> <<< 550-your message, or postmaster if you believe you
> <<< 550-received this message in error.
> <<< 550 5.7.1 Permission denied
> 550 5.1.1 <+public.announce at www.warehamportal.mec.edu>... User unknown
> <<< 503 5.5.1 No recipients
> 
> Is this a bug?

Nope.  The only way that lmtpd knows that Kent has sent the message is 
for the LMTP client to use LMTP AUTH when connecting.  This usually 
happens if Kent uses SMTP AUTH to submit the message, and the MTA passes 
this info along to lmtpd via LMTP AUTH.

If [SL]MTP AUTH isn't used in both places, you're screwed and you'll 
have to stick with allowing anyone/anonymous posting to the mailbox.
-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list