MailScanner - RHEL 7 Systemd
Faisal Naeem
faisal.telecomm at gmail.com
Wed Jan 18 17:18:50 UTC 2017
Hi Warwick,
Thanks for your suggestion and support. I'll do follow all steps
accordingly. I have one more question that configuring exim-in and exim-out
services will not lead to port binding issue ?
As when I setup exim-in and exim-out services, I got error on port
conflict, that port 25 is already in use by exim-in.
Could you please suggest some way forward.
On Mon, Jan 16, 2017 at 8:08 PM, Warwick Brown <Warwick.x.Brown at serco.com>
wrote:
> Sorry Faisal,
>
>
>
> There is good documentation out there already and I don’t have time to
> re-write it for you. Basically, (1) you need to have an exim config that
> works before you start, and (2) you need to read the integration guide
> https://www.mailscanner.info/exim/ to implement the required changes, and
> then (3) use the scripts I provided before to overcome the fact the
> documentation doesn’t currently cover systemd configuration.
>
>
>
> It is not something you can install out of the box and expect it
> ‘just-to-work’. You need to have a real feel of what you’re doing and what
> you’re working with (e.g. strong prior knowledge of Exim and SMTP)
>
>
>
> If you don’t have time or the knowledge to do this – then you may want to
> consider an appliance such as https://efa-project.org/ which has
> mailscanner built-in and will just ‘get-you-there’.
>
>
>
> Regards,
>
>
>
> Warwick
>
>
>
> *From:* MailScanner [mailto:mailscanner-bounces+warwick.x.brown=serco.com@
> lists.mailscanner.info] *On Behalf Of *Faisal Naeem
> *Sent:* 15 January 2017 04:58
>
> *To:* MailScanner Discussion <mailscanner at lists.mailscanner.info>
> *Subject:* Re: MailScanner - RHEL 7 Systemd
>
>
>
> Hi Warwick,
>
> Can you please share step by step instructions to set *MailScanner with
> Exim on CentOS 7*........ as I am looking to setup everything from
> scratch ........
>
> Else, I have no choice to go back with *MailScanner with Exim on CentOS
> 6 ......... *because I am unable to have good tutorials/articles
> .........on *MailScanner with Exim on CentOS 7*.
>
>
>
> On Sat, Jan 14, 2017 at 1:26 AM, Warwick Brown <Warwick.x.Brown at serco.com>
> wrote:
>
> Also…running exim from the command-line without the –C
> /path/to/outbound/exim.conf just delivers from the inbound queue thus
> bypassing mailscanner altogether.
>
>
>
> It may be worth setting a command alias for “exim –C
> /path/to/outbound/exim.conf” for your convenience.
>
>
>
> Regards,
>
>
>
> warwick
>
>
>
> *From:* MailScanner [mailto:mailscanner-bounces+warwick.x.brown=serco.com@
> lists.mailscanner.info] *On Behalf Of *Faisal Naeem
> *Sent:* 13 January 2017 19:36
> *To:* MailScanner Discussion <mailscanner at lists.mailscanner.info>
>
>
> *Subject:* Re: MailScanner - RHEL 7 Systemd
>
>
>
> Hi Warwick,
>
> I have applied your suggestions, but my outgoing exim is still not
> delivering emails automatically ........ however, when I push email (exim
> -M <msg-id>) it gets delivered ........
>
> Can you guide me on this issue as well .......
>
>
>
> On Thu, Jan 12, 2017 at 3:41 PM, Faisal Naeem <faisal.telecomm at gmail.com>
> wrote:
>
> 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=serco.com@
> lists.mailscanner.info
> <mailscanner-bounces+warwick.x.brown=serco.com at lists.mailscanner.info>] *On
> Behalf Of *Faisal Naeem
> *Sent:* 12 January 2017 10:05
> *To:* 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
>
>
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170118/01de6e93/attachment.html>
More information about the MailScanner
mailing list