Why all this- Undeliverable Mail
Andrew Mathews
andrew_mathews
Mon May 17 11:53:08 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Douglas J Hunley wrote:
| Andrew Mathews shocked and awed us all by speaking:
|
|>FWIW- I have yet to receive any of these attachments. I'm running
|>MIMEDefang/Clamav/Sendmail same as the list.
|
|
| and you're not having the occasional .pif file make it past MD (like we've
| been discussing on the MD list for a while now)?
| --
| Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
| http://doug.hunley.homeip.net && http://www.linux-sxs.org
Nope. I haven't received any attachments. MIMEDefang has been deleting all the
.pif's, regardless. No upstream filtering is going on either. (yeah, I've been
following the MD thread on this, but I have a pretty standard config under
2.60-cvs) Relevant defang filter below:
# This procedure returns true for entities with bad filenames.
sub filter_bad_filename ($) {
~ my($entity) = @_;
~ my($bad_exts, $re);
~ # Bad extensions
~ $bad_exts = '(ade|adp|app|asd|asf|asx|bas|bat|chm|cmd|com|cpl|crt|dll|exe|fxp|h
lp|hta|hto|inf|ini|ins|isp|jse?|lib|lnk|mdb|mde|msc|msi|msp|mst|ocx|pcd|pif|prg|reg
|scr|sct|sh|shb|shs|sys|url|vb|vbe|vbs|vcs|vxd|wmd|wms|wmz|wsc|wsf|wsh|\{)';
~ # Do not allow:
~ # - curlies
~ # - bad extensions (possibly with trailing dots) at end or
~ # followed by non-alphanum
~ $re = '\.' . $bad_exts . '\.*([^-A-Za-z0-9_.,]|$)';
~ return re_match($entity, $re);
}
- --
Andrew Mathews
- ---------------------------------------------------------------------
~ 1:56pm up 143 days, 22:45, 22 users, load average: 2.52, 1.90, 1.53
- ---------------------------------------------------------------------
You can create your own opportunities this week. Blackmail a senior executive.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/VPilejAu2RVHwF4RAjbYAJ9k6acL2l4SN2Hg9wBB97wxyAg2ZQCeJ0ZR
e/4Gdo2P3mVjVzaFRjAu+HQ=
=ZxWe
-----END PGP SIGNATURE-----
More information about the Linux-users
mailing list