[Mailman-Users] domain isn't in my list of rcpthosts
lovelace at wayfarer.org
Fri Dec 14 23:34:45 CET 2001
The problem isn't in Mailman, it's in your qmail setup. Qmail
needs to be told that localhost (and possibly your local IP address)
are "OK" and it can relay mail from them. To do this, you need
to set the RELAYCLIENT environment variable when qmail is run
from that host. You can do this with tcp-env. In /etc/hosts.allow
put this line
tcp-env: 127.0.0.1 X.X.X.X : setenv RELAYCLIENT
where X.X.X.X is your local IP address. Then, make sure
qmail is run with tcp-env. I use xinetd and in my
/etc/xinetd.d/smtp file I have these two lines:
server = /usr/sbin/tcpd
server_args = /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd
If you run inetd instead the setup should be similar.
This will tell qmail it is ok to relay messages received
from either 127.0.0.1 (localhost) or your local IP address.
On Wed, 2001-12-12 at 23:20, Ron Parker wrote:
> Installed mailman 2.0.8 on Linux 7.2 system running qmail+vpopmail.
> Install appeared to work. Created list "vsb". I can access list admin.
> However, when a user tries to subscribe to list from web page, the user
> doesn't get an e-mail back.
> Looking at the logs, I see the following (mail list is vsb on
> host4.scbbs.com, user trying to subscribe is markfien at fiengroup.com):
> Dec 12 19:54:49 host4 smtpd: 1008215689.465755 20388 > 220
> host4.scbbs.com ESMTP?
> Dec 12 19:54:49 host4 smtpd: 1008215689.474061 20388 < ehlo
> Dec 12 19:54:49 host4 smtpd: 1008215689.474962 20388 >
> Dec 12 19:54:49 host4 smtpd: 1008215689.475458 20388 > 250-PIPELINING?
> Dec 12 19:54:49 host4 smtpd: 1008215689.475921 20388 > 250 8BITMIME?
> Dec 12 19:54:49 host4 smtpd: 1008215689.502945 20388 < mail
> FROM:<vsb-admin at host4.scbbs.com>?
> Dec 12 19:54:49 host4 smtpd: 1008215689.503854 20388 > 250 ok?
> Dec 12 19:54:49 host4 smtpd: 1008215689.556793 20388 < rcpt
> TO:<markfien at fiengroup.com>?
> Dec 12 19:54:49 host4 smtpd: 1008215689.557763 20388 > 553 sorry, that
> domain isn't in my list of allowed rcpthosts (#5.7.1)?
> Dec 12 19:54:49 host4 smtpd: 1008215689.561415 20388 < rset?
> Dec 12 19:54:49 host4 smtpd: 1008215689.562476 20388 > 250 flushed?
> Dec 12 19:54:49 host4 smtpd: 1008215689.585977 20388 < quit?
> I don't know what I've done, configuration-wise, which is making the
> system look for matching domain names in rcpthosts before sending out
> mail. Here are the only config changes I've made to mm_cfg.py:
> DEFAULT_HOST_NAME = 'host4.scbbs.com'
> # DEFAULT_URL must end in a slash!
> DEFAULT_URL = 'http://host4.scbbs.com/mailman/'
> PUBLIC_ARCHIVE_URL = '/pipermail'
> PRIVATE_ARCHIVE_URL = '/mailman/private'
> HOME_PAGE = 'index.html'
> MAILMAN_OWNER = 'mailman-owner@%s' % DEFAULT_HOST_NAME
> MTA_ALIASES_STYLE = 'qmail'
> Any suggestions, please?
Tanner Lovelace | lovelace at wayfarer.org | http://wtl.wayfarer.org/
Those who are willing to sacrifice essential liberties for a little
order, will lose both and deserve neither. -- Benjamin Franklin
History teaches that grave threats to liberty often come in times
of urgency, when constitutional rights seem too extravagant to
endure. -- Justice Thurgood Marshall, 1989
More information about the Mailman-Users