[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] What's so great about qmail?



On Sun, Jul 02, 2000 at 12:30:17PM +1000, David Fisher wrote:
> On Sun, 2 Jul 2000, Andrew Reilly wrote:
> > Well, are you sure that you've tweaked the right hosts.allow
> > file, corresponding to the tcp-env/inetd that you're using.  In
> > my experience, there is wide variation in the specifics of these
> > things.
> 
> Well, I'm totally confused now.  How many hosts.allow files are there?  I
> made the changes you suggested in /etc/hosts.allow - it's the only one I
> know.  

If that's the one that's being used already, then that's
probably the right one.  I've seen them in
/usr/local/etc/hosts.allow too.  The specific format of the
hosts.allow file has changed a few times over the years.  It was
certainly different while hosts.deny was in use, but on my
system hosts.allow does everything now.  Speaking of which, it's
actually built into my inetd, which requires extra command line
flags to enable it.  So you might have to tweak your inetd
config.  Man pages always help here.

You can check whether or not things are set up properly from the
qmail-smptd point of view by telnetting to localhost 25, and
trying to send a message.  If things aren't right, -smptd will
tell you about it.

> > Check the details of your qmail, tcp-wrappers and inetd
> > installations.  I'm pretty damn sure that the answer is right in
> > essence, if not in the particulars for your situation.
> 
> I'm lost here.  I don't know what I'm even looking for.  Can you please
> tell me what I'm looking for in tcp-wrappers and inetd?

Do you have an entry that looks like this in your inetd.conf
file?

smtp    stream  tcp     nowait  qmaild  /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd

> I understand that if I delete rcpthosts I will have an open relay but at
> least it ought to work.  Is this a starting point at least for tracing the
> problem?  

What happens if you do that?  I don't remember this facility
existing when I first set up qmail (which doesn't mean that it
didn't.)  The manual certainly suggests that that should work,
but you wouldn't want to run like that.

Perhaps you should delete your rcpthosts file and send yourself
a test message with exmh, and see what the envelope sender
address is.  This sort of thing is easier if you have a remote
machine set up to forward to you, for bouncing test messages
off.

-- 
Andrew
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text