CustomConfig Local Functions

Derek Winkler dwinkler at ALGORITHMICS.COM
Fri Feb 13 16:20:26 GMT 2004


I use the tarball install on Solaris so unfortunately I have to re-create my
changes after upgrade.

Which usually means adding the below, just thought it would be pretty
harmless to have this in the distro. When I upgrade and forget to add it,
chaos until I remember.

I usually do remember to review the etc directory though.

> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Julian Field
> Sent: Friday, February 13, 2004 11:00 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: CustomConfig Local Functions
>
>
> At 15:17 13/02/2004, you wrote:
> >Would it possible to have something like,
> >
> >if ( -f "/opt/MailScanner/etc/CustomConfig.pm") {
> >         do "/opt/MailScanner/etc/CustomConfig.pm";
> >}
> >
> >added to CustomConfig.pm?
> >
> >I like to keep my local functions in a location other than
> the included
> >CustomConfig.pm.
>
> Just add a "require" statement to CustomConfig.pm.
> Also, note that if you change CustomConfig.pm at all, it will *not* be
> overwritten by any later upgrade. So your mods are quite safe
> in there.
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>



More information about the MailScanner mailing list