...
> And this one probably /always/ matches, because mostly $return_path and
> $sender_address are the same thing (read what the spec has to say about
> $return_path).
>
> If you want to test for this at all, you probably want to compare
> ${address:$h_From:} to $sender_address. But be aware that non-matching
does
> not mean that it's spam.
>
> --
> Dave Evans
> http://djce.org.uk/
> http://djce.org.uk/pgpkey
> [attachment "signature.asc" deleted by Vitas Burchenkov/Itera] --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
I have a rule that compares just domain parts of the addresses -
${domain:$h_From:} and ${domain:$sender_address}.
Seems in legal e-mail they are almost always identical - and in this list
too :-)
Regards,
Vitas.
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/