Mailinglist Archive: opensuse-security (757 mails)

< Previous Next >
Problem with IMAP2 and body_check
  • From: Peer-Joachim Koch <pkoch@xxxxxxxxxxxxxxx>
  • Date: Mon, 07 Jan 2002 12:20:21 +0100
  • Message-id: <33240000.1010402421@vibra>
Hi,

we are using the suse IMAP2 mail server. I have added
a body_check statemant to reject exe and other stuff.
However it works for outgoing mail, but not for incoming !
I looked in the mailinglist and tried a few attach_filters,
but none of them worked.

Any idea ?

system suse imap2 + H+BEDV Antiviren Scanner
main.cf:
----------------------
...
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, ldap:ldapaliases, ldap:ldapml
body_checks = regexp:/etc/postfix/attach_filter
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
content_filter = smtp:localhost:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = cyrus
header_checks = regexp:/etc/postfix/attach_filter
....
----------------------------
#cat attach_filter
/^begin [0-9]+ .*\.(dll|pif|vb|vbe|vbs|exe|com|bat|lnk)/ REJECT
----------------------------


Mit freundlichem Gruss
Peer-Joachim Koch
_________________________________________________________
Max-Planck-Institut fuer Biogeochemie
Dr. Peer-Joachim Koch
Carl-Zeiss-Promenade 10 Telefon: ++49 3641 6437-52
D-07745 Jena Telefax: ++49 3641 6437-10
< Previous Next >
Follow Ups