On Wed, Apr 18, 2001 at 09:21:58AM +0300, Andrew Wafula wrote:
> I have configured qmail as per instructions but when i try to send to yahoo
> or hotmail i get the following error:

> Why should it try to deliver external mail to itself?

It doesn't.
It looks like you try to use your qmail server as an outgoing relay.
qmail-smtpd does only accept email for hosts listed in control/rcpthosts.
If you want to relay messages (i.e. not deliver to local accounts) qmail
will reject them, except if the environment variable "RELAYCLIENT" is
set, in that case qmail will relay the message.

Please have a look at
    http://cr.yp.to/qmail/faq/servers.html#authorized-relay
for basic infos on how to setup authorized relays.
You may also have a look at
    The qmail newbie's guide to relaying
        <URL:http://www.palomine.net/qmail/relaying.html>
    -> Selective relaying with tcpserver and qmail-smtpd
        <URL:http://www.palomine.net/qmail/selectiverelay.html>

        \Maex

-- 
SpaceNet AG            | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |       D-80807 Muenchen    | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.

Reply via email to