Hi, Steve!
Help can be provided easily if your question was whether fetchmail and
qmail can work together successfully. They can, and if you like I
will show you how. I don't quite know about port 25, but it seems that
on my system (Red Hat Linux 6.0, qmail 1.03, fetchmail 5.0.0) there's
no need to bother about that issue.
The key of making both sides partners lies in two configuration
jobs:
<> Add the word localhost to the /var/qmail/control/locals file.
You can go like this:
# echo 'localhost' >> /var/qmail/control/locals
<> Add the following lines to the end of your .fetchmailrc file:
forcecr
mda "/var/qmail/bin/qmail-inject %T"
This will deliver your mail locally from your Mail SP via fetchmail to
zamdrist@localhost. If there's a low-level-user 'zamdrist' installed
on your system (something I quite would recommend to neutralize eggs
laid by cuckoos into your nest), new mail will be found in
~zamdrist/Mailbox, as far as you have followed the defaults at
building qmail---otherwise you will find it in ~alias/Mailbox.
To prevent your MUA from crabbing, change the MAIL environment
variable to MAIL="/home/$USER/Mailbox" in /etc/profile as qmail is not
very fond of /var/spool/mail/.
I think that's enough for the moment. Just reply if there are still
some easy-to-answer questions. :-)
By the way, Steve Vertigan mailed me this solution after crying my
want to the qmail mailing list myself...
Regards,
--
Matthias Lampert, Hamburg
On Sat, Dec 04, 1999 at 03:51:02PM -0600, Steve Schroeder wrote:
> Before & after installing qmail, which I believe I've done successfully, I
> cannot telnet to port 25 to test the installation. I can however send mail
> as root to external addresses. I'm trying to use fetchmail to suck down my
> mail from my ISP.
>
> I've included the stuff below to show that I have installed qmail.
>
> Any help would be greatly appreciated! I'm almost there, just give me a
> nudge :-) I wouldn't know how to troubleshoot this particular issue. I've
> read through the FAQ and INSTALL.* docs and have'nt seen a pointer to my
> specific issue.
>
> Thank you!
>
> [root@zamdrist doc]# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> Connection closed by foreign host.
>
> tail /etc/rc.d/rc.sysinit (Is this where this belongs?)
>
> #QMAIL
> csh -cf '/var/QMAIL/rc &'
>
> # Now that we have all of our basic modules loaded and the kernel going,
> # let's dump the syslog ring somewhere so we can find it later
> dmesg > /var/log/dmesg
>
> ps -A |grep qmail
>
> 86 ? 00:00:00 qmail-send
> 93 ? 00:00:00 qmail-lspawn
> 94 ? 00:00:00 qmail-rspawn
> 95 ? 00:00:00 qmail-clean
>
> netstat -a |grep LISTEN
>
> tcp 0 0 *:netbios-ssn *:* LISTEN
> tcp 0 0 *:printer *:* LISTEN
> tcp 0 0 *:linuxconf *:* LISTEN
> tcp 0 0 *:smtp *:* LISTEN
> tcp 0 0 *:auth *:* LISTEN
> tcp 0 0 *:pop-3 *:* LISTEN
> tcp 0 0 *:login *:* LISTEN
> tcp 0 0 *:shell *:* LISTEN
> tcp 0 0 *:telnet *:* LISTEN
> tcp 0 0 *:ftp *:* LISTEN
> tcp 0 0 *:sunrpc *:* LISTEN
>
> tail --lines 3 /var/log/maillog
>
> Nov 30 16:55:49 zamdrist qmail: 944002549.769021 delivery 5: success:
>
>206.145.48.1_accepted_message./Remote_host_said:_250_AAA01365_Message_accepted_for_delivery/
> Nov 30 16:55:49 zamdrist qmail: 944002549.769273 status: local 0/10 remote
> 0/20
> Nov 30 16:55:49 zamdrist qmail: 944002549.769424 end msg 432179
>
>
>