From tony at canetoad.co.uk Mon Nov 6 16:44:43 2023 From: tony at canetoad.co.uk (Tony Yates) Date: Mon, 6 Nov 2023 16:44:43 +0000 Subject: Exim 4.97 Seems to Break MailScanner 5.4.5 due to Change in MessageID Length? Message-ID: <85e40ae5-bdc9-4fcc-b2ea-cf7da040a075@canetoad.co.uk> Dear MailScanner, I just tried an upgrade of Exim to the very recently released version, 4.97 and the mail system seemed to break.? Messages disappeared.?? They wold show as a line entry in a Mailwatch recent messages list, but the actual message behind that entry would return Message ID '7h01hZ-000000004Pk-1fWj' not found! I note from the release notes on 4.97 that the Exim internal MessageID format has changed, as per:? "The internal (but exposed in logs, Received: headers and Message-ID: headers) ?? identifier used for messages is longer than in the previous release" From: 7h02TT-0001wI-1b To: 7h01hZ-000000004Pk-1fWj I'm wondering if this might be the cause, but not sure yet where to dig in to the code and see.? I'm hoping that you might know the answer without the need to dig too far? Thanks. Regards, Tony.. From shawniverson at summitgrid.com Mon Nov 6 16:58:31 2023 From: shawniverson at summitgrid.com (Shawn Iverson) Date: Mon, 6 Nov 2023 11:58:31 -0500 Subject: Exim 4.97 Seems to Break MailScanner 5.4.5 due to Change in MessageID Length? In-Reply-To: <85e40ae5-bdc9-4fcc-b2ea-cf7da040a075@canetoad.co.uk> References: <85e40ae5-bdc9-4fcc-b2ea-cf7da040a075@canetoad.co.uk> Message-ID: <59950ad9-cc94-428a-a97e-79b5bbfede54@summitgrid.com> On 11/6/23 11:44, Tony Yates wrote: > Dear MailScanner, > > I just tried an upgrade of Exim to the very recently released version, > 4.97 and the mail system seemed to break.? Messages disappeared.?? > They wold show as a line entry in a Mailwatch recent messages list, > but the actual message behind that entry would return Message ID > '7h01hZ-000000004Pk-1fWj' not found! > > I note from the release notes on 4.97 that the Exim internal MessageID > format has changed, > > as per:? "The internal (but exposed in logs, Received: headers and > Message-ID: headers) > ?? identifier used for messages is longer than in the previous release" > > From: 7h02TT-0001wI-1b > > To: 7h01hZ-000000004Pk-1fWj > > I'm wondering if this might be the cause, but not sure yet where to > dig in to the code and see.? I'm hoping that you might know the answer > without the need to dig too far? This is likely the culprit, but I'll need to dig into the code to find out why. -- Shawn From tony at canetoad.co.uk Mon Nov 6 19:11:20 2023 From: tony at canetoad.co.uk (Tony Yates) Date: Mon, 6 Nov 2023 19:11:20 +0000 Subject: Exim 4.97 Seems to Break MailScanner 5.4.5 due to Change in MessageID Length? In-Reply-To: <59950ad9-cc94-428a-a97e-79b5bbfede54@summitgrid.com> References: <85e40ae5-bdc9-4fcc-b2ea-cf7da040a075@canetoad.co.uk> <59950ad9-cc94-428a-a97e-79b5bbfede54@summitgrid.com> Message-ID: <2e743946-005f-444a-a8fe-20902a5d4be5@canetoad.co.uk> Shawn, et al, Thanks for the speedy response. I've been digging and found the following in EximDiskStore.pm at around line 495 there is a Sub, that has a reference to the 'old' Message-ID structure at about line 509 # Writes the whole message to a handle. # Need to be passed the message to find the headers path # as it's not part of the DiskStore. sub ReadMessageHandle { ... code omitted ... ? # We have to strip the message-ID off the beginning of the file ? # using sysread since that is what File::Copy uses and it doesn't ? # play nicely with stdio operations such as $body->getline. The ? # magic number 19 is from the length of NNNNNN-NNNNNN-NN-D\n. The magic number 19 is then used below that: ?sysseek($from_h, 19, 0); I guess the new Message-ID structure would definitely break that. HTH Regards, Tony.. On 06/11/2023 16:58, Shawn Iverson wrote: > On 11/6/23 11:44, Tony Yates wrote: >> Dear MailScanner, >> >> I just tried an upgrade of Exim to the very recently released >> version, 4.97 and the mail system seemed to break.? Messages >> disappeared.?? They wold show as a line entry in a Mailwatch recent >> messages list, but the actual message behind that entry would return >> Message ID '7h01hZ-000000004Pk-1fWj' not found! >> >> I note from the release notes on 4.97 that the Exim internal >> MessageID format has changed, >> >> as per:? "The internal (but exposed in logs, Received: headers and >> Message-ID: headers) >> ?? identifier used for messages is longer than in the previous release" >> >> From: 7h02TT-0001wI-1b >> >> To: 7h01hZ-000000004Pk-1fWj >> >> I'm wondering if this might be the cause, but not sure yet where to >> dig in to the code and see.? I'm hoping that you might know the >> answer without the need to dig too far? > > This is likely the culprit, but I'll need to dig into the code to find > out why. > > -- > > Shawn > > From shawniverson at summitgrid.com Mon Nov 6 19:27:10 2023 From: shawniverson at summitgrid.com (Shawn Iverson) Date: Mon, 6 Nov 2023 14:27:10 -0500 Subject: Exim 4.97 Seems to Break MailScanner 5.4.5 due to Change in MessageID Length? In-Reply-To: <2e743946-005f-444a-a8fe-20902a5d4be5@canetoad.co.uk> References: <85e40ae5-bdc9-4fcc-b2ea-cf7da040a075@canetoad.co.uk> <59950ad9-cc94-428a-a97e-79b5bbfede54@summitgrid.com> <2e743946-005f-444a-a8fe-20902a5d4be5@canetoad.co.uk> Message-ID: <6bb57cb3-3fec-44f3-8bd0-25d91144ade0@summitgrid.com> On 11/6/23 14:11, Tony Yates wrote: > > ... > ? # We have to strip the message-ID off the beginning of the file > ? # using sysread since that is what File::Copy uses and it doesn't > ? # play nicely with stdio operations such as $body->getline. The > ? # magic number 19 is from the length of NNNNNN-NNNNNN-NN-D\n. > > The magic number 19 is then used below that: > > ?sysseek($from_h, 19, 0); > > I guess the new Message-ID structure would definitely break that. > Now comes the fun part of fixing it so that both old and new can work. From tony at canetoad.co.uk Tue Nov 7 04:44:01 2023 From: tony at canetoad.co.uk (Tony Yates) Date: Tue, 7 Nov 2023 04:44:01 +0000 Subject: Exim 4.97 Seems to Break MailScanner 5.4.5 due to Change in MessageID Length? In-Reply-To: <6bb57cb3-3fec-44f3-8bd0-25d91144ade0@summitgrid.com> References: <85e40ae5-bdc9-4fcc-b2ea-cf7da040a075@canetoad.co.uk> <59950ad9-cc94-428a-a97e-79b5bbfede54@summitgrid.com> <2e743946-005f-444a-a8fe-20902a5d4be5@canetoad.co.uk> <6bb57cb3-3fec-44f3-8bd0-25d91144ade0@summitgrid.com> Message-ID: <3e32011d-9994-4edb-a217-b78d75be5209@canetoad.co.uk> Shawn, On 06/11/2023 19:27, Shawn Iverson wrote: > On 11/6/23 14:11, Tony Yates wrote: >> >> ... >> ? # We have to strip the message-ID off the beginning of the file >> ? # using sysread since that is what File::Copy uses and it doesn't >> ? # play nicely with stdio operations such as $body->getline. The >> ? # magic number 19 is from the length of NNNNNN-NNNNNN-NN-D\n. >> >> The magic number 19 is then used below that: >> >> ?sysseek($from_h, 19, 0); >> >> I guess the new Message-ID structure would definitely break that. >> > Now comes the fun part of fixing it so that both old and new can work. Indeed that is the fun part!? Have also just noticed that the magic number block is also used in another Sub in that file - "sub WriteEntireMessage {", I should have spotted it sooner as it makes logical sense given the way MailScanner works, d'oh. Not pretty, but would a config option for Exim version (> 4.96) cut it for now and a magic number 'switch' (19/26) in the code? Regards, Tony.. From gsjarvis at pt.lu Tue Nov 7 11:06:59 2023 From: gsjarvis at pt.lu (Graham S. Jarvis) Date: Tue, 7 Nov 2023 12:06:59 +0100 Subject: MailScanner - installation/configuration services Message-ID: <5dda45ea-2d7f-4543-8753-ae45b030ce9d@pt.lu> Hello, if this isn't the place to post this sort of question - apologies, I didn't want to have to create an account on all the freelance marketplace websites ;) ! I'm looking for someone to upgrade, (re)install if necessary and configure a MailScanner mail hub server (spamassassin, mailwatch, etc.) running FreeBSD (FreeBSD 12.4-RELEASE-p6 GENERIC). Any suggestions ? Thanks, -Graham S. JARVIS- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailscanner-list at okla.com Tue Nov 7 15:17:40 2023 From: mailscanner-list at okla.com (Tracy Greggs) Date: Tue, 07 Nov 2023 15:17:40 +0000 Subject: MailScanner - installation/configuration services In-Reply-To: <5dda45ea-2d7f-4543-8753-ae45b030ce9d@pt.lu> References: <5dda45ea-2d7f-4543-8753-ae45b030ce9d@pt.lu> Message-ID: I would spin up a VM and do it yourself. If you can do it in-house then you will be much better off in the long run and not dependent on anyone else if you get in a bind. Beyond that, if you can't get it done in-house, there is probably someone on this list that has the time to help you with it. Best wishes Tracy ------ Original Message ------ >From "Graham S. Jarvis via MailScanner" To "MailScanner Discussion" Cc "Graham S. Jarvis" Date 11/7/2023 5:06:59 AM Subject MailScanner - installation/configuration services >Hello, > >if this isn't the place to post this sort of question - apologies, I >didn't want to have to create an account on all the freelance >marketplace websites ;) ! > >I'm looking for someone to upgrade, (re)install if necessary and >configure a MailScanner mail hub server (spamassassin, mailwatch, etc.) >running FreeBSD (FreeBSD 12.4-RELEASE-p6 GENERIC). > >Any suggestions ? > >Thanks, > >-Graham S. JARVIS- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gsjarvis at pt.lu Tue Nov 7 16:07:54 2023 From: gsjarvis at pt.lu (Graham S. Jarvis) Date: Tue, 7 Nov 2023 17:07:54 +0100 Subject: MailScanner - installation/configuration services In-Reply-To: References: <5dda45ea-2d7f-4543-8753-ae45b030ce9d@pt.lu> Message-ID: <7d952de7-003c-4b1c-a3bf-5f886a7d998c@pt.lu> I do already have a server running but I don't think it's configured correctly - some domains are not scanned (Header - "Not scanned: please contact your Internet E-Mail Service Provider for details") etc. and as far as I can see the rules are OK. I "just" need someone to help me so that I can take over and do the next server change (upgrade) myself ;) Thanks, -Graham- Tracy Greggs via MailScanner wrote on 07/11/2023 16:17: > > I would spin up a VM and do it yourself. If you can do it in-house then you > will be much better off in the long run and not dependent on anyone else? if > you get in a bind. > > Beyond that, if you can't get it done in-house, there is probably someone on > this list that has the time to help you with it. > > Best wishes > > Tracy > > ------ Original Message ------ > From "Graham S. Jarvis via MailScanner" > To "MailScanner Discussion" > Cc "Graham S. Jarvis" > Date 11/7/2023 5:06:59 AM > Subject MailScanner - installation/configuration services > >> Hello, >> >> if this isn't the place to post this sort of question - apologies, I didn't >> want to have to create an account on all the freelance marketplace websites ;) ! >> >> I'm looking for someone to upgrade, (re)install if necessary and configure a >> MailScanner mail hub server (spamassassin, mailwatch, etc.) running FreeBSD >> (FreeBSD 12.4-RELEASE-p6 GENERIC). >> >> Any suggestions ? >> >> Thanks, >> >> -Graham S. JARVIS- >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From breakoutwatch at gmail.com Mon Nov 13 18:10:25 2023 From: breakoutwatch at gmail.com (Mike Gibbons) Date: Mon, 13 Nov 2023 08:10:25 -1000 Subject: Can't locate Filesys/Df.pm Message-ID: <5ca2d5c4-ab58-3824-97ee-ad1a4d67a3cf@proactech.com> Hi, I installed mailscanner on Ubuntu 20.04 from the .deb file. On trying to?? start the service I received Can't locate Filesys/Df.pm in @INC (you may need to install the Filesys::Df module) Where do I? find the Df module? MG -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawniverson at summitgrid.com Tue Nov 14 11:10:01 2023 From: shawniverson at summitgrid.com (Shawn Iverson) Date: Tue, 14 Nov 2023 06:10:01 -0500 Subject: Can't locate Filesys/Df.pm In-Reply-To: <5ca2d5c4-ab58-3824-97ee-ad1a4d67a3cf@proactech.com> References: <5ca2d5c4-ab58-3824-97ee-ad1a4d67a3cf@proactech.com> Message-ID: Did you run /usr/sbin/ms-configure after installing? On 11/13/23 13:10, Mike Gibbons wrote: > > Hi, > > I installed mailscanner on Ubuntu 20.04 from the .deb file. > > On trying to?? start the service I received Can't locate Filesys/Df.pm > in @INC (you may need to install the Filesys::Df module) > > Where do I? find the Df module? > > MG > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: