opensuse leap 42.2 - help mailscanner instalation
Jonas Kvinge
jonas at jkvinge.net
Fri Mar 24 19:58:22 UTC 2017
You need to modify the systemd files.
Copy /usr/lib/systemd/system/sendmail.service to
/etc/systemd/system/sendmail.service
Edit /etc/systemd/system/sendmail.service and change the line for
Environment under Service to:
Environment="SENDMAIL_ARGS=-L sendmail -Am -bd -q30m -om
-OPrivacyOptions=noetrn -ODeliveryMode=queueonly
-OQueueDirectory=/var/spool/mqueue.in"
I see that I have also added the following line under Unit before After:
Wants=amavis.service cyrus.service ldap.service nscd.service
ypbind.service saslauthd.service
I don't remember why I did this.
I see I also got a symbolic link from mail-transfer-agent.target to
/usr/lib/systemd/system/sendmail.service in /etc/systemd/system/
The key thing is to not change anything in /usr/lib/systemd/system, but
copy the file to /etc/systemd/system/
I have also created some systemd files in /etc/systemd/system/ to start
some sendmail milters.
Hope this helps.
Jonas
On 03/24/2017 04:46 PM, Alipasijaner Sarajevski wrote:
>
> Hello friends,
>
>
>
> I need help. I would like to install mailscanner on opensuse leap 42.2
> with sendmail,
>
> I'm stuck in installation with
>
>
>
> sendmail -bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly
> -OQueueDirectory=/var/spool/mqueue.in
>
> sendmail -q15m
>
>
>
> where to change this two lines because os 42.2 leap don't have
> /etc/init.d/mail or /etc/rc.d/init.d/sendmail scripts
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170324/a058a182/attachment.html>
More information about the MailScanner
mailing list