[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble using "sendmail" w/ inetd for incoming mail



On Tue, 30 Jul 1996, James MacKinnon wrote:

> On Tue, 30 Jul 1996, Brian Fisk wrote:
> 
> ...
> > Now I am having a problem sending mail to that machine from other zmailer
> > Linux machines running 2.99.27.  The Sparc is using TCP wrappers and
> > firing up the zmailer "sendmail -bs" when an incoming connection is
> > received from a valid host.  The machine receives mail without a problem
> > when I telnet to port 25 (and do an SMTP transaction) or if the
> > sending machine is running "real" sendmail, but the connection is closed
> > sometime in the middle of a transaction with the zmailer smtp client. 
> 
> 
> I just sent some stuff from a Linux zmailer-2.99.27 box to a newly 
> compiled zmailer-2.99.31 on a SUN/Solaris 2.5, stock machine with no 
> warppers. Seems to work fine:
<snip>

I tried it without tcp wrappers and it works fine, as long as the
smtpserver is started with the -l option. (this is really weird, I know).
Starting it without the -l option results in the same error.

Looking through the sendmail source, I noticed that the -bs option fires
up the smtpserver in interactive mode with the -i option, but without any
of the options specified in the SMTPOPTIONS variable.

I hardcoded it into the program to make it work but (obviously) this isn't
the right solution. I'm not really a C hacker, so I couldn't get a more
elegant solution to work.  Now it works with the wrappers, though. :)

Matti, is this a feature for 2.99.33?

-- Brian Fisk * bfisk@netspace.org * http://www.netspace.org/users/bfisk --
        You're not going crazy, you're going sane in a crazy world!