Thanks for the tips Neil.  I'll look into the smtp-auth patch (I've always
understood pop-before-smtp to be a bit of a hack)...

Shawn

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Neil Jolly
Sent: Tuesday, March 16, 2004 8:03 AM
To: CLUG General
Subject: Re: [clug-talk] qmail and mail relay problem.


On Tue, 2004-03-16 at 00:31, Shawn wrote:
> Hi gang.
>
> I have qmail setup and working fine from my internal network.  I've setup
a
> POP3 account for a friend (more for the exercise of doing it, rather than
> them really using the mailbox), and they can receive messages fine.  They
> can even send email to me no problems.  However, when they try to send
mail
> to an outside server, they get an error:
>
> The message could not be sent because one of the recipients was rejected
by
> the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject
> 'test', Account: 'Yahoo', Server: 'www.open2space.com%27%2c Protocol:
SMTP,
> Server Response: '553 sorry, that domain isn't in my list of allowed
> rcpthosts (#5.7.1)', Port: 25, Secure(SSL): No, Server Error: 553, Error
> Number: 0x800CCC79
>
Essentially this is a good thing. The above means that you are not
allowing relaying, and that means that qmail is setup properly. Any mail
sent directly to you on the server is destined for your domain, and
therefore requires no relaying.

> There are two things that make me wonder...
> 1) why is the email server (the www.open2space.com) getting garbled
(notice
> the characters after the .com?)
> 2) If she is authenticating against my server (as she must have to get the
> POP3 email, and has the outgoing mail server setup for the same
> authentication), then why is mail relay being denied?
>
You need to setup either pop-before-smtp, or smtp-auth to allow users to
send mail via your smtp servers. Both of these methods require a patched
version of qmail. You can also allow your friend to relay if they have a
static ip by adding it to the smtp.tcp file, and recompiling the cdb.
See Life with Qmail for instructions on how to do that.
http://www.lifewithqmail.com/lwq.html#relaying

Snip
--
Neil Jolly
"Any intelligent fool can make things bigger and more complex... It takes
a touch of genius -- and a lot of courage to move in the opposite
direction."  -- Albert Einstein



_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to