Skip to contentSkip to conversation

Is possible change /etc/mlmmj location?

DISCUSSION Lupin3rd 3 participants 3 messages May 17, 2005

lore
Share & tools
lore

Lupin3rd

author
#0 lore raw

Hi,
i use Debian and mlmmj debian package.
I want to know if there is a way to change the location that mlmmj use for his config file... i don't want use /etc/mlmmj but i would use /usr/share/dtc/etc (in this way i can integrate mlmmj with the GPL panle DTC, and DTC can write mlmmj config files).

Thanks a lot for your help.
Lupin3rd

#1 lore raw
Quoted 6 lines · * Lupin3rd <[email protected]> [May 17. 2005 13:17]:

Hi,
i use Debian and mlmmj debian package.
I want to know if there is a way to change the location that mlmmj use for his config file... i don't want use /etc/mlmmj but i would use /usr/share/dtc/etc (in this way i can integrate mlmmj with the GPL panle DTC, and DTC can write mlmmj config files).

Isn't the way it's done on Debian just a matter of symlinks in the list directory, so just changing those symlinks should suffice?

I don't know for sure, the Debian maintainer will know for sure.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.
#2 lore raw
In reply to Lupin3rd

Hello,

Quoted 8 lines · Mads Martin Joergensen
Quoted 6 lines · * Lupin3rd <[email protected]> [May 17. 2005 13:17]:

Hi,
i use Debian and mlmmj debian package.
I want to know if there is a way to change the location that mlmmj use for his config file... i don't want use /etc/mlmmj but i would use /usr/share/dtc/etc (in this way i can integrate mlmmj with the GPL panle DTC, and DTC can write mlmmj config files).

Quoted 4 lines

Isn't the way it's done on Debian just a matter of symlinks in the list directory, so just changing those symlinks should suffice?

I don't know for sure, the Debian maintainer will know for sure.

Yes, I use symlinks to keep configuration files in /etc:

boll@griswold:/var/spool/mlmmj/mlmmj-test$ ls -la
total 17
drwxr-xr-x  13 nobody nogroup 1024 2005-05-17 14:00 .
drwxr-xr-x   4 root   root    1024 2005-01-27 21:48 ..
drwxr-xr-x   2 nobody nogroup 1024 2005-04-28 19:03 archive
drwxr-xr-x   2 nobody nogroup 1024 2005-01-27 21:48 bounce
lrwxrwxrwx   1 nobody nogroup   35 2005-01-27 21:48 control ->
/etc/mlmmj/lists/mlmmj-test/control
drwxr-xr-x   2 nobody nogroup 1024 2005-01-27 21:48 digesters.d
drwxr-xr-x   2 nobody nogroup 1024 2005-04-28 19:03 incoming
-rw-r--r--   1 nobody nogroup    1 2005-04-28 19:03 index
-rw-------   1 nobody nogroup   13 2005-05-12 20:00 lastdigest
-rw-------   1 nobody root     618 2005-05-17 14:00 mlmmj-maintd.lastrun.log
-rw-------   1 nobody nogroup  612 2005-04-28 19:02 mlmmj.operation.log
drwxr-xr-x   2 nobody nogroup 1024 2005-01-27 21:48 moderation
drwxr-xr-x   2 nobody nogroup 1024 2005-01-27 21:48 nomailsubs.d
drwxr-xr-x   3 nobody nogroup 1024 2005-04-28 20:00 queue
drwxr-xr-x   2 nobody nogroup 1024 2005-01-27 21:48 requeue
drwxr-xr-x   2 nobody nogroup 1024 2005-02-21 21:21 subconf
drwxr-xr-x   2 nobody nogroup 1024 2005-02-21 21:21 subscribers.d
lrwxrwxrwx   1 nobody nogroup   32 2005-01-27 21:48 text ->
/etc/mlmmj/lists/mlmmj-test/text
drwxr-xr-x   2 nobody nogroup 1024 2005-02-28 22:00 unsubconf
boll@griswold:/var/spool/mlmmj/mlmmj-test$ 

Moving control/ and text/ somewhere else is obviously a matter of changing a couple of symlinks. Debian however, normally does not allow configuration files to be stored outside /etc.

Signature · 4 lines
Søren O.                                           ,''`.
                                                  : :' :
GPG key id: 0x1EB2DE66                            `. `'
GPG signed mail preferred.                          `-