Feature Requests item #2214522, was opened at 2008-11-01 19:34
Message generated for change (Comment added) made by gingerdog
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937967&aid=2214522&group_id=191583
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: Christian Boltz (christian_boltz)
Assigned to: Nobody/Anonymous (nobody)
Summary: configuration in /etc/mail/postfixadmin for all scripts
Initial Comment:
Having to edit a script just to change a path or the database login details isn't the best solution. Instead, all scripts should have a configfile in /etc/mail/postfixadmin/
All scripts should still contain useful default values which are used if the config file doesn't exist.
This affects:
- vacation.pl (done)
- postfixadmin-domain-postdeletion.sh, postfixadmin-mailbox-postcreation.sh, postfixadmin-mailbox-postdeletion.sh (basedir, trashbase, PATH)
- fetchmail.pl
I'm thinking about config.local.php as an exception - if we move it to /etc, the webserver needs read permissions there - which I'd like to avoid. (And it's not unusual for web apps to have a configfile in the same directory as all PHP files.)
----------------------------------------------------------------------
>Comment By: GingerDog (gingerdog)
Date: 2008-11-03 08:40
Message:
I'm fairly sure Debian has a /etc/squirrelmail (for example) that contains
the actual .php script.
They then have a symlink in e.g /usr/share/squirrelmail/ pointing to the
file in /etc/
To me, this is the best option, as people tend to backup /etc with e.g.
tar -zcf etc.tar.gz /etc and assume they've caught all config files.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937967&aid=2214522&group_id=191583
|