Jean Caron <[EMAIL PROTECTED]> wrote:

>Russ Nelson wrote:
>> Jean Caron writes:
>>  > Can I reject messages destined to certain domains ? I seem to be dealing
>>  > with somebody that's got too much time on their hands, and my send queue
>>  > gets filled with messages for some strange domain.
>> 
>> Sounds like you don't have a /var/qmail/control/rcpthosts.  Create it, 
>> and read FAQ 5.4, and your problem will go away.
>> 
>I do have a rcpthosts file containing only hosts from my domain. I re-read
>the FAQ 5.4, and I am using tcpserver with the following;
>
>mail:/etc# cat tcp.smtp
>206.191.36.30:allow,RELAYCLIENT=""
>127.:allow,RELAYCLIENT=""
>:allow

Are the messages to the "strange" domain coming from local users? If
so, rcpthosts won't help because the RELAYCLIENT setting says to
ignore it. What you can do is catch the strange domain with a
virtualdomains entry and bounce or bitbucket it.

>Looking at this now, I'm wondering if the last line of my tcp.smtp file is
>creating this situation...?

No, that just says that any host on the Internet can talk to your
qmail via port 25, which is normal. If it had the ``RELAYCLIENT=""''
part, that would be bad: you'd be an open relay.

-Dave

Reply via email to