In a process of deep contemplation, armin langhofer carefully constucted the following missive on 8/29/2005 2:55 AM:
hi all

i was trying to send a filmaker (mac os x database engine) file over a amavis based mailserver.

unluckily the file is a kind of windows dll file, which is a sort of executable file.

08:50:26 mx4 ~ # file ALL-IN-ONE_en.fmx
ALL-IN-ONE_en.fmx: MS-DOS executable (EXE), OS/2 or MS Windows

although this is not really correct i have no clue how to change it without "recompiling the magic file" (don't know how to do ..)

anyways ... while sending the mail amavis checks for executeable content. after it found the .fmx file it thinks that the file is an executeable and rejects the mail.

my problem now is: that sort of files (fmx filemaker data) have to pass the mailserver. i tried to whitelist the sending email address (mine) but afaik are these whitelist options in amavisd only for whitelisting spamassasin or viruscanners. what i think that i need is a whitelister for amavis itself ...

... is there such an option or is there another way to tell amavis, that .fmx files arn't really executeable files?

thanx4any help, regards, armin.

If you want to allow filemaker files globally, add it to $banned_filename_re as an exception. Make sure it's in the rule EARLY:

$banned_filename_re = new_RE(
[ qr'^\.(fmx)$'=> 0 ],   # Allow Filemaker files
qr'\.[^./]*[A-Za-z][^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i,

# ... etc.......

);

Or, make yourself a banned_file_lover so you'll get banned files.



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to