- Zbigniew Baniewski <[EMAIL PROTECTED]>:
| My current tcpserver setting seem to be too weak...
|
| 197.117.124.:allow,RELAYCLIENT=""
| 195.116.249.:allow,RELAYCLIENT=""
| 127.:allow,RELAYCLIENT=""
| :allow
|
| ...because the last rule allows to misuse my SMTP server by anobody
| (right?).
Wrong. The last rule allows anyone to *use* your SMTP server, not to
*mis*use it.
| It isn't completely clear to me, how to change the rule, to allow
| any host to send mail to my domain (195.117.124.*), but not to use
| my server for relaying to other, foreign domains? The docs aren't
| especially clear - haven't found any example
You need to list the domains you are willing to receive mail for in
control/rcpthosts. This list will be enforced for all senders, except
when RELAYCLIENT is set (as it is for your local hosts).
This is explained in the qmail-smtpd man page. I am not sure how it
could be made clearer.
- Harald