From jcimoen at gmail.com Wed Mar 1 01:45:51 2023 From: jcimoen at gmail.com (jcimoen) Date: Wed, 1 Mar 2023 12:15:51 +1030 Subject: MSMILTER service not installed Message-ID: Hey all, Some basics first: Rocky Linux 9.1 MailScanner 5.4.5 Postfix 3.5.9 After install, postfix and MailScanner services started fine but when I went to start msmilter I got the message that Unit msmilter.service not found. I assume it should be installed as part of the MailScanner install. Can I just manually create the service definition file? I can see it on the github site. I can see this file exists /usr/lib/MailScanner/init/msmilter-init. This is the only file I can find that has msmilter in the title. Should there be more? thanks jer -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Wed Mar 1 02:16:17 2023 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 28 Feb 2023 18:16:17 -0800 Subject: MSMILTER service not installed In-Reply-To: References: Message-ID: On 2/28/23 17:45, jcimoen wrote: > > I assume it should be installed as part of the MailScanner install.? Can > I just manually create the service definition file?? I can see it on the > github site. > > I can see this file exists /usr/lib/MailScanner/init/msmilter-init. > This is the only file I can find that has msmilter in the title.? Should > there be more? There should be /lib/systemd/system/msmilter.service and a symlink to it at /etc/systemd/system/multi-user.target.wants/msmilter.service How did you install MailScanner? The rpm install should create those files. Did you run ms-configure after installing MailScanner? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From shawniverson at summitgrid.com Wed Mar 1 14:12:28 2023 From: shawniverson at summitgrid.com (Shawn Iverson) Date: Wed, 1 Mar 2023 09:12:28 -0500 Subject: MSMILTER service not installed In-Reply-To: References: Message-ID: On 2/28/23 21:16, Mark Sapiro wrote: > On 2/28/23 17:45, jcimoen wrote: >> >> I assume it should be installed as part of the MailScanner install.? >> Can I just manually create the service definition file?? I can see it >> on the github site. >> >> I can see this file exists /usr/lib/MailScanner/init/msmilter-init.? >> This is the only file I can find that has msmilter in the title.? >> Should there be more? > > There should be /lib/systemd/system/msmilter.service and a symlink to > it at /etc/systemd/system/multi-user.target.wants/msmilter.service > > How did you install MailScanner? The rpm install should create those > files. > > Did you run ms-configure after installing MailScanner? > > msmilter-init is for non-systemd OSes and not applicable here. This is bizarre.? The rpm spec defines the following in the %files section and should be there. If they are not, that implies a broken rpm or somehow broken install of the rpm. %attr(644,root,root) /usr/lib/MailScanner/systemd/ms-milter If it isn't there, that is a bit concerning.? During the %post section of the rpm, it is copied like this if systemd is present: cp /usr/lib/MailScanner/systemd/ms-milter /usr/lib/systemd/system/msmilter.service Furthermore, I double checked the rpm package online, verified the checksums are good, and confirmed with rpm -qpl that the file is present in the rpm. From jcimoen at gmail.com Thu Mar 9 04:01:44 2023 From: jcimoen at gmail.com (jcimoen) Date: Thu, 9 Mar 2023 14:31:44 +1030 Subject: MSMILTER service not installed In-Reply-To: References: Message-ID: Hi, sorry for the late reply. I decided rather than wrestling with this to install via efa project and that was much MUCH easier! Definitely recommended! There are a couple of things with it... I should ask on the efa project forum but I can't register. The submit button does nothing and there is this message in the bottom right of the screen "This site key is not enabled for the invisible captcha." Happens in Firefox and MS Edge. Firstly I had to remove* inet:localhost:8893* from the *smtpd_milters* in postfix main.cf. Mail was getting stuck in the queue and I was seeing this error: "*connect to Milter service inet:localhost:8893: Connection refused*". After removing it, mail flow was successful. Secondly I was trying to make an ed25519 signature for dkim to go along with the rsa one. The rsa one created via opendkim-genkey works fine but after creating an ed25519 via openssl (the version of opendkim-genkey supplied doesn't seem to natively support ed25519) I get these errors: opendkim[12954]: 4PVMKG42pczGt8Pp: SSL error:0607907F:digital envelope routines:EVP_PKEY_get0_RSA:expecting an rsa key opendkim[12954]: 4PVMKG42pczGt8Pp: dkim_eom(): resource unavailable: EVP_PKEY_get1_RSA() failed Does the version of opendkim supplied not support ed25519 at all, or am I missing something in the config to tell it there are multiple algorithms? I have two separate selectors set up in opendkim and dns. cheers jc On Thu, 2 Mar 2023 at 00:42, Shawn Iverson via MailScanner < mailscanner at lists.mailscanner.info> wrote: > On 2/28/23 21:16, Mark Sapiro wrote: > > On 2/28/23 17:45, jcimoen wrote: > >> > >> I assume it should be installed as part of the MailScanner install. > >> Can I just manually create the service definition file? I can see it > >> on the github site. > >> > >> I can see this file exists /usr/lib/MailScanner/init/msmilter-init. > >> This is the only file I can find that has msmilter in the title. > >> Should there be more? > > > > There should be /lib/systemd/system/msmilter.service and a symlink to > > it at /etc/systemd/system/multi-user.target.wants/msmilter.service > > > > How did you install MailScanner? The rpm install should create those > > files. > > > > Did you run ms-configure after installing MailScanner? > > > > > msmilter-init is for non-systemd OSes and not applicable here. > > This is bizarre. The rpm spec defines the following in the %files > section and should be there. If they are not, that implies a broken rpm > or somehow broken install of the rpm. > > %attr(644,root,root) /usr/lib/MailScanner/systemd/ms-milter > > If it isn't there, that is a bit concerning. During the %post section > of the rpm, it is copied like this if systemd is present: > > cp /usr/lib/MailScanner/systemd/ms-milter > /usr/lib/systemd/system/msmilter.service > > Furthermore, I double checked the rpm package online, verified the > checksums are good, and confirmed with rpm -qpl that the file is present > in the rpm. > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawniverson at summitgrid.com Thu Mar 9 13:59:54 2023 From: shawniverson at summitgrid.com (Shawn Iverson) Date: Thu, 9 Mar 2023 08:59:54 -0500 Subject: MSMILTER service not installed In-Reply-To: References: Message-ID: <07dd0343-611c-c458-b859-2f4c68438c94@summitgrid.com> Yeah the forum registration is broken but there is a Slack you can jump on.? The link is in the forum near the top.? You can probably get some answers there since this is off topic to this list. On 3/8/23 23:01, jcimoen wrote: > Hi, sorry for the late reply. > > I decided rather than wrestling with this to install via efa project > and that was much MUCH easier!? Definitely recommended! > > There are a couple of things with it... I should ask on the efa > project forum but I can't register.? The submit button does nothing > and there is this message in the bottom right of the screen "This site > key is not enabled for the invisible captcha."? Happens in Firefox and > MS Edge. > > Firstly I had to remove*inet:localhost:8893* from the *smtpd_milters* > in postfix main.cf .? Mail was getting stuck in the > queue and I was seeing this error: "*connect to Milter service > inet:localhost:8893: Connection refused*". After removing it, mail > flow was successful. > > Secondly I was trying to make an ed25519 signature for dkim to go > along with the rsa one.? The rsa one created via opendkim-genkey works > fine but after creating an ed25519 via openssl (the version of > opendkim-genkey supplied doesn't seem to natively support ed25519) I > get these errors: > opendkim[12954]: 4PVMKG42pczGt8Pp: SSL error:0607907F:digital envelope > routines:EVP_PKEY_get0_RSA:expecting an rsa key > opendkim[12954]: 4PVMKG42pczGt8Pp: dkim_eom(): resource unavailable: > EVP_PKEY_get1_RSA() failed > > Does the version of opendkim supplied not support ed25519 at all, or > am I missing something in the config to tell it there are multiple > algorithms?? I have two separate selectors set up in opendkim and dns. > > cheers > > jc > > -------------- next part -------------- An HTML attachment was scrubbed... URL: