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

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



        

On Sun, 2 Jul 2000, Andrew Reilly wrote:

> On Sat, Jul 01, 2000 at 09:31:50PM +1000, David Fisher wrote:
> > Now if I try to send mail using pine, it seems to work but if I use my
> > much preferred EXMH, I get a message eg
> > 
> > "david.fisher at start.com.au: loses; [USER] 553 sorry,
> > that domain isn't in my list of allowed rcpthosts (#5.7.1)
> > post: 1 addressee undeliverable
> > send: message not deliverable to anyone"
> 
> That's probably because pine is executing sendmail (and using
> qmail's sendmail shim) to do the delivery locally), and exmh is trying
> to talk SMTP to localhost to do the delivery.
> 
> Qmail is anti-relay by default, which means that it's SMTP
> server will _only_ accept mail who's _destination_ is one of
> those listed in /var/qmail/control/rcpthosts.  Now obviously you
> don't want to put all of your recipients in that file.  The
> "correct" answer is to use the tcpwrappers tweak that is listed
> in the FAQ, to allow relaying _iff_ the sender is on one of the
> local hosts:
> 
> /etc/hosts.allow:
> 
> tcp-env : 127. localhost : setenv RELAYCLIENT : allow 
> tcp-env : 10. .reilly.home : setenv RELAYCLIENT : allow
> tcp-env : ALL : allow
> 
> > Likewise, if I try to retrieve mail using fetchmail, I get nothing in the
> > download and if I run it with -v, embedded among the message lines are
> > unfriendly things like
> > 
> > "fetchmail: SMTP listener doesn't like recipient address `david@nospam.localhost'"
> 
> That's because fetchmail is trying to deliver with SMTP too.
> Having fixed the problem for exmh this will be fixed too, but
> you could also (there's more than one way to skin a cat) (a)
> reconfigure exmh to use sendmail (or qmail-inject) for delivery
> and (b) do the same for fetchmail.  I used to have fetchmail do
> this, but too many MUAs like to do their own delivery these days
> that I did the hosts.allow thing.  Here's the
> fetchmail-using-local-delivery tweak:
> 
> mda "env - /var/qmail/bin/qmail-inject -a %T"
> 
> > What have I done wrong?  Sendmail readdressing was never this frustrating.
> 
> Sendmail was more open to abuse by default...
> 
> Qmail _is_ very easy to configure, once you get your brain around
> it.  It's mental shape is _very_ different to sendmail's, though.
> 
> Good luck,
> 
> -- 
> 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
> 

Andrew,

That made precisely no difference whatsoever.  I still get the same
messages from EXMH and fetchmail.  Any further suggestions, folks?

David

--
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