peter abplanalp <[EMAIL PROTECTED]> wrote:

>Hello all.  How can I get qmail to relay mail for all machines in the same
>domain?

You want your qmail to act as a relay for a particular domain? If so,
tcpserver and the RELAYCLIENT thing are the way to go.

>I've added the domain to locals and rcpthosts.

By adding the domain to locals, you're telling qmail that those
addresses are to be delivered locally. I don't think you want that--at 
least, it got nothing to do with relaying.

>I also added
>something like 'xxx.xxx.xxx.:allow,RELAYCLIENT=""' to my /etc/tcp.smtp file
>and then reloaded the file.  I also restarted qmail (is this necessary?).
>I then try to send mail from a Win98 box in the same domain and get an error
>like '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)'.

OK, you've paraphrased what you've done, and it sounds like you're
doing the right things. If we're to get to the bottom of things, we'll 
need details. What command are you starting qmail-smtpd with? What are 
the entire contents of tcp.smtp? How did you "reload" it? What does
tcpserver log?

No, it's not necessary to restart anything when modifying tcp.smtp:
tcpserver rereads the database for each connection.

-Dave

Reply via email to