On Sonntag, 18. Juni 2006 04:31 Theo Van Dinter wrote: > Sure. Use the MIMEHeader plugin. (you can even check out the other > attachment name-related rules that exist... ;) )
Thank you, good hint! > (full rules -- boo!) Yes I know, I read this, that's why I asked. Now I want to have the same rule for all people, whether or not they have the MIMEHeader plugin. There seems to be no "else" for the "ifplugin" construct, so I made another "ifplugin !..." - is that correct? I don't get lint errors at least: ifplugin Mail::SpamAssassin::Plugin::MIMEHeader mimeheader __ZMIde_EBAYBILL1 Content-Type =~ /name="Ebay-Rechnung.pdf.zip"/ mimeheader __ZMIde_EBAYBILL2 Content-Disposition =~ /name="Ebay-Rechnung.pdf.zip"/ meta ZMIde_EBAYBILL1 (__ZMIde_EBAYBILL1 + __ZMIde_EBAYBILL2) >= 1 describe ZMIde_EBAYBILL1 false ebay bill .zip file score ZMIde_EBAYBILL1 4.9 endif ifplugin ! Mail::SpamAssassin::Plugin::MIMEHeader full ZMIde_EBAYBILL1 /name="Ebay-Rechnung.pdf.zip"/ describe ZMIde_EBAYBILL1 false ebay bill .zip file score ZMIde_EBAYBILL1 4.9 endif mfg zmi -- // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660/4156531 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi3.asc | gpg --import" // Fingerprint: 44A3 C1EC B71E C71A B4C2 9AA6 C818 847C 55CB A4EE // Keyserver: www.keyserver.net Key-ID: 0x55CBA4EE
pgpJCkayVvFe7.pgp
Description: PGP signature