Hi,

I'll have a look.
Thanks for the hint anyway.

regards.
eh


At 18:29 3.9.2001 -0300, [EMAIL PROTECTED] wrote:
>-----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-----
>
>
>
+-----------------------------------------------------------------------+
|  fff        hh         http://www.fehcom.de        Dr. Erwin Hoffmann |
| ff          hh                                                        |
| ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
| ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
| ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
| ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
+-----------------------------------------------------------------------+

Reply via email to