|
Re: [Lug-bg] (no subject)
- Subject: Re: [Lug-bg] (no subject)
- From: <d3v1ous@xxxxxxxxxxxx>
- Date: Thu, 4 Sep 2008 17:19:32 +0300
root@router:~# locate mm_cfg.py
/etc/mailman/mm_cfg.py
root@router:~# cat /etc/mailman/mm_cfg.py | grep user
admin and user interfaces on a per-list or per-user basis.
root@router:~# cat /etc/mailman/mm_cfg.py | grep group
root@router:~#
root@router:~# pico /etc/init.d/mailman
DAEMON=/usr/lib/mailman/bin/mailmanctl
if ! [ -d /var/run/mailman ]; then
install -d -o list -g list /var/run/mailman
fi
if ! [ -d /var/lock/mailman ]; then
install -d -o root -g list -m 2775 /var/lock/mailman
fi
start)
if [ "$(/var/lib/mailman/bin/list_lists -b | grep ^mailman$ )" = "" ];
then
log_warning_msg "Site list for mailman (usually named mailman)
missing."
log_warning_msg "Please create it; until then, mailman will refuse
to start."
exit 0;
fi
root@router:~# /usr/lib/mailman/bin/mailmanctl
Usage: /usr/lib/mailman/bin/mailmanctl [options] [ start | stop | restart |
reopen ]
Options:
-u/--run-as-user
Normally, this script will refuse to run if the user id and group id
are not set to the `mailman' user and group (as defined when you
configured Mailman). If run as root, this script will change to
this
user and group before the check is made.
root@router:~# man mailman
No manual entry for mailman
root@router:~#
Нямам си на идея от каде се избира с каква група да се стратира демона.
----- Original Message -----
From: "Spas Pavlov" <spas@xxxxxxxxxxx>
To: "Linux Users Group - Bulgaria" <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Thursday, September 04, 2008 5:03 PM
Subject: Re: [Lug-bg] (no subject)
> On Thursday 04 September 2008 16:23:23 d3v1ous@xxxxxxxxxxxx wrote:
>> Да бе човек това ми е ясно но не мислиш ли че не знам как да направя това
>> :) Просто ми кажи кое е по лесно да се пусне с правилната група, според
>> мен
>> mailman тъй като postfix работи паралелно с spamassassin и dovecot и
>> тогава
>> трябва и там да сменявам auth socket и т.н.
>>
>> Та въпроса е повече от семпъл. От каде се настройва mailman с какъв юзер
>> да
>> работи?
>>
>
>
> Погледни
> /etc/mailman/mm_cfg.py или там където съответно се намира файла mm_cfg.py
>
> Спас Павлов
> _______________________________________________
> Lug-bg mailing list
> Lug-bg@xxxxxxxxxxxxxxxxxx
> http://linux-bulgaria.org/mailman/listinfo/lug-bg
>
_______________________________________________
Lug-bg mailing list
Lug-bg@xxxxxxxxxxxxxxxxxx
http://linux-bulgaria.org/mailman/listinfo/lug-bg
|
|
|