(With DIT hat on)
A smallish mail server that I manage is seeing a lot of junk mail of a
particular form coming in, and I want to try to block it without spending
days wandering lost in sendmail's config files. I once understood a
little bit about sendmail, but those brain patterns decayed a long time
ago and I have no inclination to train replacements. Now I just turn
sendmail features on and off.
The junk mail comes from different sources because it's being
"returned" from non-existant destination addresses. The return
address is always a real address (different each time) on one of our
systems, but with 6 apparently random digits appended to the
username. Is there any *easy* way to insert a filter that can apply a
regular expression to parts of a header as the mail is coming in, and
give a reject/accept decision?
I already use a realtime blackhole list, and block some specific junk
addresses, but this case needs a finer mechanism.
Thanks,
Barry Redmond
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!