From: tg on
hardware = cobalt raq550 running strongbolt 2 (Centos 4)
sendmail version: 8.13.1

I can't get sendmail to obey whitelisting. I run mimedefang (which filters
my mail by rejecting certain emails) and I have an entry in sendmail.mc
thus:
INPUT_MAIL_FILTER(`mimedefang',`S=unix:/var/spool/MIMEDefang/mimedefang.sock,
F=T, T=S:5m;R:5m')
I need to whitelist certain email addresses so they bypass the
'INPUT_MAIL_FILTER(`mimedefang'.
Mimedefang itself doesn't offer any whitelisting abilities (not that I can
see). I've searched on google about this and tried whitelisting entries in
etc/mail/access but still the whitelisted mail gets nuked by the
'INPUT_MAIL_FILTER. Can anyone tell me how to get the whitelisting to work?
Thanks for any advice.

From: John Nemeth on
tg (nospam(a)nospameverever.net) wrote:
: hardware = cobalt raq550 running strongbolt 2 (Centos 4)
: sendmail version: 8.13.1

: I can't get sendmail to obey whitelisting. I run mimedefang (which filters
: my mail by rejecting certain emails) and I have an entry in sendmail.mc
: thus:
: INPUT_MAIL_FILTER(`mimedefang',`S=unix:/var/spool/MIMEDefang/mimedefang.sock,
: F=T, T=S:5m;R:5m')
: I need to whitelist certain email addresses so they bypass the
: 'INPUT_MAIL_FILTER(`mimedefang'.

You can't do that. If you have INPUT_MAIL_FILTER defined then ALL
e-mails will be passed through that filter.

: Mimedefang itself doesn't offer any whitelisting abilities (not that I can

MIMEDefang basically passes the e-mail through a Perl script. It
provides mechanism not policy. It can do any thing that you can figure
out how to code in Perl. In other words, if you want to whilelist
certain addresses then you need to code a method to do that. I.e. you
can whitelist based on any criteria you want, you just need to figure
out how to code it.
From: ska on
tg wrote:
> Mimedefang itself doesn't offer any whitelisting abilities (not that I can
> see). I've searched on google about this

Huh?
http://lists.roaringpenguin.com/pipermail/mimedefang/2010-July/035884.html

Regards,

-ska