Received-SPF: pass (Last token {+ip4:70.35.205.71} (res=PASS)) client-ip=70.35.205.71; envelope-from=<lyle@lcrcomputer.info>; x-ip-name=ns3.lcrcomputer.net;
X-Received: from ns3.lcrcomputer.net (ns3.lcrcomputer.net [70.35.205.71])
by netwin.co.nz (SurgeMail 7.4p) with ESMTP (TLS) id 25574375-1391920
for <surgemail-list@netwin.co.nz>; Thu, 30 Jul 2020 01:47:12 +0000
X-Return-Path: lyle
X-Verify-SMTP: Host 70.35.205.71 sending to us was not listening
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=73.211.210.143; envelope-from=<lyle@lcrcomputer.info>;
X-Received: from mail3.lcrcomputer.net (unverified [73.211.210.143])
by ns3.lcrcomputer.net (SurgeMail 7.4o) with ESMTP (TLS) id 35-1235687
for <surgemail-list@netwin.co.nz>; Thu, 30 Jul 2020 01:47:02 +0000
X-Return-Path: lyle
X-DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=default; d=lcrcomputer.info;
h=Subject:From:Date;
b=XTx1tAAH8G3htjZBwR7B8oXjh8erPIdOf4D/3ZUou1TKE2rQXi8le4Fmdur7pstqZuwWZv36ylpfnzlqV3f3dPMu4aCs8FEgq0WhpWK4LeD6VpkaHrAUkH8toOi36FDEsXPrbfJ4BXHDzSn6Oc2XQNj5nv6o3qOJZcoCbZomULM=;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lcrcomputer.info;
s=default; t=1596073623;
bh=E9RG7+Vk2u9r56pdZ4ImfsM8JVsi7pBVHX49tM1W6VI=;
h=Subject:To:From:Date;
b=k0lfYNeks8xIWsLFM0ruD6h2W1RAMenjXzLG7OThwTtKNqmcM66+Q+kRvEe/HqAMz
xsipWDb3kQLNDiVuHJLG0A8JoO1UMv6600+2x6mY6U6qY5LSDR3AmCWO2r2O6E0RcC
wwvK+Da4RtwfnbzFL0A1nSU/vAesMfs/8O+jEPyY=
X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=192.168.250.160; envelope-from=<lyle@lcrcomputer.info>;
X-Received: from [192.168.250.160] (unverified [192.168.250.160])
by mail3.lcrcomputer.net (SurgeMail 7.4o) with ESMTP (TLS) id 3645-1786875
for <surgemail-list@netwin.co.nz>; Wed, 29 Jul 2020 20:47:02 -0500
X-Return-Path: lyle
Subject: Re: [SurgeMail List] systemd service file for Surgemail
To: surgemail-list@netwin.co.nz
References: <52afe5e4-aaa4-4131-d2f4-596054d95234@lcrcomputer.info>
<bd76b16f-4590-0d2b-a4e0-502d4b4fd153@netwinsite.com>
From: Lyle Giese
Message-ID: <ad82a728-de40-f45a-7157-187c39fb6f0e@lcrcomputer.info>
Date: Wed, 29 Jul 2020 20:47:02 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <bd76b16f-4590-0d2b-a4e0-502d4b4fd153@netwinsite.com>
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-X-Authenticated-User: lyle@lcrcomputer.info
X-X-Authenticated-User: auth_admin@ns3.lcrcomputer.net
X-Originating-IP: 70.35.205.71
X-Country: code=US country="United States" ip=70.35.205.71
X-Rcpt-To: <surgemail-list@netwin.co.nz>
X-Kann: +OK 0.422 0.953 0/7
X-SpamDetect: ******: 6.0 sd=6.0 lv=0.00 nok=6/0 m=4 nf=0 Close 0.90(X-Phrase:isspam) 0.85(X-Verify-SMTP present) 0.29(X-Verify-Helo:+OK) 0.38(X-NotAscii:utf) 0.38(genuine) 0.39(dkimok) 0.40(StandardTLD) 0.43(X-Verify-MX present) 0.44(spfpass) 0.47(X-LangGuess:English) 0.53(X-PhraseHits:scam) 0.50(X-myrbl:Color=blue) Nbetter 6.0 Sval 7.6 bsan 6.0 NotSaned s=7.6 was=6.0 Sval 7.6
X-NotAscii: charset=utf-8;
X-LangGuess: English
X-Phrase: IsSpam score=1.00
X-Verify-Helo: +OK ns3.lcrcomputer.net
Authentication-Results: netwin.co.nz header.from=lyle@lcrcomputer.info; dkim=pass (good signature)
X-Verify-MX: <lyle@lcrcomputer.info> senders ip (ch=70.35.205.71 msg=70.35.205.71, net=70.35.) not in mx data dom=lcrcomputer.info ipname=ns3.lcrcomputer.net (209.222.82.150 209.222.82.126 209.222.82)
X-Encryption: SSL encrypted
X-MyRbl: Color=Blue (rbl) Age=0 Spam=0 Notspam=0 Stars=0 Good=1 Friend=0 Surbl=0 Catch=0 r=0 ip=70.35.205.71
X-IP-stats: Incoming Last 0, First 0, in=60, out=0, spam=0 ip=70.35.205.71
List-Unsubscribe: <mailto:surgemail-list-leave@netwin.co.nz?subject=unsubscribe>
X-Mailing-List: surgemail-list@netwin.co.nz
List-ID: <surgemail-list@netwin.co.nz>
Precedence: bulk
Reply-To: surgemail-list@netwin.co.nz
Let me test more tomorrow. It was stuttering on ExecStop. Depending on
the environment, sometime enclosing these commands in sudo does wonders.
Plus I noted in the Surgemail_stop.sh script that the .exit and the .pid
file are relative paths. Wonder if full path would help with the
misbehavior I saw in ExecStop.
I also have spent a couple of days starting up SuSE servers on different
hosting companies and the variations were enormous between hosting
companies. I cann't believe how badly some butchered their images.
One installed SLES 15 with no YAST, no editor of any kind(no nano, vi or
vim even) and no ftp client. Plus no access to any software
repositories to add software using zypper(their rpm manager). Obvious
in this case, they spun up a server but never used it and as long as
they could login, let's go with that image!
I have one on a vmware environment that seems to be working well
enough. But it was missing VIM & cron. Still working through some of
that simple crap. Cron doesn't like not having VIM installed. It did
allow me to install GCC, but make was a separate package to install.
(That one is on SuSE, imho.)
Thanks,
Lyle
On 2020-07-29 20:20, Surgemail Support wrote:
> Try this: (surgemail.service)
>
> [Unit]
> Description=SurgeMail Email
> Conflicts=sendmail.service exim.service postfix.service
>
> [Service]
> Type=forking
> PIDFile=/usr/local/surgemail/surgemail.pid
> ExecStart=/usr/local/surgemail/surgemail_start.sh
> ExecStop=/usr/local/surgemail/surgemail_stop.sh
>
> [Install]
> WantedBy=multi-user.target
>
>
> On 30/07/2020 12:52 pm, Lyle Giese wrote:
>> Does anyone have a working systemd surgemail start/stop script? I
>> have stumbled on this and know a couple of work arounds, but my
>> understanding of systemd is lacking...
>>
>> Thanks,
>>
>> Lyle Giese
>>
>> LCR Computer Services, Inc.
>>
>>
|