Very long filenames?

Mark Sapiro mark at msapiro.net
Fri Feb 22 15:21:51 GMT 2008


Bjørn T Johansen wrote:

>But how long is max length? And is there a way to find the original filename?

<snip>
>> > The only option I can find in filenames.rules.conf is this..:
>> >
>> > deny    .{150,}                 Very long filename, possible OE attack


That regexp matches anything 150 or more characters long. so the max
length is 149.

If the message was quarantined, I expect the original name is in the
quarantined message. If not, there is a MailScanner entry in maillog,
but I don't know if it has the original or the sanitized name.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the MailScanner mailing list