restricing few users from sending/receiving attachments in postfix and in sendmail

Tim ignored_mailbox at yahoo.com.au
Mon Jan 23 15:57:52 UTC 2006


On Sun, 2006-01-22 at 17:12 +0000, Paul Howarth wrote:
> My point was that it's virtually impossible to do this because
> attachments can be split up into multiple emails (thus getting around
> size restrictions) and can be included in (say) uuencode format in the
> message body rather than using a MIME-style attachment.

I don't see why a filter can't strip out attachments done either way.
If one can parse MIME headers, one can also parse for UUE beginning and
end markers.  Multipart messages can also be checked for, but even if
not, catching the beginning and end of a multi-part would kill most data
fairly well.

In either case, the term "attachment" is misleading.  They both "embed"
such files into the message.  To find either type, you parse the message
content.  You could certainly rip out most e-mail attachments, so one
would have to be quite astute about e-mailing to subvert the protection.

-- 
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the fedora-list mailing list