John Kuhn <[EMAIL PROTECTED]> wrote:
>
> can you explain this.. the docs state that by default qmail will not relay
> to anyone not in /etc/tcp.smtp
No, the documentation states that qmail will not relay if you populate
/var/qmail/control/rcpthosts properly. The possible setting of the
RELAYCLIENT environment variable through tcpserver can then be used to
override this mechanism for particular hosts if desired.
> now that I do have my domain into rcpthosts it is the only way it will stop
> the open relay behavior because the server responds with "domain not in my
> rcpthosts" which is fine because I can bypass this with adding people to my
> tcp.smtp file
>
> this is how it's supposed to work?
Yes. rcpthosts specifies what domains you are responsible for mail for (local
domains, virtual domains, plus any domains for which you are a secondary MX).
RELAYCLIENT lets you specify particular hosts in your network for which you
wish to act as a relay or smarthost.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------