Subject: Re: TCP_WRAPPERS, sendmail and Pine

From: [email-masked] (Zump)
Date: 21 Jul 1995 21:39:14 GMT

H. Marc Kneppers ([email-masked]) wrote:

: Currently, sendmail runs as a daemon: sendmail -bd -q30m

: I want to monitor the acitivity on port 25, so I entered the following 
: line in inetd.conf:

: smtp stream tcp nowait root /usr/local/etc/tcpd /usr/local/sbin/sendmail.wrap

: The program sendmail.wrap does some local things and then executes 
: sendmail as: sendmail -bs

: So far, so good.
: Now, if I telnet to port 25, I get the following recorded in syslog
: <22>Jul 21 11:16:35 1995 PAMCO_UX sendmail.wrap[3108]: connect from PAMCO_UX

: This is good - as well, internal mail mworks fine as well (within the 
: same host).

: PROBLEM:
: My PC-Pine has stopped working. It connects (from a PC) to its mail files on
: Unix via IMAP and that works fine but when it tries to send a message back
: it fails. I don't get any record of it connecting to port 25 and I can't
: send mail.

read the README:

In that case, sendmail should not be run as a stand-alone network
listener, but it should be registered in the inetd configuration file.
For example:

    smtp    stream  tcp     nowait  root    /usr/etc/tcpd /usr/lib/sendmail -bs

You will still need to run one sendmail background process to handle
queued-up outgoing mail. A command like:

    /usr/lib/sendmail -q15m

---

From: "H. Marc Kneppers" <[email-masked]>
Date: Fri, 21 Jul 1995 13:32:30 -0600

Hi,

Has anyone had any experience with the following problem:

I've got tcp_wrappers_7.1 installed on a SysVr4 Unix machine that is 
running an old version of sendmail (4 or 5 - I am upgrading!) and the 
latest Pine/Imap Mail Utility.

Currently, sendmail runs as a daemon: sendmail -bd -q30m

I want to monitor the acitivity on port 25, so I entered the following 
line in inetd.conf:

smtp stream tcp nowait root /usr/local/etc/tcpd /usr/local/sbin/sendmail.wrap

The program sendmail.wrap does some local things and then executes 
sendmail as: sendmail -bs

So far, so good.
Now, if I telnet to port 25, I get the following recorded in syslog
<22>Jul 21 11:16:35 1995 PAMCO_UX sendmail.wrap[3108]: connect from PAMCO_UX

This is good - as well, internal mail mworks fine as well (within the 
same host).

PROBLEM:
My PC-Pine has stopped working. It connects (from a PC) to its mail files on
Unix via IMAP and that works fine but when it tries to send a message back
it fails. I don't get any record of it connecting to port 25 and I can't
send mail.

Thanks for any help!
Marc Kneppers
[email-masked]