-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm using a spampatch write by Rask Ingemann Lambertsen, Marc Pohl,
Mark Delany and Erwin Hoffmann. I have problem whith SPAM, and I hacked
Qmail Code for solve this problem because in 2 cases after Client blocked by
this 2 lines, if I put "data" command connection is passed and SPAM is
granted.

Example:
telnet some.smtp 25
220 some.smtp ESMTP
mail from:<[EMAIL PROTECTED]>
250 ok
rcpt to:<some@domain>
553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
data
go ahead <- SPAM granted

In normal email clients (Outlook, Messenger, Eudora, etc) this feature not
work, but another's e-mail client's that (like telnet) not work whith result
code (error 553) this role is used for SPAMERS.

I've changed this lines:
Line 57 of qmail-smtp.c after patch:
out("553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)\r\n"); }
by:
out("553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)\r\n"); 
_exit(1); }

And this:
Line 61 of qmail-smtp.c after patch:
out("553 sorry, your envelope receipient is in my badreceipients list (#5.7.1)\r\n"); }
by:
out("553 sorry, your envelope receipient is in my badreceipients list (#5.7.1)\r\n"); 
_exit(1);}

I recompile qmail, and result is perfectly:

telnet some.smtp 25
220 some.smtp ESMTP
mail from:<[EMAIL PROTECTED]>
250 ok
rcpt to:<some@domain>
Connection closed by foreign host. <- SPAM is denied :�)

No more.

- ---
********Generated by fortune*********
Cada escola que se abre � uma cadeia que se fecha.
UIN: 14414330 - http://www.dicaslinux.com.br
 5:00pm  up 14 days   2:14  11 users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iEYEARECAAYFAjuT9iUACgkQzW1cKu9OlHeS/wCcD4qcSoYL9G0N2x7GZHF37nTR
NHMAmwUBjtQpcRPskUi6qXo8h2MaEEZk
=/c2q
-----END PGP SIGNATURE-----


Reply via email to