I installed MIMEdefang on our Scalix system. There seem to be no problems: mails are handed out to MIMEdefang. But unfortunately ist does not filter jpg and jpeg. The extensions have been added in mimedefang-filter and reread. So my question: has sendmail.cf to be reconfigured?
I did not use m4 for configuring - because I do not know what the Scalix installer did in the sendmail.cf. So I added manually the following lines in sendmail.cf:
O InputMailFilters=mimedefang
O Milter.macros.connect=b., j, _, {daemon_name}, {if_name}, {if_addr}
O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}
O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}
Xmimedefang, S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:360s;R:360s;E:15m
In the mail the header lines were added:
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Disposition: inline
X-Scanned-By: MIMEDefang 2.56 on 192.168.120.17
What is missing?
Greets,
Dirk