On Sat, 16 Mar 2002, Anand Buddhdev wrote:
> On Fri, Mar 15, 2002 at 06:01:02PM -0500, alexus wrote:
>
> > is there anything else can be done other then modifing source code?
>
> No. Most people don't need to change the POP and IMAP server banners,
> so it's not a runtime configuration option. But why don't you want to
> change the source code? It's quite simple really.
Well, I don't mind changing source code but not for things that should be
configuration options. The expense in version management on a large
installation can be quite high, even if the change is trivial. I also try
to avoid changes that can't be sent back to a maintainer, just on
principle. Why work smarter when you can work harder, or something like
that.
Here is an example of how Exim makes an SMTP banner configurable, which is
more or less the same thing as an IMAP banner (taken from docs/spec.txt in
the Exim 3.x series, not 4.x):
smtp_banner
Type: string
Default: see below
This string, which is expanded every time it is used, is output as the
initial positive response to an SMTP connection. The default setting
is:
smtp_banner = "${primary_hostname} ESMTP Exim ${version_number} \
#${compile_number} ${tod_full}"
Failure to expand the string causes a panic error. If you want to
create a multiline response to the initial SMTP connection, use '\n'
in the string at appropriate points, but not at the end. Note that the
220 code is not included in this string. Exim adds it automatically
(several times in the case of a multiline response).
--
Dan Shearer
Open Source Manager
Mob: +61 411 49 1800
Tel: +61 8 8130 3104
[EMAIL PROTECTED]
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users