Subba Rao <[EMAIL PROTECTED]> wrote:
>
> Over the weekend, I have upgraded my HW and did a clean install of Linux.
> Before upgrading I did save most of the configuration files with the exception
> of Qmail...:-(
All the critical files are in /var/qmail/control -- simply recover that
directory from your backups.
> I am trying to get this running to the way it was. Qmail is compiled and
> running fine. I can send email from the local host only. When I telnet to
> port 25 on any interface, I get connection "Connection refused".
Either you can't connect to port 25 for firewall reasons, or nothing is
listening on 25.
> By default relaying is turned off. So, I have created
> /etc/tcprules.smtp and the CDB file. All the local nets are in that
> DB.
This doesn't help us in the least. Show us /etc/tcprules.smtp, and
we'll tell you if anything is wrong with it.
> Now, I NOT running Qmail via tcpserver.
tcpserver is only used for qmail-smtpd, not qmail proper (qmail-start,
which leads to qmail-send).
> I would like to run it via svscan/supervise services (/var/qmail/rc =
> run).
tcpserver and svscan/supervise are not mutually exclusive. A standard
installation nowadays uses svscan/supervise for all processes, and
a supervised tcpserver for qmail-smtpd.
> Is there anyway to control relay when Qmail is not run by tcpserver?
> What files should I configure to allow my other machines to relay mail
> through this server?
Use of anything but tcpserver to run qmail-smtpd is deprecated. Use
tcpserver. Really -- it takes three minutes to install & configure.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------