[Mimedefang] getting started
Anthony Griffiths
neuronetv at gmail.com
Fri May 6 06:25:57 EDT 2022
thankyou I found mimdefang.service and mimdefang.mulitplextor.service
in the install files and I was able to get md started
On Thu, May 5, 2022 at 3:49 PM Bill Cole via MIMEDefang
<mimedefang at lists.mimedefang.org> wrote:
>
> On 2022-05-05 at 07:52:58 UTC-0400 (Thu, 5 May 2022 12:52:58 +0100)
> Anthony Griffiths via MIMEDefang <mimedefang at lists.mimedefang.org>
> is rumored to have said:
>
> > 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.
>
> Make sure that every level of the path
> /var/spool/MIMEDefang/mimedefang.sock is readable by the user running
> mimedefang (typically 'defang') and is not world-writable, and that
> /var/spool/MIMEDefang/ is owned and writable by the user running
> mimedefang with no group or world permissions.
>
> > do I need to start md up myself?
>
> It depends on how you did the installation.
>
> > if so what is the command?
>
> There is a systemd service file in the distribution, and a normal
> installation should install it, so you can use the standard systemctl
> commands to start, stop and enable it for automatic start at boot time.
>
> > id there
> > an available init script to create a 'mimedefang.service'? or is md
> > invoked automatically by sendmail? thanks for any help.
>
> MIMEDefang runs as a core Milter daemon, a multiplexing agent, and a
> collection of child Perl processes that handle the details of your
> filtering. The distribution includes both traditional EL-style init
> scripts in the 'redhat' subdirectory and SystemD service files in the
> 'systemd-units' subdirectory. A normal installation will put those where
> they need to be to allow you to enable and manage those with
> chkconfig/service (EL6 and older) or systemctl (EL7 and newer.)
>
>
> --
> Bill Cole
> bill at scconsult.com or billcole at apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
> Not Currently Available For Hire
>
> _______________________________________________
> NOTE: If there is a disclaimer or other legal boilerplate in the above
> message, it is NULL AND VOID. You may ignore it.
>
> MIMEDefang mailing list MIMEDefang at lists.mimedefang.org
> https://lists.mimedefang.org/mailman/listinfo/mimedefang_lists.mimedefang.org
More information about the MIMEDefang
mailing list