MailScanner - RHEL 7 Systemd

Faisal Naeem faisal.telecomm at gmail.com
Thu Jan 12 10:41:51 UTC 2017


Hi Warwick

Thanks for pointing my exact issue. I'll try your suggestions.

On Thursday, January 12, 2017, Warwick Brown <Warwick.x.Brown at serco.com>
wrote:

> *From:* MailScanner [mailto:mailscanner-bounces+warwick.x.brown
> <javascript:_e(%7B%7D,'cvml','mailscanner-bounces%2Bwarwick.x.brown');>=
> serco.com at lists.mailscanner.info
> <javascript:_e(%7B%7D,'cvml','serco.com at lists.mailscanner.info');>] *On
> Behalf Of *Faisal Naeem
> *Sent:* 12 January 2017 10:05
> *To:* mailscanner at lists.mailscanner.info
> <javascript:_e(%7B%7D,'cvml','mailscanner at lists.mailscanner.info');>
> *Subject:* Re: MailScanner - RHEL 7 Systemd
>
>
>
> Dear All,
>
> I need your support for setting up MailScanner with RHEL 7.2. Your support
> is highly appreciated for configuring MailScanner system unit to run the
> service properly along with ExecStart statements for both incoming and
> outgoing Exim.
>
> Thanks.
>
>
>
>
>
> If my hunch is right that you want to know how to start/stop exim from
> system with a dual daemon setup - try placing these two files to create the
> “exim-in” and “exim-out” services, and then enable the service like you
> would any other system service
>
>
>
> # cat /etc/systemd/system/exim-in.service
>
> [Unit]
>
> Description=Exim Mail Transport Agent Input Queue
>
> After=network.target
>
> Conflicts=sendmail.service postfix.service exim.service
>
>
>
> [Service]
>
> PrivateTmp=true
>
> Environment=QUEUE=1h
>
> EnvironmentFile=-/etc/sysconfig/exim
>
> ExecStartPre=-/usr/libexec/exim-gen-cert
>
> ExecStart=/usr/sbin/exim -bd
>
>
>
> [Install]
>
> WantedBy=multi-user.target
>
>
>
> # cat /etc/systemd/system/exim-out.service
>
> [Unit]
>
> Description=Exim Mail Transport Agent Output Queue
>
> After=network.target
>
> Conflicts=sendmail.service postfix.service exim.service
>
>
>
> [Service]
>
> PrivateTmp=true
>
> Environment=QUEUE=1m
>
> EnvironmentFile=-/etc/sysconfig/exim
>
> ExecStartPre=-/usr/libexec/exim-gen-cert
>
> ExecStart=/usr/sbin/exim -bd -q${QUEUE} -C /etc/exim/exim_out.conf -oP
> /var/run/exim-out.pid
>
>
>
> [Install]
>
> WantedBy=multi-user.target
>
>
>
> #
>
>
>
> Regards,
>
>
>
> Warwick
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170112/38348d34/attachment.html>


More information about the MailScanner mailing list