Robin
unread,Sep 14, 2016, 7:25:52 PM9/14/16You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Realised I not only (partially) misread the original post but also made a
number of hidden assumptions that won't have helped!
The solution I'd use would be the "mimedefang" milter. Easy to install,
and by far the most powerful sendmail milter of all (Though I've never
actually used its mime-defanging capabilities!)
In the "sub filter_end" routine of the "mimedefang-filter" config file,
add something like:
if ($sender =~ /badboy's addy/i) {
delete_recipient('admin's addy');
add_recipient ('lawyer's addy');
add_recipient ('police addy');
... repeat for others as required, if any (yourself for testing?)
}
That's it, done and dusted!
Should all be very familiar if you're familiar with Perl, otherwise note
the slashes in the first line, they're literal as is the 'i' (ignore
case). The enclosing "'" in add_recipient() are also literal. Addies are
in the usual mail form, though probably best to leave out the usual
containing '<>'s unless/until you've got the hang of it.