Bug#379881: cyrus-imapd-2.2: several oddities about imapd.conf parameters

Henrique de Moraes Holschuh hmh at debian.org
Fri Jul 28 02:03:19 UTC 2006


On Thu, 27 Jul 2006, Ross Boylan wrote:
> The "lmtp" service refers to the service with name "lmtp" or the one
> that is substantively lmtp?  As far as I can tell from man cyrus.conf, I
> could go
> 	silly		cmd="lmtpd" listen="localhost:lmtp" prefork=0 maxchild=2
> 
> Then I would need "silly_admins"?

Correct.  This can be *really* annoying if you need multiple services that
need to be configured the same way.  And AFAIK, Cyrus really dislikes it if
you define two services with the same name.

> More importantly, if I have lmtpunix, do I need lmtpunix_admins?  I

Yes.

> suspect the answer is that, in general I would, but in this particular
> case connections through the unix domain socket are preauthorized, so
> specifying lmtpunix_admins is pointless.

Worse, it may actually change how the preauthorization is done. I'd need to
check. Preauthorized just means that if you do nothing, it came from
"postman".  In particular, if you send a different auth through LMTP, Cyrus
is supposed to verify and use the new auth, and DENY the delivery if the
auth is wrong, or does not have the proper ACLs to actually deliver, etc.

> So if there is no lmtp_admins, the general value of admins is used?  And
> similarly for other services?

I am not sure expceptions do not exist.

> > Every configuration parameter mentioned in imapd.conf can also be
> > specified as <service>_<parameter to override <parameter> just for
> > <service>.
> Wow, it would have been nice for them to mention that in the man page.
> I don't think I saw that anywhere (on the man page or elsewhere).

If it is not there yet, I agree it is needed.

I don't know about how Cyrus IMAP and SASL are behaving re. allowplaintext,
though, so I won't comment on those (I don't have the time to research that
in the source code right now, sorry).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh




More information about the Pkg-Cyrus-imapd-Debian-devel mailing list