Yes it would overwite - you could always make a backup copy and just update it everytime you upgrade...
Justin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Bader Sent: Thursday, May 23, 2002 10:48 AM To: Justin Robinson Cc: [EMAIL PROTECTED] Subject: RE: [SAtalk] Spamd not copying over proper user_prefs.template I want to make it copy over a more user friendly defaults file so if one of our users wants to ftp in and modify the file, the comments make are easier to understand and explain what we do system-wide by default. We will define system wide rules, but we want users to be able to override them, and want to make it as easy as possible for them. If we put larger, more clear comments in the template file, it will make it easier for them to follow and understand, which makes my job easier :) -Steve On Thu, 23 May 2002, Justin Robinson wrote: > Why do you want to modify that one anyway? Just use the global config file > and leave the user_prefs.template blank... That way if you ever want to > change global user options you don't have to replace everyone's user_prefs > file... > > > > Justin > > > > > > -----Original Message----- > From: Stephen Bader [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 10:16 AM > To: Justin Robinson > Cc: [EMAIL PROTECTED] > Subject: RE: [SAtalk] Spamd not copying over proper user_prefs.template > > > But if I modify the templates in this directory, they will be over written > if I upgrade, right? > > -Steve > > > On Wed, 22 May 2002, Justin Robinson wrote: > > > I believe mine are located in: > > > > (on machine #1): > > /usr/share/spamassassin > > > > (on machine #2): > > /usr/local/share/spamassassin > > > > > > Try looking in those directories for a template file. > > > > > > Justin Robinson > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > Sent: 5/22/02 5:35 PM > > Subject: [SAtalk] Spamd not copying over proper user_prefs.template > > > > I am running spamd as the user 'root' with the flags "-c -d". > > > > According to the man page and the docs that I have found, if a > > user_prefs.template file exists in /etc/mail/spamassassin, this file > > will > > be copied over into the users .spamassassin directory as user_prefs if > > they do not already have a preferences file. Spamd is properly creating > > the .spamassassin directory and user_prefs file, but it isn't copying > > the > > customized use_prefs.template file in /etc/mail/spamassassin, it is > > copying the default user_prefs.template file. I have checked all the > > permissions, and I have searched for information on why it is doing > > this. > > Here is an 'ls -l' on my /etc/mail/spamassassin directory: > > > > -rw-r--r-- 1 root wheel 148 May 22 00:04 local.cf > > -rw-r--r-- 1 root wheel 68 May 22 00:19 user_prefs.template > > > > Customizations I have made to local.cf are taking place, so I know it is > > reading the files in this directory. I have also tried restarting spamd, > > but it still copies the default file and not the file I have modifed. Am > > I > > wrong about where spamd will copy the template file from, or is there > > something else I am missing? > > > > TIA, > > -Steve > > > > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > > > _______________________________________________ > > Spamassassin-talk mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > > _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk