Wrapper package for MailScanner

Hugo van der Kooij hvdkooij at vanderkooij.org
Tue Jul 29 18:29:14 IST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Julian Field wrote:
|
|
| Scott Silva wrote:
|> on 7-28-2008 8:49 AM Hugo van der Kooij spake the following:
|>> Scott Silva wrote:
|>>
|>> | You would probably want some sort of flag file that a user could touch
|>> | to stop the automatic upgrade of those files. It doesn't bother me,
|>> but
|>> | I remember from list traffic that there are many people that have
|>> custom
|>> | comments or other content that they wish to preserve.
|>> |
|>> | Maybe a check like;
|>> |
|>> | if [ -f "/etc/MailScanner/no-upgrade" ]; then
|>> |   skip upgrade
|>>
|>> How about the other way around? Then a new package will never hurt
|>> existing users. And once people believe they want the config  upgrade to
|>> be automated they can add a placeholder file to do so from that
|>> moment on.
|>>
|>> This would be the failsafe way to it. Only if
|>> /etc/MailScanner/automate-config-updates is present this should be done
|>> automagically. (Or by whatever other name Jules likes to call the file.)
|>>
|>> Hugo.
|>>
|>>
|> That does sound much safer. Must consciously choose to have updates done.
|> No accidents, no blame!
|> Jules might even agree to this.
|>
| Why not just make it a setting in MailScanner.conf that by default is
| set to 'no'?
| I can do a simple 'grep' to find what it's set to.

The only reason why I think this may be more trouble is that you have to
make your %pre and %post scripts more complex. And they would require
additional tools for which you have to check as a dependency to make
sure the scripts themselves will not fail.

Hugo.

- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIj1NpBvzDRVjxmYERAtKXAJwL4VPp71onjuxlL5HNOvMz49p3QQCgjMLm
AvOfXrPFingYx/g3pz0VWOA=
=IAxL
-----END PGP SIGNATURE-----


More information about the MailScanner mailing list