Solved Bypass Amavisd-new check

Hi
I know amavisd can block specific file name anywhere like *.exe / *. scr, is there have white list cloud bypass checkd ?
if some file was blocked, is it possible recover the file from QUARANTINEDIR ?
Even I extracted the filename.gz ,the exe file still corrupted.
 
It's very bad form to rely on the extension of the filename to figure out what the file actually is. UNIX never did, even Windows doesn't. Only good old MS-DOS relied on it.
 
Thanks , I found out another way is using bypass_virus_checks_maps.
But there is a question the maps seems not working.
I set them below :
Code:
@bypass_virus_checks_maps = ( [ 'user1@yourdomain.com.tw' ] );
@virus_lovers_maps = ( [ 'user1@yourdomain.com.tw' ] );
The amavisd-default.conf is defined below:
Code:
@bypass_virus_checks_maps = (\%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);
May be I using wrong format to declare.
Any suggestion will be appreciated.
 
I solved the problem by using the following format for bypassing spam check.
Code:
#Spam Check Whitelist
read_hash(\%whitelist_sender, '/var/amavis/whitelist');
@whitelist_sender_maps = (\%whitelist_sender);
The conntent of /var/amavis/whitelist :
Code:
user1@domain.com.tw
Result is all of the mail from user1@domain.com.tw will not be "Hits" any score . the virus check still working .

I found a secure way to bypass virus check (If it is necessary!)
But I think using cloud drive disk (eg: google drive) is a better way for sharing .exe file .
Reference to : http://verchick.com/mecham/public_html/spam/bypassing.html#6 in section 7.
 
Last edited:
Back
Top