Bug Tracker item #3392096, was opened at 2011-08-15 20:36 Message generated for change (Comment added) made by valroff You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3392096&group_id=250683
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tom Hendrikx (whyscream) Assigned to: Nobody/Anonymous (nobody) Summary: Move contents of DSPAM_HOME/txt to configuration Initial Comment: The contents of DSPAM_HOME/txt (templates for sending e-mail and tagging scanned messages) are no application data but configuration directives. As such they should either be moved to the dspam configuration directory (which does not exist currently), or to a configuration directive in dspam.conf I see a few options here: - pass location of txt directory as an option to configure script (possible but kludgy) - set location of txt directory in dspam.conf - set location of each file in txt directory in dspam.conf - put contents of each file in txt directory into a directive in dspam.conf (very messy) ---------------------------------------------------------------------- Comment By: Julien Valroff (valroff) Date: 2011-08-15 21:14 Message: For the record, Debian ships these files into /etc/dspam/txt/. This is done to comply with the Debian Policy which ensures configuration files are all in /etc All the conf files are then in /etc/dspam/ thanks to the --sysconfdir configure option, and here is the patch we use to retrieve the right location: http://anonscm.debian.org/gitweb/?p=pkg-dspam/dspam.git;a=blob;f=debian/patches/004_where-to-find-txt-files.diff The path is actually hardcoded, I would however prefer setting the location in dspam.conf (your 2nd proposal). Cheers, Julien ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3392096&group_id=250683 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel