amavis-user March 2012 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Problem with @banned_files_lovers_maps.<!--

Problem with @banned_files_lovers_maps...

From: Klaus Tachtler <klaus_at_nospam>
Date: Tue Mar 20 2012 - 07:10:32 GMT
To: amavis-users@amavis.org

Hello List,

we dont want to have exe send via e-mail, but sometimes it is
necassary to get some on a special e-Mail address. BUT when configured
@banned-files_lovers_maps with this special address
(specialuser@ourdomain.tld), the e-Mail was deliverd, BUT the
attachment was NOT? But in this case, we need the attachment.

We have defined following in our /etc/amavisd.conf,

--- SNIP ---
...
@banned_files_lovers_maps = (
       { 'specialuser@ourdomain.tld' => 1,
       } );
...
$final_banned_destiny = D_REJECT;
...
qr'^\.(exe|lha|cab|dll)$', # banned file(1) types
...
--- SNIP ---

Please, can someone help us, what is our fault?

Some experimens with $bypass_decode_parts = 1; - passes all exe, and
not needed files to all the users...

--> amavisd -V
--> amavisd-new-2.6.6 (20110518)

Thank you,
Klaus.

-- ------------------------------------------------ e-Mail : klaus@tachtler.net Homepage: http://www.tachtler.net DokuWiki: http://www.dokuwiki.tachtler.net ------------------------------------------------