[Exim] How to block senders based on ${local_part}?

Top Pagina
Delete this message
Reply to this message
Auteur: Juha Saarinen
Datum:  
Aan: exim-users
Onderwerp: [Exim] How to block senders based on ${local_part}?
I have the dubious distinction of being on some (presumably) spammer's
relay-scanning lists:

2001-12-03 07:53:47 refused relay (host) to <kuskeemailmoney@???> from
<jamieh22@???> H=(aol.com) [216.111.15.13] (failed to find host
name from IP address)
------------------------------------------------------------------------------
2001-12-03 07:53:47 refused relay (host) to <workathome@???> from
<jamieh22@???> H=(aol.com) [216.111.15.13] (failed to find host
name from IP address)
------------------------------------------------------------------------------
2001-12-04 09:13:04 refused relay (host) to <kytec211@???> from
<mktuberxtx@???> H=(mx.online.no) [65.171.111.4] (failed to find
host name from IP address)
------------------------------------------------------------------------------
2001-12-04 12:16:58 refused relay (host) to <scanmyip@???> from
<rune452@???> H=vpop3-146.pacificnet.net (mta.excite.com)
[209.204.34.146]


Apart from the nuisance of clogging up log files, it's not a major issue,
and I'll probably block them at the router, because their ISPs aren't
doing anything to stop them.

However, I've been experimenting with sender_reject to block them, but I
must be missing something, because I can't get it to work right.

This works:

*.reply.net     *
*.avshop.com    *


-- which is fine, as I don't want anything from these domains.

This, however, doesn't:

kuskeemail*     *


or:

workathome*.*   *
kytek*.*        *



How can I get sender_reject to pick up the ${local_part}?


--
Juha
Take off every sig!