Thanks for
answering.
Now I have put this line in
hosts.allow:
tcp-env: 194.102.181.0: setenv =
RELAYCLIENT
and I have
/etc/qmail/control/rcpthosts with the line
buzau.ro
which is the domain hosted by
194.102.181.1
This way, I can't send mail to other
domains!
(except if I remove
rcpthosts)
And yet the test is like this (the last
line says it seems to accept a relay):
[root@tag /etc]# telnet
mail-abuse.org
Trying 204.152.184.74... Connected to mail-abuse.org. Escape character is '^]'. Connecting to 194.102.181.1 for anonymous test ... <<< 220 buzau.ro ESMTP >>> HELO mail-abuse.org <<< 250 buzau.ro Relay test 1 >>> MAIL FROM:<[EMAIL PROTECTED]> <<< 250 ok >>> RCPT TO:<[EMAIL PROTECTED]> <<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) >>> RSET <<< 250 flushed Relay test 2 >>> MAIL FROM:<[EMAIL PROTECTED]@[194.102.181.1]> <<< 250 ok >>> RCPT TO:<[EMAIL PROTECTED]@mail-abuse.org> <<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) >>> RSET <<< 250 flushed Relay test 3 >>> MAIL FROM:<> <<< 250 ok >>> RCPT TO:<[EMAIL PROTECTED]> <<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) >>> RSET <<< 250 flushed Relay test 4 >>> MAIL FROM:<[EMAIL PROTECTED]@[194.102.181.1]> <<< 250 ok >>> RCPT TO:<nobody%mail-abuse.org@[194.102.181.1]> <<< 250 ok >>> RSET <<< 250 flushed System appeared to accept a relay -------------------- end
test
Is it OK?
AdiM
Infonet
Buzau
|
- How to NOT RELAY messages? Administratori Infonet
- Re: How to NOT RELAY messages? Charles Cazabon
- RE: How to NOT RELAY messages? Administratori Infonet
- RE: How to NOT RELAY messages? Alexander Jernejcic
- Re: How to NOT RELAY messages? Chris Johnson
- Re: How to NOT RELAY messages? Administratori Infonet
- Re: How to NOT RELAY messages? David Dyer-Bennet