From kevin.miller at juneau.org Sat Feb 3 00:19:17 2018 From: kevin.miller at juneau.org (Kevin Miller) Date: Sat, 3 Feb 2018 00:19:17 +0000 Subject: Upgrading Message-ID: My MailScanner hosts are a bit out of date so I'm planning on doing an upgrade on both MailScanner and Mailwatch. Current versions are: MailWatch Version = 1.2.0 - RC1 DEV MailScanner Version = 4.85.2 PHP Version = 5.6.33-0+deb8u1 MySQL Version = 5.5.59-0+deb8u1 I'm running on Debian Jessie. Any caveats or things I should be aware of going into this? I've downloaded the latest package from the web site (Stable v5.0.7-1). ...Kevin -- Kevin Miller Network/email Administrator, CBJ MIS Dept. 155 South Seward Street Juneau, Alaska 99801 Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357 From iversons at rushville.k12.in.us Sat Feb 3 11:59:49 2018 From: iversons at rushville.k12.in.us (Shawn Iverson) Date: Sat, 3 Feb 2018 06:59:49 -0500 Subject: Upgrading In-Reply-To: References: Message-ID: Hi Kevin, The biggest thing I recommend is having a good backup of your MailScanner configuration in /etc/MailScanner. The install script attempts to work around some issues from 4 to 5 and merge the new configuration, but if something goes wrong your backup will come in handy. The paths of MailScanner files change from 4 to 5 to be more FHS compliant, so you'll find the perl stuff in /usr/share/MailScanner after upgrading. If you are using 3rd party av scanners, some scanners were removed in v5, be sure to verify before upgrading. Lastly, a new group called mtagroup comes with v5. Place your mta and av scanners in this group. Also, you may need to assign mtagroup to some directories on your system, such as your mta spool directories. On Fri, Feb 2, 2018 at 7:19 PM, Kevin Miller wrote: > My MailScanner hosts are a bit out of date so I'm planning on doing an > upgrade on both MailScanner and Mailwatch. Current versions are: > > MailWatch Version = 1.2.0 - RC1 DEV > MailScanner Version = 4.85.2 > PHP Version = 5.6.33-0+deb8u1 > MySQL Version = 5.5.59-0+deb8u1 > > I'm running on Debian Jessie. Any caveats or things I should be aware of > going into this? > > I've downloaded the latest package from the web site (Stable v5.0.7-1). > > ...Kevin > -- > Kevin Miller > Network/email Administrator, CBJ MIS Dept. > 155 South Seward Street > Juneau, Alaska 99801 > Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357 > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > -- Shawn Iverson, CETL Director of Technology Rush County Schools 765-932-3901 x1171 iversons at rushville.k12.in.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From iversons at rushville.k12.in.us Sat Feb 3 13:46:27 2018 From: iversons at rushville.k12.in.us (Shawn Iverson) Date: Sat, 3 Feb 2018 08:46:27 -0500 Subject: Upgrading In-Reply-To: References: Message-ID: Kevin, Also, if you hold off just a little, 5.0.7-2 will be ready this weekend. It has some fixes that may be beneficial. On Fri, Feb 2, 2018 at 7:19 PM, Kevin Miller wrote: > My MailScanner hosts are a bit out of date so I'm planning on doing an > upgrade on both MailScanner and Mailwatch. Current versions are: > > MailWatch Version = 1.2.0 - RC1 DEV > MailScanner Version = 4.85.2 > PHP Version = 5.6.33-0+deb8u1 > MySQL Version = 5.5.59-0+deb8u1 > > I'm running on Debian Jessie. Any caveats or things I should be aware of > going into this? > > I've downloaded the latest package from the web site (Stable v5.0.7-1). > > ...Kevin > -- > Kevin Miller > Network/email Administrator, CBJ MIS Dept. > 155 South Seward Street > Juneau, Alaska 99801 > Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357 > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > -- Shawn Iverson, CETL Director of Technology Rush County Schools 765-932-3901 x1171 iversons at rushville.k12.in.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From Eoin.Kim at rcst.com.au Wed Feb 7 01:39:39 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Wed, 7 Feb 2018 01:39:39 +0000 Subject: Release from quarantine with keeping original sender Message-ID: <02d27f4b0d57461eac46bc818b2d1b17@rcst.com.au> Hi all, I have a question about the configuration regarding the issue I am suffering at the moment. When I release quarantined emails through MailWatch, it looks like all email's sender is set to postmaster address of our mail servers. Is there a way to keep the original sender's address? I am not sure if this is a setting issue with MailScanner or MailWatch either. I would really appreciate it if someone can help me. Thanks a lot. Eoin Kim Systems Administrator RCS Telecommunications Level 1 - The Annexe, 133 Mary Street Brisbane, QLD, 4000, Australia Office: 07 3228 0843 Mobile: 0419 726 231 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.miller at juneau.org Wed Feb 7 17:41:27 2018 From: kevin.miller at juneau.org (Kevin Miller) Date: Wed, 7 Feb 2018 17:41:27 +0000 Subject: Upgrading In-Reply-To: References: Message-ID: Thanks for upgrade notes (your previous post) and the heads up on 5.0.7-2. I?ve been out of the office the past few days so haven?t gotten to upgrading yet. I?ll make sure I grab that build before I do? ...Kevin -- Kevin Miller Network/email Administrator, CBJ MIS Dept. 155 South Seward Street Juneau, Alaska 99801 Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357 From: MailScanner [mailto:mailscanner-bounces+kevin.miller=juneau.org at lists.mailscanner.info] On Behalf Of Shawn Iverson Sent: Saturday, February 03, 2018 4:46 AM To: MailScanner Discussion Subject: Re: Upgrading Kevin, Also, if you hold off just a little, 5.0.7-2 will be ready this weekend. It has some fixes that may be beneficial. On Fri, Feb 2, 2018 at 7:19 PM, Kevin Miller > wrote: My MailScanner hosts are a bit out of date so I'm planning on doing an upgrade on both MailScanner and Mailwatch. Current versions are: MailWatch Version = 1.2.0 - RC1 DEV MailScanner Version = 4.85.2 PHP Version = 5.6.33-0+deb8u1 MySQL Version = 5.5.59-0+deb8u1 I'm running on Debian Jessie. Any caveats or things I should be aware of going into this? I've downloaded the latest package from the web site (Stable v5.0.7-1). ...Kevin -- Kevin Miller Network/email Administrator, CBJ MIS Dept. 155 South Seward Street Juneau, Alaska 99801 Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357 -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner -- Shawn Iverson, CETL Director of Technology Rush County Schools 765-932-3901 x1171 iversons at rushville.k12.in.us [Image removed by sender.][Image removed by sender.] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: ~WRD000.jpg URL: From mark at msapiro.net Fri Feb 9 02:16:24 2018 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 8 Feb 2018 18:16:24 -0800 Subject: MailScanner 5.0.7-2 Message-ID: I notice 5.0.7-2 is not yet available at . FWIW, I built the Debian package from a clone of using the Build.debian script and installed it on two different Ubuntu 16.04 systems via ./install.sh --update and had no problems. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jerry.benton at mailborder.com Fri Feb 9 03:46:34 2018 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 8 Feb 2018 22:46:34 -0500 Subject: MailScanner 5.0.7-2 In-Reply-To: References: Message-ID: Sorry. Working on it now. On Thu, Feb 8, 2018 at 9:16 PM, Mark Sapiro wrote: > I notice 5.0.7-2 is not yet available at > . > > FWIW, I built the Debian package from a clone of > using the Build.debian script and > installed it on two different Ubuntu 16.04 systems via > > ./install.sh --update > > and had no problems. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > -- -- Jerry Benton Mailborder Systems www.mailborder.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerry.benton at mailborder.com Fri Feb 9 04:09:01 2018 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 8 Feb 2018 23:09:01 -0500 Subject: MailScanner v5.0.7-2 Released Message-ID: <0dbf01d3a15b$b7ad4c40$2707e4c0$@mailborder.com> Thanks again to Shawn Iverson for putting together another release. https://www.mailscanner.info/downloads/ -- Jerry Benton www.mailborder.com +1 (843) 800-8605 +44 (020) 3883-8605 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5530 bytes Desc: not available URL: From vincent at zijnemail.nl Mon Feb 12 06:58:56 2018 From: vincent at zijnemail.nl (Vincent Verhagen) Date: Mon, 12 Feb 2018 07:58:56 +0100 Subject: MailScanner v5.0.7-2 Released In-Reply-To: <0dbf01d3a15b$b7ad4c40$2707e4c0$@mailborder.com> References: <0dbf01d3a15b$b7ad4c40$2707e4c0$@mailborder.com> Message-ID: <1518418736.7440.0.camel@zijnemail.nl> Jerry, Shwan, Thanks for your efforts! On Thu, 2018-02-08 at 23:09 -0500, Jerry Benton wrote: > Thanks again to Shawn Iverson for putting together another release. > > https://www.mailscanner.info/downloads/ > > > -- > Jerry Benton > www.mailborder.com > +1 (843) 800-8605 > +44 (020) 3883-8605 > > > From efernandez at zimbra.soltecsis.com Tue Feb 13 12:21:34 2018 From: efernandez at zimbra.soltecsis.com (SOLTECSIS - Enrique =?utf-8?Q?Fern=C3=A1ndez?= Porto) Date: Tue, 13 Feb 2018 13:21:34 +0100 (CET) Subject: Virus attachments not replaced with warning text Message-ID: <209714387.1181786.1518524494801.JavaMail.zimbra@zimbra.soltecsis.com> Hi. MailScanner do not advice the recipient that a virus was found, can anyone help me? When I activate the option "Still Deliver Silent Viruses = yes", replace subject [Virus Found] and attached virus. MailScanner Version: 5.0.3-7 My config: [...] Virus Scanning = yes Virus Scanners = auto Virus Scanner Timeout = 300 Deliver Disinfected Files = no Silent Viruses = HTML-IFrame All-Viruses Still Deliver Silent Viruses = no Non-Forging Viruses = Joke/ OF97/ WM97/ W97M/ eicar Spam-Virus Header = X-%org-name%-MailScanner-SpamVirus-Report: Virus Names Which Are Spam = Sane*UNOFFICIAL HTML/* *Phish* Block Encrypted Messages = no Block Unencrypted Messages = no Allow Password-Protected Archives = no Check Filenames In Password-Protected Archives = yes Allow Filenames = %rules-dir%/allow.filenames.rules Deny Filenames = %rules-dir%/deny.filenames.rules Virus Scanning = %rules-dir%/virus_scanning.rules Quarantine Infections = no Mark Infected Messages = yes Include Scanner Name In Reports = no Information Header = Sign Clean Messages = no Mark Unscanned Messages = no Notify Senders = no Virus Subject Text = [Virus Found] Filename Modify Subject = no Content Modify Subject = no Size Modify Subject = no Disarmed Modify Subject = no Log Spam = yes Log Silent Viruses = yes Log Dangerous HTML Tags = yes Always Looked Up Last = &MailWatchLogging Detailed Spam Report = yes Include Scores In SpamAssassin Report = yes Always Include SpamAssassin Report = yes ... [...] Thanks in advance. ======================================== SOLTECSIS SOLUCIONES TECNOLOGICAS, S.L. Enrique Fern?ndez Departamento de I+D+I Tel./Fax: 966 446 046 efernandez at soltecsis.com www.soltecsis.com ======================================== --- La informaci?n contenida en este e-mail es confidencial, siendo para uso exclusivo del destinatario arriba mencionado. Le informamos que est? totalmente prohibida cualquier utilizaci?n, divulgaci?n, distribuci?n y/o reproducci?n de esta comunicaci?n sin autorizaci?n expresa en virtud de la legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos nos lo notifique inmediatamente por la misma v?a y proceda a su eliminaci?n. --- From Eoin.Kim at rcst.com.au Thu Feb 15 01:44:03 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Thu, 15 Feb 2018 01:44:03 +0000 Subject: [Question] Remove These Headers and Outlook conversation view Message-ID: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> Hi all, I have a question about removing headers in MailScanner. Yesterday, our staff member received an email with attachment stripped so I released the message from quarantine. However, it was not delivered with DUPLICATEDELIVER code in Exchange server. I did a quick search and it's possible to set Remove These Headers configuration. My senior person is not sure with this though. My question is: does removing Message-ID header will make receiver's Outlook conversation view impossible? My senior person says Message-ID might be used for conversation view. I am not really familiar with Windows servers so I am not sure what the background mechanism is in Exchange server. I understand that setting define('QUARANTINE_USE_SENDMAIL', false); in MailWatch will release the quarantined message with no problems. However, receiver will have a message file instead of content shown directly on their Outlook which I want to avoid if possible. I'd really appreciate it if someone could explain this. Thanks very much. Eoin Kim Systems Administrator RCS Telecommunications Level 1 - The Annexe, 133 Mary Street Brisbane, QLD, 4000, Australia Office: 07 3228 0843 Mobile: 0419 726 231 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Thu Feb 15 07:59:46 2018 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 14 Feb 2018 23:59:46 -0800 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> Message-ID: On 02/14/2018 05:44 PM, Eoin Kim wrote: > > My question is: does removing Message-ID header will make receiver?s > Outlook conversation view impossible? My senior person says Message-ID > might be used for conversation view. I am not really familiar with > Windows servers so I am not sure what the background mechanism is in > Exchange server. The short answer is removing or altering Message-ID: headers will almost certainly cause more problems than it solves. I can't speak to Outlook in particular, but almost all mail agents rely on Message-ID:, References: and In-Reply-To: for threading or "conversation" view. Also, RFC 5322 and predecessors say all messages SHOULD have a Message-ID:, and while I can't speak specifically about Exchange, it is possible that Exchange would not deliver a message without one. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Eoin.Kim at rcst.com.au Thu Feb 15 08:31:58 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Thu, 15 Feb 2018 08:31:58 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au>, Message-ID: Hi Mark, Thanks for your reply. So, if MailWatch is configured to release quarantined emails as original and MailScanner is configured to remove Message-ID: header, no Message-ID: is generated during the release? Like the RFC 5322 says, if all messages should have Message-ID: header, shouldn't MTA generate a new Message-ID: by itself when releasing messages? Also, I am not sure whether Message-ID: header should be always unique or not. If it should be unique, then how Exchange server can group related messages in a conversation view in user's Outlook? Ah... This looks way more complicated than I expected. Thanks again. Eoin ________________________________________ From: MailScanner on behalf of Mark Sapiro Sent: Thursday, 15 February 2018 5:59 PM To: mailscanner at lists.mailscanner.info Subject: Re: [Question] Remove These Headers and Outlook conversation view On 02/14/2018 05:44 PM, Eoin Kim wrote: > > My question is: does removing Message-ID header will make receiver?s > Outlook conversation view impossible? My senior person says Message-ID > might be used for conversation view. I am not really familiar with > Windows servers so I am not sure what the background mechanism is in > Exchange server. The short answer is removing or altering Message-ID: headers will almost certainly cause more problems than it solves. I can't speak to Outlook in particular, but almost all mail agents rely on Message-ID:, References: and In-Reply-To: for threading or "conversation" view. Also, RFC 5322 and predecessors say all messages SHOULD have a Message-ID:, and while I can't speak specifically about Exchange, it is possible that Exchange would not deliver a message without one. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner From iversons at rushville.k12.in.us Thu Feb 15 11:45:38 2018 From: iversons at rushville.k12.in.us (Shawn Iverson) Date: Thu, 15 Feb 2018 06:45:38 -0500 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> Message-ID: The problem you are having is expected. When MailWatch releases from quarantine using sendmail, it is literally feeding the entire message + header as-is into the MTA queue. The MTA isn't going to generate a new message id. It is not being reconstructed when released in this fashion. On Thu, Feb 15, 2018 at 3:31 AM, Eoin Kim wrote: > Hi Mark, > > Thanks for your reply. > > So, if MailWatch is configured to release quarantined emails as original > and MailScanner is configured to remove Message-ID: header, no Message-ID: > is generated during the release? Like the RFC 5322 says, if all messages > should have Message-ID: header, shouldn't MTA generate a new Message-ID: by > itself when releasing messages? Also, I am not sure whether Message-ID: > header should be always unique or not. If it should be unique, then how > Exchange server can group related messages in a conversation view in user's > Outlook? > > Ah... This looks way more complicated than I expected. Thanks again. > > Eoin > > ________________________________________ > From: MailScanner rcst.com.au at lists.mailscanner.info> on behalf of Mark Sapiro < > mark at msapiro.net> > Sent: Thursday, 15 February 2018 5:59 PM > To: mailscanner at lists.mailscanner.info > Subject: Re: [Question] Remove These Headers and Outlook conversation view > > On 02/14/2018 05:44 PM, Eoin Kim wrote: > > > > My question is: does removing Message-ID header will make receiver?s > > Outlook conversation view impossible? My senior person says Message-ID > > might be used for conversation view. I am not really familiar with > > Windows servers so I am not sure what the background mechanism is in > > Exchange server. > > > The short answer is removing or altering Message-ID: headers will almost > certainly cause more problems than it solves. > > I can't speak to Outlook in particular, but almost all mail agents rely > on Message-ID:, References: and In-Reply-To: for threading or > "conversation" view. > > Also, RFC 5322 and predecessors say all messages SHOULD have a > Message-ID:, and while I can't speak specifically about Exchange, it is > possible that Exchange would not deliver a message without one. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > -- Shawn Iverson, CETL Director of Technology Rush County Schools 765-932-3901 x1171 iversons at rushville.k12.in.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Thu Feb 15 17:21:38 2018 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 15 Feb 2018 09:21:38 -0800 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> Message-ID: On 02/15/2018 03:45 AM, Shawn Iverson wrote: > The problem you are having is expected.? When MailWatch releases from > quarantine using sendmail, it is literally feeding the entire message + > header as-is into the MTA queue.? The MTA isn't going to generate a new > message id.? It is not being reconstructed when released in this fashion. Correct. The quarantined message is the original before MailScanner made any modifications. But even if this were not the case and the MTA did generate a new Message-ID:, threading (i.e., conversation view) in the recipient's client will still be broken because other messages in the conversation from people who did not receive the message in this way will reference the original Message-ID:. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Eoin.Kim at rcst.com.au Thu Feb 15 21:08:40 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Thu, 15 Feb 2018 21:08:40 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> Message-ID: Thanks guys, Much appreciate it. Is this DUPLICATEDELIVER situation happening only in Exchange server or Linux mail services will do the same? Eoin -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Mark Sapiro Sent: Friday, 16 February 2018 3:22 AM To: mailscanner at lists.mailscanner.info Subject: Re: [Question] Remove These Headers and Outlook conversation view On 02/15/2018 03:45 AM, Shawn Iverson wrote: > The problem you are having is expected.? When MailWatch releases from > quarantine using sendmail, it is literally feeding the entire message + > header as-is into the MTA queue.? The MTA isn't going to generate a new > message id.? It is not being reconstructed when released in this fashion. Correct. The quarantined message is the original before MailScanner made any modifications. But even if this were not the case and the MTA did generate a new Message-ID:, threading (i.e., conversation view) in the recipient's client will still be broken because other messages in the conversation from people who did not receive the message in this way will reference the original Message-ID:. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner From mark at msapiro.net Thu Feb 15 22:37:13 2018 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 15 Feb 2018 14:37:13 -0800 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> Message-ID: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> On 02/15/2018 01:08 PM, Eoin Kim wrote: > > Much appreciate it. Is this DUPLICATEDELIVER situation happening only in Exchange server or Linux mail services will do the same? Most MUAs and MDAs will accept multiple messages with the same Message-ID:. One big exception is gmail/googlemail. In that case the message is accepted by the incoming MTA, but if the Message-ID: matches one already in the recipient's "All Mail", the new message will be discarded without any notice. See and some of the Google links therefrom for more on this. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Eoin.Kim at rcst.com.au Thu Feb 15 22:46:07 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Thu, 15 Feb 2018 22:46:07 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> Message-ID: Okay, Thanks. I guess there's nothing I can do about it at this point. Thanks again. Eoin -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Mark Sapiro Sent: Friday, 16 February 2018 8:37 AM To: mailscanner at lists.mailscanner.info Subject: Re: [Question] Remove These Headers and Outlook conversation view On 02/15/2018 01:08 PM, Eoin Kim wrote: > > Much appreciate it. Is this DUPLICATEDELIVER situation happening only in Exchange server or Linux mail services will do the same? Most MUAs and MDAs will accept multiple messages with the same Message-ID:. One big exception is gmail/googlemail. In that case the message is accepted by the incoming MTA, but if the Message-ID: matches one already in the recipient's "All Mail", the new message will be discarded without any notice. See and some of the Google links therefrom for more on this. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner From wcolburn at nrao.edu Thu Feb 15 23:05:24 2018 From: wcolburn at nrao.edu (William D. Colburn) Date: Thu, 15 Feb 2018 16:05:24 -0700 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> Message-ID: <20180215230524.GA11648@zia.aoc.nrao.edu> On Thu, Feb 15, 2018 at 10:46:07PM +0000, Eoin Kim wrote: >Thanks. I guess there's nothing I can do about it at this point. Thanks again. We have a wrapper script for releasing quarantined mail, and it does this just for Exchange: sed -i -e "/^H??Message-ID: /s/\(Message-ID: .*\)@\(.*\)/\1-$$@\2/" qf${messageid} --Schlake From Eoin.Kim at rcst.com.au Thu Feb 15 23:09:14 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Thu, 15 Feb 2018 23:09:14 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: <20180215230524.GA11648@zia.aoc.nrao.edu> References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> Message-ID: <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> Hi, Thanks for your message. So, where does it have to sit on? Thanks again. Eoin -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of William D. Colburn Sent: Friday, 16 February 2018 9:05 AM To: MailScanner Discussion Subject: Re: [Question] Remove These Headers and Outlook conversation view On Thu, Feb 15, 2018 at 10:46:07PM +0000, Eoin Kim wrote: >Thanks. I guess there's nothing I can do about it at this point. Thanks again. We have a wrapper script for releasing quarantined mail, and it does this just for Exchange: sed -i -e "/^H??Message-ID: /s/\(Message-ID: .*\)@\(.*\)/\1-$$@\2/" qf${messageid} --Schlake -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner From wcolburn at nrao.edu Thu Feb 15 23:15:41 2018 From: wcolburn at nrao.edu (William D. Colburn) Date: Thu, 15 Feb 2018 16:15:41 -0700 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> Message-ID: <20180215231541.GA11727@zia.aoc.nrao.edu> On Thu, Feb 15, 2018 at 11:09:14PM +0000, Eoin Kim wrote: >Thanks for your message. So, where does it have to sit on? Thanks again. That depends on how you release mail. Ours operates on the quarantine directory to rewrite the one line of the message id header in the sendmail qf file before it passes it on to sendmail for delivery. --Schlake From Eoin.Kim at rcst.com.au Thu Feb 15 23:21:35 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Thu, 15 Feb 2018 23:21:35 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: <20180215231541.GA11727@zia.aoc.nrao.edu> References: <8b5193c5b737425f813688a7b98f95da@rcst.com.au> <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> Message-ID: Hi, So, if I want to release the message as original in MailWatch, where do I have to input that one liner? Also, what does that one liner do actually? I am not 100% confident with REGEX, sorry. Eoin -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of William D. Colburn Sent: Friday, 16 February 2018 9:16 AM To: MailScanner Discussion Subject: Re: [Question] Remove These Headers and Outlook conversation view On Thu, Feb 15, 2018 at 11:09:14PM +0000, Eoin Kim wrote: >Thanks for your message. So, where does it have to sit on? Thanks again. That depends on how you release mail. Ours operates on the quarantine directory to rewrite the one line of the message id header in the sendmail qf file before it passes it on to sendmail for delivery. --Schlake -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner From wcolburn at nrao.edu Thu Feb 15 23:33:55 2018 From: wcolburn at nrao.edu (William D. Colburn) Date: Thu, 15 Feb 2018 16:33:55 -0700 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> Message-ID: <20180215233355.GA12600@zia.aoc.nrao.edu> On Thu, Feb 15, 2018 at 11:21:35PM +0000, Eoin Kim wrote: >So, if I want to release the message as original in MailWatch, where do I have to input that one liner? Also, what does that one liner do actually? I am not 100% confident with REGEX, sorry. That I don't know, I've never used MailWatch. We have a wrapper script of our own that does quarantine releases for us. Assuming you are willing to get your feet a little dirty, it is easy to fix the message id. The sed command itself (sed, not ed, I think I mis-cut-and-paste it earlier) transforms the message id by taking the part before the @ sign and appending - and the pid of the wrapper script to it before reassembling the message id. So the results look like this: H??Message-ID: becomes H??Message-ID: But again, we use our own special wrapper script to the release. Not MailWatch. --Schlake From Eoin.Kim at rcst.com.au Thu Feb 15 23:38:14 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Thu, 15 Feb 2018 23:38:14 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: <20180215233355.GA12600@zia.aoc.nrao.edu> References: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> <20180215233355.GA12600@zia.aoc.nrao.edu> Message-ID: <3252521dc0cd4b7d81bb3e13bb0906b1@rcst.com.au> Thanks very much. So, I guess it's time to get my feet dirty. Cheers. Eoin -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of William D. Colburn Sent: Friday, 16 February 2018 9:34 AM To: MailScanner Discussion Subject: Re: [Question] Remove These Headers and Outlook conversation view On Thu, Feb 15, 2018 at 11:21:35PM +0000, Eoin Kim wrote: >So, if I want to release the message as original in MailWatch, where do I have to input that one liner? Also, what does that one liner do actually? I am not 100% confident with REGEX, sorry. That I don't know, I've never used MailWatch. We have a wrapper script of our own that does quarantine releases for us. Assuming you are willing to get your feet a little dirty, it is easy to fix the message id. The sed command itself (sed, not ed, I think I mis-cut-and-paste it earlier) transforms the message id by taking the part before the @ sign and appending - and the pid of the wrapper script to it before reassembling the message id. So the results look like this: H??Message-ID: becomes H??Message-ID: But again, we use our own special wrapper script to the release. Not MailWatch. --Schlake -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner From Eoin.Kim at rcst.com.au Thu Feb 15 23:57:40 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Thu, 15 Feb 2018 23:57:40 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: <3252521dc0cd4b7d81bb3e13bb0906b1@rcst.com.au> References: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> <20180215233355.GA12600@zia.aoc.nrao.edu> <3252521dc0cd4b7d81bb3e13bb0906b1@rcst.com.au> Message-ID: Oh, wait. Schlake, after Message-ID is altered, is user's Outlook still fine with conversation view? Because I am not sure which criteria is used for conversation view in Exchange server. Eoin -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Eoin Kim Sent: Friday, 16 February 2018 9:38 AM To: MailScanner Discussion Subject: RE: [Question] Remove These Headers and Outlook conversation view Thanks very much. So, I guess it's time to get my feet dirty. Cheers. Eoin -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of William D. Colburn Sent: Friday, 16 February 2018 9:34 AM To: MailScanner Discussion Subject: Re: [Question] Remove These Headers and Outlook conversation view On Thu, Feb 15, 2018 at 11:21:35PM +0000, Eoin Kim wrote: >So, if I want to release the message as original in MailWatch, where do I have to input that one liner? Also, what does that one liner do actually? I am not 100% confident with REGEX, sorry. That I don't know, I've never used MailWatch. We have a wrapper script of our own that does quarantine releases for us. Assuming you are willing to get your feet a little dirty, it is easy to fix the message id. The sed command itself (sed, not ed, I think I mis-cut-and-paste it earlier) transforms the message id by taking the part before the @ sign and appending - and the pid of the wrapper script to it before reassembling the message id. So the results look like this: H??Message-ID: becomes H??Message-ID: But again, we use our own special wrapper script to the release. Not MailWatch. --Schlake -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner From mark at msapiro.net Fri Feb 16 01:58:02 2018 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 15 Feb 2018 17:58:02 -0800 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> <20180215233355.GA12600@zia.aoc.nrao.edu> <3252521dc0cd4b7d81bb3e13bb0906b1@rcst.com.au> Message-ID: On 02/15/2018 03:57 PM, Eoin Kim wrote: > Oh, wait. > > Schlake, after Message-ID is altered, is user's Outlook still fine with conversation view? Because I am not sure which criteria is used for conversation view in Exchange server. Probably not, but consider the alternatives for the Outlook user. If you don't munge the Message-ID:, she doesn't see the message with attachment. but the "conversation" threading is maintained for the message she did receive and subsequent messages. If you do munge the Message-ID:, she sees both the message with and the message without the attachment and both these messages are in the "conversation" because their References: and In-Reply-To: headers are intact. However subsequent replies to the message are only threaded to the message without the attachment (assuming she doesn't delete it) because they don't reference the munged Message-ID:. Which of those scenarios do you think she'll prefer? Of course all the above depends on how Outlook actually does threading in "conversation" view, and I'm only guessing about that. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Eoin.Kim at rcst.com.au Fri Feb 16 02:40:41 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Fri, 16 Feb 2018 02:40:41 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> <20180215233355.GA12600@zia.aoc.nrao.edu> <3252521dc0cd4b7d81bb3e13bb0906b1@rcst.com.au> Message-ID: Hi Mark, I was thinking for a while after reading your reply. I guess if I tweak the Message-ID: header, 1. There will be two initial points of conversation for receiver - the first email arrived with attachment stripped and the second email released from quarantine (original with attachment but Message-ID: mangled) 2. From that point, depending on which message the receiver replies, one conversation will grow but the other doesn't. Am I following you? I was checking headers of this conversation (yes, this thread) and found that References: is appending something. I'm not sure if it's Message-ID: or In-Reply-To: since they are identical. If the Message-ID: is mangled and References: is actually appending Message-ID:, my imagination sounds sensible to you? Eoin -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Mark Sapiro Sent: Friday, 16 February 2018 11:58 AM To: mailscanner at lists.mailscanner.info Subject: Re: [Question] Remove These Headers and Outlook conversation view On 02/15/2018 03:57 PM, Eoin Kim wrote: > Oh, wait. > > Schlake, after Message-ID is altered, is user's Outlook still fine with conversation view? Because I am not sure which criteria is used for conversation view in Exchange server. Probably not, but consider the alternatives for the Outlook user. If you don't munge the Message-ID:, she doesn't see the message with attachment. but the "conversation" threading is maintained for the message she did receive and subsequent messages. If you do munge the Message-ID:, she sees both the message with and the message without the attachment and both these messages are in the "conversation" because their References: and In-Reply-To: headers are intact. However subsequent replies to the message are only threaded to the message without the attachment (assuming she doesn't delete it) because they don't reference the munged Message-ID:. Which of those scenarios do you think she'll prefer? Of course all the above depends on how Outlook actually does threading in "conversation" view, and I'm only guessing about that. -- Mark Sapiro > The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Fri Feb 16 03:22:14 2018 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 15 Feb 2018 19:22:14 -0800 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> <20180215233355.GA12600@zia.aoc.nrao.edu> <3252521dc0cd4b7d81bb3e13bb0906b1@rcst.com.au> Message-ID: On 02/15/2018 06:40 PM, Eoin Kim wrote: > Hi Mark, > > ? > > I was thinking for a while after reading your reply. I guess if I tweak > the Message-ID: header, > > 1. There will be two initial points of conversation for receiver - the > first email arrived with attachment stripped and the second email > released from quarantine (original with attachment but Message-ID: > mangled) > 2. From that point, depending on which message the receiver replies, > one conversation will grow but the other doesn?t. Actually, I didn't consider the Outlook user's replies. As far as the Outlook user herself is concerned, her reply in the conversation will be threaded appropriately. If she replies to the message with the munged Message-ID: that reply will be In-Reply-To: the munged Message-ID: which is unknown to all the other recipients so if only In-Reply-To: is considered by them, it will look like a new thread (conversation). However, there will also normally be a References: header in the reply which lists all the Message-IDs in the thread and if that is used by recipients for threading, their threads will be missing the one message, but will probably be OK. Note that when one replies to a message, what should happen is the Message-ID: of the message being replied to is placed in In-Reply-To: of the reply and is appended to the list of Message-IDs in References: of the message being replied to and that new list is placed in References: of the reply. I.e. In-Reply-To: of a reply contains the immediately prior Message-ID: and References: contains the whole chain of Message-IDs. Note that your message to which this is a reply contained In-Reply-To: which is the Message-ID: of my message to which you replied, and References: <81775d5a-cad9-ee1f-5060-6341d791519f at msapiro.net> <20180215230524.GA11648 at zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0 at rcst.com.au> <20180215231541.GA11727 at zia.aoc.nrao.edu> <20180215233355.GA12600 at zia.aoc.nrao.edu> <3252521dc0cd4b7d81bb3e13bb0906b1 at rcst.com.au> which again is my message plus the 13 messages which preceded it in the thread. Of course, all this is dependent on the replying MUA doing the right thing. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Eoin.Kim at rcst.com.au Fri Feb 16 06:34:13 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Fri, 16 Feb 2018 06:34:13 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> <20180215233355.GA12600@zia.aoc.nrao.edu> <3252521dc0cd4b7d81bb3e13bb0906b1@rcst.com.au> Message-ID: <9e8b1c2c55644a7abdf6ca30f53e1d6a@rcst.com.au> Thanks Mark, Let me do some reading during the weekend and see if I can find something. Cheers. Eoin -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Mark Sapiro Sent: Friday, 16 February 2018 1:22 PM To: mailscanner at lists.mailscanner.info Subject: Re: [Question] Remove These Headers and Outlook conversation view On 02/15/2018 06:40 PM, Eoin Kim wrote: > Hi Mark, > > ? > > I was thinking for a while after reading your reply. I guess if I tweak > the Message-ID: header, > > 1. There will be two initial points of conversation for receiver - the > first email arrived with attachment stripped and the second email > released from quarantine (original with attachment but Message-ID: > mangled) > 2. From that point, depending on which message the receiver replies, > one conversation will grow but the other doesn?t. Actually, I didn't consider the Outlook user's replies. As far as the Outlook user herself is concerned, her reply in the conversation will be threaded appropriately. If she replies to the message with the munged Message-ID: that reply will be In-Reply-To: the munged Message-ID: which is unknown to all the other recipients so if only In-Reply-To: is considered by them, it will look like a new thread (conversation). However, there will also normally be a References: header in the reply which lists all the Message-IDs in the thread and if that is used by recipients for threading, their threads will be missing the one message, but will probably be OK. Note that when one replies to a message, what should happen is the Message-ID: of the message being replied to is placed in In-Reply-To: of the reply and is appended to the list of Message-IDs in References: of the message being replied to and that new list is placed in References: of the reply. I.e. In-Reply-To: of a reply contains the immediately prior Message-ID: and References: contains the whole chain of Message-IDs. Note that your message to which this is a reply contained In-Reply-To: which is the Message-ID: of my message to which you replied, and References: <81775d5a-cad9-ee1f-5060-6341d791519f at msapiro.net> <20180215230524.GA11648 at zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0 at rcst.com.au> <20180215231541.GA11727 at zia.aoc.nrao.edu> <20180215233355.GA12600 at zia.aoc.nrao.edu> <3252521dc0cd4b7d81bb3e13bb0906b1 at rcst.com.au> which again is my message plus the 13 messages which preceded it in the thread. Of course, all this is dependent on the replying MUA doing the right thing. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner From wcolburn at nrao.edu Fri Feb 16 15:09:50 2018 From: wcolburn at nrao.edu (William D. Colburn) Date: Fri, 16 Feb 2018 08:09:50 -0700 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: References: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> <20180215233355.GA12600@zia.aoc.nrao.edu> <3252521dc0cd4b7d81bb3e13bb0906b1@rcst.com.au> Message-ID: <20180216150950.GA9867@zia.aoc.nrao.edu> On Thu, Feb 15, 2018 at 11:57:40PM +0000, Eoin Kim wrote: >Schlake, after Message-ID is altered, is user's Outlook still fine with conversation view? Because I am not sure which criteria is used for conversation view in Exchange server. I would assume not. But that has never come up here. It is always outside email that fails on the first attempt. >Eoin > >-----Original Message----- >From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Eoin Kim >Sent: Friday, 16 February 2018 9:38 AM >To: MailScanner Discussion >Subject: RE: [Question] Remove These Headers and Outlook conversation view > >Thanks very much. > >So, I guess it's time to get my feet dirty. Cheers. > >Eoin > >-----Original Message----- >From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of William D. Colburn >Sent: Friday, 16 February 2018 9:34 AM >To: MailScanner Discussion >Subject: Re: [Question] Remove These Headers and Outlook conversation view > >On Thu, Feb 15, 2018 at 11:21:35PM +0000, Eoin Kim wrote: >>So, if I want to release the message as original in MailWatch, where do I have to input that one liner? Also, what does that one liner do actually? I am not 100% confident with REGEX, sorry. > >That I don't know, I've never used MailWatch. We have a wrapper script >of our own that does quarantine releases for us. Assuming you are >willing to get your feet a little dirty, it is easy to fix the message >id. > >The sed command itself (sed, not ed, I think I mis-cut-and-paste it earlier) >transforms the message id by taking the part before the @ sign and >appending - and the pid of the wrapper script to it before reassembling the >message id. > >So the results look like this: > >H??Message-ID: >becomes >H??Message-ID: > >But again, we use our own special wrapper script to the release. Not MailWatch. > >--Schlake > > >-- >MailScanner mailing list >mailscanner at lists.mailscanner.info >http://lists.mailscanner.info/mailman/listinfo/mailscanner > > > >-- >MailScanner mailing list >mailscanner at lists.mailscanner.info >http://lists.mailscanner.info/mailman/listinfo/mailscanner > > > >-- >MailScanner mailing list >mailscanner at lists.mailscanner.info >http://lists.mailscanner.info/mailman/listinfo/mailscanner --Schlake From Eoin.Kim at rcst.com.au Sat Feb 17 01:08:27 2018 From: Eoin.Kim at rcst.com.au (Eoin Kim) Date: Sat, 17 Feb 2018 01:08:27 +0000 Subject: [Question] Remove These Headers and Outlook conversation view In-Reply-To: <20180216150950.GA9867@zia.aoc.nrao.edu> References: <81775d5a-cad9-ee1f-5060-6341d791519f@msapiro.net> <20180215230524.GA11648@zia.aoc.nrao.edu> <38c58854643e49c1a0ea0dbf901ea1b0@rcst.com.au> <20180215231541.GA11727@zia.aoc.nrao.edu> <20180215233355.GA12600@zia.aoc.nrao.edu> <3252521dc0cd4b7d81bb3e13bb0906b1@rcst.com.au> , <20180216150950.GA9867@zia.aoc.nrao.edu> Message-ID: <811aaf6d344041b48ad0ff182165ab86@rcst.com.au> Hi Schlake, Yes, I believe the situation is happening when emails are coming from outside into company as the rules can be set as so. And I believe the conversation will be discontinued meaning that a new conversation can be started whenever filtering happens. Am I correct? If that's the case, I believe I might need to dig into scripts. Cheers. Eoin ________________________________________ From: MailScanner on behalf of William D. Colburn Sent: Saturday, 17 February 2018 1:09 AM To: MailScanner Discussion Subject: Re: [Question] Remove These Headers and Outlook conversation view On Thu, Feb 15, 2018 at 11:57:40PM +0000, Eoin Kim wrote: >Schlake, after Message-ID is altered, is user's Outlook still fine with conversation view? Because I am not sure which criteria is used for conversation view in Exchange server. I would assume not. But that has never come up here. It is always outside email that fails on the first attempt. >Eoin > >-----Original Message----- >From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Eoin Kim >Sent: Friday, 16 February 2018 9:38 AM >To: MailScanner Discussion >Subject: RE: [Question] Remove These Headers and Outlook conversation view > >Thanks very much. > >So, I guess it's time to get my feet dirty. Cheers. > >Eoin > >-----Original Message----- >From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of William D. Colburn >Sent: Friday, 16 February 2018 9:34 AM >To: MailScanner Discussion >Subject: Re: [Question] Remove These Headers and Outlook conversation view > >On Thu, Feb 15, 2018 at 11:21:35PM +0000, Eoin Kim wrote: >>So, if I want to release the message as original in MailWatch, where do I have to input that one liner? Also, what does that one liner do actually? I am not 100% confident with REGEX, sorry. > >That I don't know, I've never used MailWatch. We have a wrapper script >of our own that does quarantine releases for us. Assuming you are >willing to get your feet a little dirty, it is easy to fix the message >id. > >The sed command itself (sed, not ed, I think I mis-cut-and-paste it earlier) >transforms the message id by taking the part before the @ sign and >appending - and the pid of the wrapper script to it before reassembling the >message id. > >So the results look like this: > >H??Message-ID: >becomes >H??Message-ID: > >But again, we use our own special wrapper script to the release. Not MailWatch. > >--Schlake > > >-- >MailScanner mailing list >mailscanner at lists.mailscanner.info >http://lists.mailscanner.info/mailman/listinfo/mailscanner > > > >-- >MailScanner mailing list >mailscanner at lists.mailscanner.info >http://lists.mailscanner.info/mailman/listinfo/mailscanner > > > >-- >MailScanner mailing list >mailscanner at lists.mailscanner.info >http://lists.mailscanner.info/mailman/listinfo/mailscanner --Schlake -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner From mabboud123 at gmail.com Sat Feb 17 09:21:02 2018 From: mabboud123 at gmail.com (Michael Abboud) Date: Sat, 17 Feb 2018 20:21:02 +1100 Subject: MailScanner 5.0.7-2 In-Reply-To: References: Message-ID: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> Hi List, My first post, so please forgive any obvious blunders... I downloaded *MailScanner-5.0.7-2.deb.tar*, extracted and ran: *./install.sh --update* ...on my: Distributor ID: Ubuntu Description:??? Ubuntu 16.04.3 LTS Release:??????? 16.04 Codename:?????? xenial ...server. The *./install --update *command worked up until the last part of the script which attempts to install the .deb package. The install log says: . . . Installing the MailScanner .deb package ... (Reading database ... 261497 files and directories currently installed.) Preparing to unpack .../MailScanner-5.0.7-2-noarch.deb ... cp: cannot stat '/etc/MailScanner/CustomFunctions/*': No such file or directory dpkg: error processing archive /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb (--install): ?subprocess new pre-installation script returned error exit status 1 initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused insserv: warning: script 'screen-cleanup' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `screen-cleanup' insserv: Default-Stop? undefined, assuming empty stop runlevel(s) for script `screen-cleanup' Errors were encountered while processing: ?/home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb I'm wondering if the *.deb* package is somehow corrupt? I also tried Mark's approach using the *Build.deb* script but I couldn't get the build to succeed on my Ubuntu server. Any thoughts for a newbie? Best regards, Michael On 9/2/18 2:46 pm, Jerry Benton wrote: > Sorry. Working on it now. > > On Thu, Feb 8, 2018 at 9:16 PM, Mark Sapiro > wrote: > > I notice 5.0.7-2 is not yet available at > >. > > FWIW, I built the Debian package from a clone of > > using the Build.debian script and > installed it on two different Ubuntu 16.04 systems via > > ./install.sh --update > > and had no problems. > > -- > Mark Sapiro > The > highway is for gamblers, > San Francisco Bay Area, California? ? better use your sense - B. Dylan > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > > > > > -- > > -- > Jerry Benton > Mailborder Systems > www.mailborder.com > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerry.benton at mailborder.com Sat Feb 17 15:12:31 2018 From: jerry.benton at mailborder.com (Jerry Benton) Date: Sat, 17 Feb 2018 10:12:31 -0500 Subject: MailScanner 5.0.7-2 In-Reply-To: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> References: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> Message-ID: <13e001d3a801$bb557550$32005ff0$@mailborder.com> Did you run this installer as the root user? On Ubuntu, after you log in: sudo -i Then install. -- Jerry Benton www.mailborder.com +1 (843) 800-8605 +44 (020) 3883-8605 From: MailScanner [mailto:mailscanner-bounces+jerry.benton=mailborder.com at lists.mailscanner.info] On Behalf Of Michael Abboud Sent: Saturday, February 17, 2018 04:21 To: mailscanner at lists.mailscanner.info Subject: Re: MailScanner 5.0.7-2 Hi List, My first post, so please forgive any obvious blunders... I downloaded MailScanner-5.0.7-2.deb.tar, extracted and ran: ./install.sh --update ...on my: Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial ...server. The ./install --update command worked up until the last part of the script which attempts to install the .deb package. The install log says: . . . Installing the MailScanner .deb package ... (Reading database ... 261497 files and directories currently installed.) Preparing to unpack .../MailScanner-5.0.7-2-noarch.deb ... cp: cannot stat '/etc/MailScanner/CustomFunctions/*': No such file or directory dpkg: error processing archive /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb (--install): subprocess new pre-installation script returned error exit status 1 initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused insserv: warning: script 'screen-cleanup' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `screen-cleanup' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `screen-cleanup' Errors were encountered while processing: /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb I'm wondering if the .deb package is somehow corrupt? I also tried Mark's approach using the Build.deb script but I couldn't get the build to succeed on my Ubuntu server. Any thoughts for a newbie? Best regards, Michael On 9/2/18 2:46 pm, Jerry Benton wrote: Sorry. Working on it now. On Thu, Feb 8, 2018 at 9:16 PM, Mark Sapiro > wrote: I notice 5.0.7-2 is not yet available at . FWIW, I built the Debian package from a clone of using the Build.debian script and installed it on two different Ubuntu 16.04 systems via ./install.sh --update and had no problems. -- Mark Sapiro > The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner -- -- Jerry Benton Mailborder Systems www.mailborder.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5530 bytes Desc: not available URL: From mark at msapiro.net Sat Feb 17 18:54:16 2018 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 17 Feb 2018 10:54:16 -0800 Subject: MailScanner 5.0.7-2 In-Reply-To: <13e001d3a801$bb557550$32005ff0$@mailborder.com> References: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> <13e001d3a801$bb557550$32005ff0$@mailborder.com> Message-ID: On 02/17/2018 07:12 AM, Jerry Benton wrote: > Did you run this installer as the root user? On Ubuntu, after you log in: > > sudo -i > > Then install. That probably isn't the reason as install.sh won't run if not invoked by root. > *From:*MailScanner > [mailto:mailscanner-bounces+jerry.benton=mailborder.com at lists.mailscanner.info] > *On Behalf Of *Michael Abboud > *Sent:* Saturday, February 17, 2018 04:21 > *To:* mailscanner at lists.mailscanner.info > *Subject:* Re: MailScanner 5.0.7-2 > ... > The *./install --update *command worked up until the last part of the > script which attempts to install the .deb package. > > The install log says: > . > . > . > Installing the MailScanner .deb package ... > (Reading database ... 261497 files and directories currently installed.) > Preparing to unpack .../MailScanner-5.0.7-2-noarch.deb ... > cp: cannot stat '/etc/MailScanner/CustomFunctions/*': No such file or > directory > dpkg: error processing archive > /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb > (--install): > ?subprocess new pre-installation script returned error exit status 1 That comes from the pre-installation script. The offending path is in the following which is trying to make a backup of /etc/MailScanner/CustomFunctions if it exists. if [ -d '/etc/MailScanner/CustomFunctions' ]; then mkdir -p ${SAVEDIR}/etc/MailScanner/CustomFunctions cp -f /etc/MailScanner/CustomFunctions/* ${SAVEDIR}/etc/MailScanner/CustomFunctions rm -rf /etc/MailScanner/CustomFunctions fi I think the reason must be that you have a /etc/MailScanner/CustomFunctions/ directory so [ -d '/etc/MailScanner/CustomFunctions' ] is True, but it is empty so there is no /etc/MailScanner/CustomFunctions/* file. If that is the case, just 'rmdir /etc/MailScanner/CustomFunctions' and you should be OK. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jerry.benton at mailborder.com Sat Feb 17 19:11:41 2018 From: jerry.benton at mailborder.com (Jerry Benton) Date: Sat, 17 Feb 2018 19:11:41 +0000 Subject: MailScanner 5.0.7-2 In-Reply-To: References: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> <13e001d3a801$bb557550$32005ff0$@mailborder.com>, Message-ID: True -- Jerry Benton www.mailborder.com - via mobile ________________________________ From: MailScanner on behalf of Mark Sapiro Sent: Saturday, February 17, 2018 1:54:16 PM To: mailscanner at lists.mailscanner.info Subject: Re: MailScanner 5.0.7-2 On 02/17/2018 07:12 AM, Jerry Benton wrote: > Did you run this installer as the root user? On Ubuntu, after you log in: > > sudo -i > > Then install. That probably isn't the reason as install.sh won't run if not invoked by root. > *From:*MailScanner > [mailto:mailscanner-bounces+jerry.benton=mailborder.com at lists.mailscanner.info] > *On Behalf Of *Michael Abboud > *Sent:* Saturday, February 17, 2018 04:21 > *To:* mailscanner at lists.mailscanner.info > *Subject:* Re: MailScanner 5.0.7-2 > ... > The *./install --update *command worked up until the last part of the > script which attempts to install the .deb package. > > The install log says: > . > . > . > Installing the MailScanner .deb package ... > (Reading database ... 261497 files and directories currently installed.) > Preparing to unpack .../MailScanner-5.0.7-2-noarch.deb ... > cp: cannot stat '/etc/MailScanner/CustomFunctions/*': No such file or > directory > dpkg: error processing archive > /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb > (--install): > subprocess new pre-installation script returned error exit status 1 That comes from the pre-installation script. The offending path is in the following which is trying to make a backup of /etc/MailScanner/CustomFunctions if it exists. if [ -d '/etc/MailScanner/CustomFunctions' ]; then mkdir -p ${SAVEDIR}/etc/MailScanner/CustomFunctions cp -f /etc/MailScanner/CustomFunctions/* ${SAVEDIR}/etc/MailScanner/CustomFunctions rm -rf /etc/MailScanner/CustomFunctions fi I think the reason must be that you have a /etc/MailScanner/CustomFunctions/ directory so [ -d '/etc/MailScanner/CustomFunctions' ] is True, but it is empty so there is no /etc/MailScanner/CustomFunctions/* file. If that is the case, just 'rmdir /etc/MailScanner/CustomFunctions' and you should be OK. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -- MailScanner mailing list mailscanner at lists.mailscanner.info http://lists.mailscanner.info/mailman/listinfo/mailscanner -------------- next part -------------- An HTML attachment was scrubbed... URL: From iversons at rushville.k12.in.us Sat Feb 17 19:50:33 2018 From: iversons at rushville.k12.in.us (Shawn Iverson) Date: Sat, 17 Feb 2018 14:50:33 -0500 Subject: MailScanner 5.0.7-2 In-Reply-To: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> References: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> Message-ID: >From which version are you trying to upgrade from? On Sat, Feb 17, 2018 at 4:21 AM, Michael Abboud wrote: > Hi List, > > My first post, so please forgive any obvious blunders... > > I downloaded *MailScanner-5.0.7-2.deb.tar*, extracted and ran: > > *./install.sh --update* > > ...on my: > > Distributor ID: Ubuntu > Description: Ubuntu 16.04.3 LTS > Release: 16.04 > Codename: xenial > > ...server. > > The *./install --update *command worked up until the last part of the > script which attempts to install the .deb package. > > The install log says: > . > . > . > Installing the MailScanner .deb package ... > (Reading database ... 261497 files and directories currently installed.) > Preparing to unpack .../MailScanner-5.0.7-2-noarch.deb ... > cp: cannot stat '/etc/MailScanner/CustomFunctions/*': No such file or > directory > dpkg: error processing archive /home/sysadmin/MailScanner-5. > 0.7-2/MailScanner-5.0.7-2-noarch.deb (--install): > subprocess new pre-installation script returned error exit status 1 > initctl: Unable to connect to Upstart: Failed to connect to socket > /com/ubuntu/upstart: Connection refused > insserv: warning: script 'screen-cleanup' missing LSB tags and overrides > insserv: Default-Start undefined, assuming empty start runlevel(s) for > script `screen-cleanup' > insserv: Default-Stop undefined, assuming empty stop runlevel(s) for > script `screen-cleanup' > Errors were encountered while processing: > /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb > > I'm wondering if the *.deb* package is somehow corrupt? > > I also tried Mark's approach using the *Build.deb* script but I couldn't > get the build to succeed on my Ubuntu server. > > Any thoughts for a newbie? > > Best regards, > Michael > > On 9/2/18 2:46 pm, Jerry Benton wrote: > > Sorry. Working on it now. > > On Thu, Feb 8, 2018 at 9:16 PM, Mark Sapiro wrote: > >> I notice 5.0.7-2 is not yet available at >> . >> >> FWIW, I built the Debian package from a clone of >> using the Build.debian script and >> installed it on two different Ubuntu 16.04 systems via >> >> ./install.sh --update >> >> and had no problems. >> >> -- >> Mark Sapiro The highway is for gamblers, >> San Francisco Bay Area, California better use your sense - B. Dylan >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/mailman/listinfo/mailscanner >> >> > > > -- > > -- > Jerry Benton > Mailborder Systems > www.mailborder.com > > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > > -- Shawn Iverson, CETL Director of Technology Rush County Schools 765-932-3901 x1171 iversons at rushville.k12.in.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From iversons at rushville.k12.in.us Sat Feb 17 20:05:00 2018 From: iversons at rushville.k12.in.us (Shawn Iverson) Date: Sat, 17 Feb 2018 15:05:00 -0500 Subject: MailScanner 5.0.7-2 In-Reply-To: References: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> Message-ID: For the first error, if I were to venture to guess, your /etc/MailScanner/CustomFunctions directory is present but empty. I'm looking at the preinst script, and it appears that the deb package assumes a non-empty directory. Try this please: sudo touch /etc/MailScanner/CustomFunctions/test and run the update again. On Sat, Feb 17, 2018 at 2:50 PM, Shawn Iverson wrote: > From which version are you trying to upgrade from? > > On Sat, Feb 17, 2018 at 4:21 AM, Michael Abboud > wrote: > >> Hi List, >> >> My first post, so please forgive any obvious blunders... >> >> I downloaded *MailScanner-5.0.7-2.deb.tar*, extracted and ran: >> >> *./install.sh --update* >> >> ...on my: >> >> Distributor ID: Ubuntu >> Description: Ubuntu 16.04.3 LTS >> Release: 16.04 >> Codename: xenial >> >> ...server. >> >> The *./install --update *command worked up until the last part of the >> script which attempts to install the .deb package. >> >> The install log says: >> . >> . >> . >> Installing the MailScanner .deb package ... >> (Reading database ... 261497 files and directories currently installed.) >> Preparing to unpack .../MailScanner-5.0.7-2-noarch.deb ... >> cp: cannot stat '/etc/MailScanner/CustomFunctions/*': No such file or >> directory >> dpkg: error processing archive /home/sysadmin/MailScanner-5.0 >> .7-2/MailScanner-5.0.7-2-noarch.deb (--install): >> subprocess new pre-installation script returned error exit status 1 >> initctl: Unable to connect to Upstart: Failed to connect to socket >> /com/ubuntu/upstart: Connection refused >> insserv: warning: script 'screen-cleanup' missing LSB tags and overrides >> insserv: Default-Start undefined, assuming empty start runlevel(s) for >> script `screen-cleanup' >> insserv: Default-Stop undefined, assuming empty stop runlevel(s) for >> script `screen-cleanup' >> Errors were encountered while processing: >> /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb >> >> I'm wondering if the *.deb* package is somehow corrupt? >> >> I also tried Mark's approach using the *Build.deb* script but I couldn't >> get the build to succeed on my Ubuntu server. >> >> Any thoughts for a newbie? >> >> Best regards, >> Michael >> >> On 9/2/18 2:46 pm, Jerry Benton wrote: >> >> Sorry. Working on it now. >> >> On Thu, Feb 8, 2018 at 9:16 PM, Mark Sapiro wrote: >> >>> I notice 5.0.7-2 is not yet available at >>> . >>> >>> FWIW, I built the Debian package from a clone of >>> using the Build.debian script and >>> installed it on two different Ubuntu 16.04 systems via >>> >>> ./install.sh --update >>> >>> and had no problems. >>> >>> -- >>> Mark Sapiro The highway is for gamblers, >>> San Francisco Bay Area, California better use your sense - B. Dylan >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/mailman/listinfo/mailscanner >>> >>> >> >> >> -- >> >> -- >> Jerry Benton >> Mailborder Systems >> www.mailborder.com >> >> >> >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/mailman/listinfo/mailscanner >> >> >> > > > -- > Shawn Iverson, CETL > Director of Technology > Rush County Schools > 765-932-3901 x1171 <(765)%20932-3901> > iversons at rushville.k12.in.us > > > -- Shawn Iverson, CETL Director of Technology Rush County Schools 765-932-3901 x1171 iversons at rushville.k12.in.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From mabboud123 at gmail.com Sat Feb 17 22:32:38 2018 From: mabboud123 at gmail.com (Michael Abboud) Date: Sun, 18 Feb 2018 09:32:38 +1100 Subject: MailScanner 5.0.7-2 In-Reply-To: References: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> Message-ID: <620df425-341a-c2b9-bf3c-35d780d13fc3@gmail.com> Cheers Shawn, that was it... along with: *sudo touch /etc/MailScanner/Custom/test* ...was also needed. Thanks all - I should be able to take it from here! Michael On 18/2/18 7:05 am, Shawn Iverson wrote: > For the first error, if I were to venture to guess, your > /etc/MailScanner/CustomFunctions directory is present but empty.? I'm > looking at the preinst script, and it appears that the deb package > assumes a non-empty directory.? Try this please: > > sudo touch /etc/MailScanner/CustomFunctions/test > > and run the update again. > > On Sat, Feb 17, 2018 at 2:50 PM, Shawn Iverson > > > wrote: > > From which version are you trying to upgrade from? > > On Sat, Feb 17, 2018 at 4:21 AM, Michael Abboud > > wrote: > > Hi List, > > My first post, so please forgive any obvious blunders... > > I downloaded *MailScanner-5.0.7-2.deb.tar*, extracted and ran: > > *./install.sh --update* > > ...on my: > > Distributor ID: Ubuntu > Description:??? Ubuntu 16.04.3 LTS > Release:??????? 16.04 > Codename:?????? xenial > > ...server. > > The *./install --update *command worked up until the last part > of the script which attempts to install the .deb package. > > The install log says: > . > . > . > Installing the MailScanner .deb package ... > (Reading database ... 261497 files and directories currently > installed.) > Preparing to unpack .../MailScanner-5.0.7-2-noarch.deb ... > cp: cannot stat '/etc/MailScanner/CustomFunctions/*': No such > file or directory > dpkg: error processing archive > /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb > (--install): > ?subprocess new pre-installation script returned error exit > status 1 > initctl: Unable to connect to Upstart: Failed to connect to > socket /com/ubuntu/upstart: Connection refused > insserv: warning: script 'screen-cleanup' missing LSB tags and > overrides > insserv: Default-Start undefined, assuming empty start > runlevel(s) for script `screen-cleanup' > insserv: Default-Stop? undefined, assuming empty stop? > runlevel(s) for script `screen-cleanup' > Errors were encountered while processing: > ?/home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb > > I'm wondering if the *.deb* package is somehow corrupt? > > I also tried Mark's approach using the *Build.deb* script but > I couldn't get the build to succeed on my Ubuntu server. > > Any thoughts for a newbie? > > Best regards, > Michael > > On 9/2/18 2:46 pm, Jerry Benton wrote: >> Sorry. Working on it now. >> >> On Thu, Feb 8, 2018 at 9:16 PM, Mark Sapiro > > wrote: >> >> I notice 5.0.7-2 is not yet available at >> > >. >> >> FWIW, I built the Debian package from a clone of >> > > using the >> Build.debian script and >> installed it on two different Ubuntu 16.04 systems via >> >> ./install.sh --update >> >> and had no problems. >> >> -- >> Mark Sapiro > >> ? ? ? The highway is for gamblers, >> San Francisco Bay Area, California better use your sense >> - B. Dylan >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> >> http://lists.mailscanner.info/mailman/listinfo/mailscanner >> >> >> >> >> >> -- >> >> -- >> Jerry Benton >> Mailborder Systems >> www.mailborder.com >> >> > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > > > > > > -- > Shawn Iverson, CETL > Director of Technology > Rush County Schools > 765-932-3901 x1171 > iversons at rushville.k12.in.us > > > > > > -- > Shawn Iverson, CETL > Director of Technology > Rush County Schools > 765-932-3901 x1171 > iversons at rushville.k12.in.us > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From iversons at rushville.k12.in.us Sat Feb 17 22:44:22 2018 From: iversons at rushville.k12.in.us (Shawn Iverson) Date: Sat, 17 Feb 2018 17:44:22 -0500 Subject: MailScanner 5.0.7-2 In-Reply-To: <620df425-341a-c2b9-bf3c-35d780d13fc3@gmail.com> References: <87f92122-9a40-5917-2571-df0fd1181fc9@gmail.com> <620df425-341a-c2b9-bf3c-35d780d13fc3@gmail.com> Message-ID: Thanks for the feedback, I will flag this for a fix. On Sat, Feb 17, 2018 at 5:32 PM, Michael Abboud wrote: > Cheers Shawn, that was it... along with: > > *sudo touch /etc/MailScanner/Custom/test* > > ...was also needed. > > Thanks all - I should be able to take it from here! > Michael > > On 18/2/18 7:05 am, Shawn Iverson wrote: > > For the first error, if I were to venture to guess, your /etc/MailScanner/CustomFunctions > directory is present but empty. I'm looking at the preinst script, and it > appears that the deb package assumes a non-empty directory. Try this > please: > > sudo touch /etc/MailScanner/CustomFunctions/test > > and run the update again. > > On Sat, Feb 17, 2018 at 2:50 PM, Shawn Iverson < > iversons at rushville.k12.in.us> wrote: > >> From which version are you trying to upgrade from? >> >> On Sat, Feb 17, 2018 at 4:21 AM, Michael Abboud >> wrote: >> >>> Hi List, >>> >>> My first post, so please forgive any obvious blunders... >>> >>> I downloaded *MailScanner-5.0.7-2.deb.tar*, extracted and ran: >>> >>> *./install.sh --update* >>> >>> ...on my: >>> >>> Distributor ID: Ubuntu >>> Description: Ubuntu 16.04.3 LTS >>> Release: 16.04 >>> Codename: xenial >>> >>> ...server. >>> >>> The *./install --update *command worked up until the last part of the >>> script which attempts to install the .deb package. >>> >>> The install log says: >>> . >>> . >>> . >>> Installing the MailScanner .deb package ... >>> (Reading database ... 261497 files and directories currently installed.) >>> Preparing to unpack .../MailScanner-5.0.7-2-noarch.deb ... >>> cp: cannot stat '/etc/MailScanner/CustomFunctions/*': No such file or >>> directory >>> dpkg: error processing archive /home/sysadmin/MailScanner-5.0 >>> .7-2/MailScanner-5.0.7-2-noarch.deb (--install): >>> subprocess new pre-installation script returned error exit status 1 >>> initctl: Unable to connect to Upstart: Failed to connect to socket >>> /com/ubuntu/upstart: Connection refused >>> insserv: warning: script 'screen-cleanup' missing LSB tags and overrides >>> insserv: Default-Start undefined, assuming empty start runlevel(s) for >>> script `screen-cleanup' >>> insserv: Default-Stop undefined, assuming empty stop runlevel(s) for >>> script `screen-cleanup' >>> Errors were encountered while processing: >>> /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb >>> >>> I'm wondering if the *.deb* package is somehow corrupt? >>> >>> I also tried Mark's approach using the *Build.deb* script but I >>> couldn't get the build to succeed on my Ubuntu server. >>> >>> Any thoughts for a newbie? >>> >>> Best regards, >>> Michael >>> >>> On 9/2/18 2:46 pm, Jerry Benton wrote: >>> >>> Sorry. Working on it now. >>> >>> On Thu, Feb 8, 2018 at 9:16 PM, Mark Sapiro wrote: >>> >>>> I notice 5.0.7-2 is not yet available at >>>> . >>>> >>>> FWIW, I built the Debian package from a clone of >>>> using the Build.debian script and >>>> installed it on two different Ubuntu 16.04 systems via >>>> >>>> ./install.sh --update >>>> >>>> and had no problems. >>>> >>>> -- >>>> Mark Sapiro The highway is for gamblers, >>>> San Francisco Bay Area, California better use your sense - B. Dylan >>>> >>>> >>>> -- >>>> MailScanner mailing list >>>> mailscanner at lists.mailscanner.info >>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner >>>> >>>> >>> >>> >>> -- >>> >>> -- >>> Jerry Benton >>> Mailborder Systems >>> www.mailborder.com >>> >>> >>> >>> >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/mailman/listinfo/mailscanner >>> >>> >>> >> >> >> -- >> Shawn Iverson, CETL >> Director of Technology >> Rush County Schools >> 765-932-3901 x1171 <%28765%29%20932-3901> >> iversons at rushville.k12.in.us >> >> >> > > > -- > Shawn Iverson, CETL > Director of Technology > Rush County Schools > 765-932-3901 x1171 <(765)%20932-3901> > iversons at rushville.k12.in.us > > > > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/mailman/listinfo/mailscanner > > > -- Shawn Iverson, CETL Director of Technology Rush County Schools 765-932-3901 x1171 iversons at rushville.k12.in.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From pramod at mindspring.co.za Mon Feb 26 08:49:17 2018 From: pramod at mindspring.co.za (Pramod Daya) Date: Mon, 26 Feb 2018 08:49:17 +0000 Subject: spamassassin local.cf rules Message-ID: I've created some custom spamassasssin rules in /etc/mail/spamassassin/local.cf, and I don't think they are being used - I can't see them listed in the output from spamassassin < spam. Am I putting them in the right place, and how do I verify that my rules are being interpreted by spamassassin ? Tnx. -------------- next part -------------- An HTML attachment was scrubbed... URL: