Papp Rudolf wrote:
> I need to make an user based attachment filter. On a mailserver
> running a sendmail 8.12.3 with FEATURE(local_procmail) to deliver
> mails to boxes with procmail. From this I can filter all of messages.
> This is very nice (the server not too busy), but I have 2 questions.
> How can I filter messages per user base? When I place this in
> * ! TOtest
> | sanitizer /etc/sanitizer.cfg
> all ok ( all message filtered that not contains test local user).
> But when in an arrived message To or Cc fileds contains other address,
> then messages abandoned too (when contains test.) How can I filter
> message before delivering to box?
I think, I've found the right answer...
* ! LOGNAME ?? test
| sanitizer /etc/sanitizer.cfg
> Can I send an e-mail notification to admin, when an arrived message
> Any idea?
> Thank you!
Can I send e-mail from sanitizer anywhere?
-- Papp Rudolf SysAdm of Different ISP
ICQ UIN: 109928067