[Mailman-Users] problems getting mailman to work with qmail
tom
fogal_t at chasma.net
Mon Apr 15 19:55:53 CEST 2002
Im attempting to setup mailman (v2.0.8) on a FreeBSD machine with qmail,
and not having too much luck. Hopefully some of you have some ideas :)
First problem was that mailman couldnt send out messages. This was fixed
by correctly setting my SMTPHOST in mm_cfg.py.
In accordance with README.QMAIL, ive added some users that qmail runs
under to the 'mailman' group, and then allowed group read-write on the
mailman directory. I was unsure which qmail user actually needed access,
so i setup multiple users to do so:
> grep mailman /etc/group
mailman:*:1010:qmaill,qmails,qmailr
> ps aux | grep qmail
qmails 398 0.0 0.4 940 468 con- I Tue05PM 0:05.46 qmail-send
qmaill 406 0.0 0.4 880 440 con- I Tue05PM 0:02.35 splogger
qmail
root 407 0.0 0.3 880 372 con- I Tue05PM 0:01.19
qmail-lspawn ./Mailbox
qmailr 408 0.0 0.3 880 432 con- I Tue05PM 0:00.52
qmail-rspawn
qmailq 409 0.0 0.3 868 388 con- I Tue05PM 0:00.90
qmail-clean
root 416 0.0 0.4 896 480 con- I Tue05PM 0:02.01
tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup mail.ch
we have some virtual domains setup, and utilize vpopmail. one domain is
xxx.net, and the domain i want mailman to work with is dev.xxx.net.
> cat /usr/local/vpopmail/domains/dev.xxxx.net/.qmail-default
|/usr/local/bin/python /home/mailman/qmail-to-mailman.py
| /usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox
(the qmail-to-mailman.py script is the one from the mailman/contrib/
directory).
python is an acceptable version:
> python
Python 2.2 (#1, Jan 3 2002, 21:54:19)
[GCC 2.95.3 [FreeBSD] 20010315 (release)] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
if i take out the qmail-to-mailman.py from
domain/dev.xxxx.net/.qmail-default, all mail to dev.xxxx.net bounces, as
it should because of the 'bounce-no-mailbox' line after it. thus, i
suspect that qmail-to-mailman.py is getting the mail but (silently)
dropping or not doing what it should be doing with it.
/home/mailman/logs has some things of interest:
> tail post
(some lines removed because they are all the same/similar)
Apr 12 21:03:03 2002 (80009) post to test1-work from
test1-work-request at dev.xxxx.net, size=767, 1 failures
Apr 12 21:04:01 2002 (80021) post to test2-mmantest from
test2-mmantest-request at dev.xxxx.net, size=783, 1 failures
Apr 12 21:04:02 2002 (80021) post to testproj-test from
testproj-test-request at dev.xxxx.net, size=779, 1 failures
Apr 12 21:04:02 2002 (80021) post to test1-work from
test1-work-request at dev.xxxx.net, size=767, 1 failures
> tail smtp
Apr 12 21:04:01 2002 (80021) smtp for 1 recips, completed in 0.199
seconds
Apr 12 21:04:02 2002 (80021) All recipients refused: (61, 'Connection
refused')
Apr 12 21:04:02 2002 (80021) smtp for 1 recips, completed in 0.156
seconds
Apr 12 21:04:02 2002 (80021) All recipients refused: (61, 'Connection
refused')
Apr 12 21:04:02 2002 (80021) smtp for 1 recips, completed in 0.164
seconds
Apr 12 21:04:55 2002 (80029) smtp for 1 recips, completed in 0.319
seconds
Apr 12 21:05:02 2002 (80052) smtp for 1 recips, completed in 0.458
seconds
Apr 12 21:05:03 2002 (80052) smtp for 1 recips, completed in 0.416
seconds
Apr 12 21:05:03 2002 (80052) smtp for 1 recips, completed in 0.432
seconds
Apr 12 21:07:56 2002 (80084) smtp for 1 recips, completed in 0.296
seconds
> tail qrunner
Apr 12 20:53:02 2002 (79833) Could not acquire qrunner lock
Apr 12 20:55:03 2002 (79869) Could not acquire qrunner lock
Apr 12 20:57:02 2002 (79910) Could not acquire qrunner lock
Apr 12 20:58:02 2002 (79919) Could not acquire qrunner lock
Apr 12 20:59:02 2002 (79929) Could not acquire qrunner lock
Apr 12 21:00:03 2002 (79956) Could not acquire qrunner lock
Apr 12 21:02:02 2002 (79996) Could not acquire qrunner lock
Apr 12 21:03:02 2002 (80010) Could not acquire qrunner lock
Apr 12 21:04:02 2002 (80022) Could not acquire qrunner lock
Apr 12 21:05:03 2002 (80047) Could not acquire qrunner lock
anyone have any ideas? is there a place where the i can get more
information on the problem mailman is having besides 'size=767, 1
failures'?
any ideas/help would be much appreciated.
-tom
More information about the Mailman-Users
mailing list