1 |
---------- Forwarded Message ---------- |
2 |
|
3 |
Subject:hardened gentoo mailman/postfix/apache notes? |
4 |
Date:2008年1月2日 星期三 |
5 |
From:"Wang, Baojun" <wangbj@×××××××××××××.cn> |
6 |
To:gentoo-hardened@g.o |
7 |
|
8 |
hi folk: |
9 |
|
10 |
I'm configuring gentoo hardened for virtual mail hosting using postfix+pgsql |
11 |
basically following this document: |
12 |
http://www.gentoo.org/doc/en/virt-mail-howto.xml |
13 |
now the virtual email system is ok, but I have some problem with mailman and |
14 |
the mailman web interface(apache2), via `mail.log' I found postfix is unable |
15 |
to run the mailman script like: |
16 |
|
17 |
Jan 2 11:40:07 mail postfix/qmgr[17457]: B49BC108: |
18 |
from=<wangbj@×××××××××××××.cn>, size=1784, nrcpt=1 (queue active) |
19 |
Jan 2 11:40:07 mail local[17601]: fatal: |
20 |
execvp /usr/local/mailman/mail/mailman: Permission denied |
21 |
Jan 2 11:40:07 mail postfix/local[17600]: B49BC108: |
22 |
to=<dslab-programming@××××××××××××××××××.cn>, |
23 |
orig_to=<dslab-programming@×××××××××××××.cn>, relay=local, delay=2385, |
24 |
delays=2385/0.05/0/0.04, dsn=4.3.0, status=deferred (temporary failure. |
25 |
Command output: local: fatal: execvp /usr/local/mailman/mail/mailman: |
26 |
Permission denied ) |
27 |
|
28 |
for the mailman web interface, apache2 also have the simular problem: |
29 |
|
30 |
[Sat Dec 29 19:52:19 2007] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 |
31 |
OpenSSL/0.9.8g PHP/5.2.5-pl1-gentoo configured -- resuming normal operations |
32 |
[Sat Dec 29 19:52:34 2007] [error] (13)Permission denied: exec |
33 |
of '/usr/local/mailman/cgi-bin/listinfo' failed |
34 |
[Sat Dec 29 19:52:34 2007] [error] [client 60.165.13.245] Premature end of |
35 |
script headers: listinfo |
36 |
|
37 |
|
38 |
Now I think all the configuration is working but the permission have some |
39 |
problem, since I'm using gentoo hardened, I think the problems are because |
40 |
I'm using hardened gentoo, How can I solve this problem, and any hints? |
41 |
|
42 |
Wang |
43 |
-- |
44 |
Wang, Baojun Lanzhou University |
45 |
Distributed & Embedded System Lab http://dslab.lzu.edu.cn |
46 |
School of Information Science and Engeneering wangbj_AT_lzu.edu.cn |
47 |
Tianshui South Road 222. Lanzhou 730000 .P.R.China |
48 |
Tel:+86-931-8912025 Fax:+86-931-8912022 |
49 |
|
50 |
------------------------------------------------------- |
51 |
|
52 |
-- |
53 |
Wang, Baojun Lanzhou University |
54 |
Distributed & Embedded System Lab http://dslab.lzu.edu.cn |
55 |
School of Information Science and Engeneering wangbj_AT_lzu.edu.cn |
56 |
Tianshui South Road 222. Lanzhou 730000 .P.R.China |
57 |
Tel:+86-931-8912025 Fax:+86-931-8912022 |
58 |
-- |
59 |
gentoo-hardened@g.o mailing list |