Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

R: R: Any mailbox-challenge plugin?

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


g.tomassoni at libero

Jul 22, 2007, 3:54 PM

Post #1 of 2 (72 views)
Permalink
R: R: Any mailbox-challenge plugin?

> -----Messaggio originale-----
> Da: Matus UHLAR - fantomas [mailto:uhlar[at]fantomas.sk]
>
> ...omissis...
>
> I am really curious how do they behave when there's forged sender and
> both
> MTA's use this. Either they will cycle forever (so they will never know
> if
> either address is OK), or they will stop checking (so the spam will
> pass
> because spammer forged domain with SAV implemented) or the mail (even
> legitimate!) just will not pass...
>
> Once I'll try this on two or more such systems (in parallel!) and see
> if
> they will DoS each other...

No, Matus: they don't cycle.

An MTA willing to check the existence of a sender address would do this
before its reply after end of DATA (i.e.: after having received the
message). Instead, an MTA would inform its peer of a non-existent mailbox
after RCPT-TO (with a 5XX error code), which is well before DATA.

The checking system need not proceed to DATA in order to check the existence
of a mailbox, so there is no cycle...


>
> > Also, SAV's drawbacks may probably be mitigated by caching the
> results.
>
> I don't think so. The problem with first connection will still defeat
> the
> whole system... at SA level it may be much worse because your computer
> will
> spend much more CPU cycles when checking it.

... and no DoS. Caching would help, instead, when a large number of messages
with the very same sender are received. This is a quite common pattern in
spam.

Giampaolo

>
> --
> Matus UHLAR - fantomas, uhlar[at]fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Windows 2000: 640 MB ought to be enough for anybody


jrudd at ucsc

Jul 22, 2007, 4:14 PM

Post #2 of 2 (63 views)
Permalink
Re: R: R: Any mailbox-challenge plugin? [In reply to]

Giampaolo Tomassoni wrote:
>> -----Messaggio originale-----
>> Da: Matus UHLAR - fantomas [mailto:uhlar[at]fantomas.sk]
>>
>> ...omissis...
>>
>> I am really curious how do they behave when there's forged sender and
>> both
>> MTA's use this. Either they will cycle forever (so they will never know
>> if
>> either address is OK), or they will stop checking (so the spam will
>> pass
>> because spammer forged domain with SAV implemented) or the mail (even
>> legitimate!) just will not pass...
>>
>> Once I'll try this on two or more such systems (in parallel!) and see
>> if
>> they will DoS each other...
>
> No, Matus: they don't cycle.
>
> An MTA willing to check the existence of a sender address would do this
> before its reply after end of DATA (i.e.: after having received the
> message). Instead, an MTA would inform its peer of a non-existent mailbox
> after RCPT-TO (with a 5XX error code), which is well before DATA.
>
> The checking system need not proceed to DATA in order to check the existence
> of a mailbox, so there is no cycle...


I believe the more direct reason why there wont be a cycle/loop is that:

When doing SAV, the checking host should set its "Mail-From" to "<>".

So, if someone tries to send me a message from joe[at]example.com, and I
were to use SAV (which I don't), then the SAV check should have these
transactions:

HELO $MYHOST
Mail-From: <>
RCPT-To: <joe[at]example.com>
QUIT


The reason why this shouldn't cause a loop is that RFCs specifically
state that <> a valid Mail-From, and should always be accepted.
Therefore, the other side should never reject (and therefore never
check) the validity of <> as a mail-from.

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.