[Mimedefang] getting started

Anthony Griffiths neuronetv at gmail.com
Thu May 5 07:52:58 EDT 2022


I've just installed  mimedefang-2.86 on centos 7 but its not working
and I'm not sure what I need to do to get it up and running. I used to
have md running on centos 6 but that was ages ago.
I don't know how to verify if md is running or whether it is invoked
by sendmail, I can't find any init script to start it up. I installed
md from source (mimedefang-2.86.tar.gz)
in sendmail.mc I have :
INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, T=S:5m;R:5m')
I also tried
INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:1m;R:1m')
but in /var/log/maillog I get:
sendmail[4681]: <snip> Milter (mimedefang): local socket name
/var/spool/MIMEDefang/mimedefang.sock unsafe
sendmail[4681]:<snip> Milter (mimedefang): to error state
I've been trawling google on this, page after page but couldn't find
anything to dig myself out of this hole.

do I need to start md up myself? if so what is the command? id there
an available init script to create a 'mimedefang.service'? or is md
invoked automatically by sendmail? thanks for any help.



More information about the MIMEDefang mailing list