'Dungeon' Dave
2003-09-28, 04:26 PM CDT
okay, not strictly a RH question but...
I've got some rules set up so that sendmail will bounce mails depending
upon originating IP address and domain, plus originating sender (to stop
some spam relay attempts from the same sender)
However, I'd like to block a certain TO: recipient, ie: mails addressed
to a certain address. Any ideas?
Also, can I set up rules based upon regex per account? For instance, I'd
like to bounce HTML mail destined for me@mydomain.com but allow all
mails through to postmaster@mydomain.com - I can set up some simple
regex rules to filter out HTML and attachments, but it's where I put the
rules.
/me bows to the sendmail gurus...
--
"He said 'honey, gold, jewels, money, women, wine, cars that shine'.
I don't know what he was talking about, but I think I had an idea!"
I've got some rules set up so that sendmail will bounce mails depending
upon originating IP address and domain, plus originating sender (to stop
some spam relay attempts from the same sender)
However, I'd like to block a certain TO: recipient, ie: mails addressed
to a certain address. Any ideas?
Also, can I set up rules based upon regex per account? For instance, I'd
like to bounce HTML mail destined for me@mydomain.com but allow all
mails through to postmaster@mydomain.com - I can set up some simple
regex rules to filter out HTML and attachments, but it's where I put the
rules.
/me bows to the sendmail gurus...
--
"He said 'honey, gold, jewels, money, women, wine, cars that shine'.
I don't know what he was talking about, but I think I had an idea!"