Joey Boswell wrote:
> If sender = [EMAIL PROTECTED] AND attached file is a .wav file
> drop the attachment off and continue sending the email.
sub filter {
my($entity, $fname, $ext, $type) = @_;
if (lc($Sender) eq '<[EMAIL PROTECTED]>' &&
lc($ext) eq '.wav') {
return action_drop();
}
}
Pretty simple, eh?
> I want to strip off just wav files to a particular email address.
_to_ a particular address? Up above, you said if "sender = [EMAIL PROTECTED]".
Which is it?
Regards,
David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang