Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 15:16:22 -0400
From:      Arcady Genkin <antipode@soup.thpoon.com>
To:        freebsd-questions@freebsd.org
Subject:   Qmail and selective relaying
Message-ID:  <20000703151622.A71512@soup.thpoon.com>

next in thread | raw e-mail | index | archive | help
I'm trying to configure qmail to do the selective relaying
(serve as a smart host for another computer on internal network).

The link from qmail's documentation page to 
http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html
where the instructions for configuring this are supposed to be
located doesn't work for me. 

I found an article on FreeBSD'zine http://www.freebsdzine.org/200005/qmail.
which gives nice instructions on doing what I want. Also I found some info 
qmail's FAQ at http://www.skyinet.net/~onogos/docs/Qmail-HOWTO section 5.2.
I have a question, though.

I've installed daemontoools and ucspi-tcp and created tcprules file
in /usr/local/etc/tcp.smtp.cdb. Now, according to the instructions all
I need to do is ``add "-x /usr/local/etc/tcp.smtp.cdb" to qmail-smtpd
startup script.''

I only found invocation of qmail-smtpd in /etc/inetd.conf, so I added
that "-x ..." to the command there. I then sent HUP to inetd.

This has had no effect. :-/ I still can't relay mail from my
internal machine. What am I doing wrong?

The tcprules file looks like this:

192.168.:allow,RELAYCLIENT=""
:allow

Thanks a lot for any input!
--
Arcady Genkin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000703151622.A71512>