Eric wrote:

> Bug is when Local-Mailbox is a substring of a From address, scan
> (and repl) think it's a message from yourself.
>
> Anyone know how to fix it? :)

The relevant code starts at line 416 of sbr/addrsbr.c, in
ismymbox().  cp is set to the From: address ([email protected]) in
the message, pp is set to the local mailbox ([email protected]).
The W_MBEG test is used, which does the substring test as you saw.
I can't wrap my ahead around why right now, can you or anyone else?

That code structure is repeated starting at line 442.  It might
be worth trying to rework all of it.

David

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to