CC>You're preventing connections to port 25 completely?
CC>Please post the contents of your smtp.rules file to be more clear on exactly
CC>what you are allowing/disallowing.
the rule is :
127.:allow,RELAYCLIENT=""
CC>
CC>> If i try to do relaying from a host that is not allowed i get the message:
CC>> "553 sorry, that domain isn't in my list of allowed rcpthosts".
CC>
CC>Yes, the expected behaviour.
Ok never said the opposit
CC>
CC>> The question is :If i try to send an e-mail to a domain that's contained
CC>> in rcpthosts, from an unautorized host, i get no errors and the email
CC>> arrives...why this?
CC>> with this method can't i be able to mail bomb any e-mail address of this
CC>> domain?
CC>
CC>rcpthosts lists machines/domains which you are willing to accept mail for.
CC>They may be local, or they may be other machines for which you are providing
CC>secondary MX service. This is expected behaviour.
CC>Either you don't quite understand how internet mail works, or you're being
CC>unclear in what you are trying to accomplish here. Could you explain better
CC>what you are trying to do, and why you think it's not correct?
Well probably i was not clear!
I am a "son of Sendmail" and i am trying to set up qmail in the best way,
to understand its full possibilities. Obviously it 's not really easy to
do this, using the mess of documentation that's around...anyway taking the
time needed i am trying to do this.
Let's do an example:
I put the domain foo.com in rcpthosts.
Now qmail will accept mails for *@foo.com.
I put a rule in tcpservers to allow relaying only from localhost and
my LAN hosts.
Now i telnet to another host, not autorised to do relaying; from here:
telnet my qmail machine port 25
220 <welcome message>
helo cippalippa.org
250 <welcome message>
mail from:k
250 Ok
rcpt to:[EMAIL PROTECTED]
250 OK
data
354 go ahead
PRRRRTTT
.
250 ok 976727180 qp 4190
quit
Well i think this is not fair.
Infact anyone could send mails to [EMAIL PROTECTED], [EMAIL PROTECTED] and any other
standard address, being completely anonymous.
I think i missed something in configuration or otherwise i didnt
understand well how qmail works.
My previous mail was NOT to claim that qmail is bugged as some1 could
have understood.
Now i hope things are clearer
Thnx
Dario