From v.andrews at noc.ac.uk Tue Mar 4 13:24:16 2025 From: v.andrews at noc.ac.uk (Vincent Andrews) Date: Tue, 4 Mar 2025 13:24:16 +0000 Subject: MailScanner 5.5.3 Problem with --lint. Message-ID: Hello, We have installed and configured MailScanner 5.5.3, using parameters from the existing version. Running 'mailscanner -lint' gives: Version number in MailScanner.conf (5.5.3) is correct. ERROR: The "envelope_sender_header" in your spamassassin.conf ERROR: is not correct, it should match X-NOCS-MailScanner-From The parameter from /etc/MailScanner/MailScanner.conf is: %org-name% = NOCS The parameter from /etc/MailScanner/spamassassin.conf is: envelope_sender_header X-NOCS-MailScanner-From I have looked at both files with 'od' and I cannot see any non-printing characters in the above lines. Any idea's would be gratefully received. Vincent Andrews. This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. The National Oceanography Centre (NOC) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. NOC does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to NOC business are solely those of the author and do not represent the views of NOC. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Thu Mar 6 05:48:38 2025 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 6 Mar 2025 12:48:38 +0700 Subject: MailScanner 5.5.3 Problem with --lint. In-Reply-To: References: Message-ID: On 3/4/25 8:24 PM, Vincent Andrews via MailScanner wrote: > > ERROR: The "envelope_sender_header" in your spamassassin.conf > > ERROR: is not correct, it should match X-NOCS-MailScanner-From > > The parameter from /etc/MailScanner/MailScanner.conf is:? %org-name% =? NOCS > > The parameter from /etc/MailScanner/spamassassin.conf is: > envelope_sender_header X-NOCS-MailScanner-From Is there trailing whitespace in the above? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From v.andrews at noc.ac.uk Thu Mar 6 09:16:03 2025 From: v.andrews at noc.ac.uk (Vincent Andrews) Date: Thu, 6 Mar 2025 09:16:03 +0000 Subject: MailScanner 5.5.3 Problem with --lint. In-Reply-To: References: Message-ID: Mark, Thank you for the suggestion. Unfortunately there is no space after the word NOC. 0010160 c e s ! * * * * \n # % o r g - 0010200 n a m e % = y o u r s i t e 0010220 \n % o r g - n a m e % = N O 0010240 C S \n \n # E n t e r t h e Vince. -----Original Message----- From: MailScanner On Behalf Of Mark Sapiro Sent: 06 March 2025 05:49 To: mailscanner at lists.mailscanner.info Subject: Re: MailScanner 5.5.3 Problem with --lint. Caution: This email has originated from outside of the organisation. Do not click links or open attachments unless you have verified the sender and content is safe. Thank you. On 3/4/25 8:24 PM, Vincent Andrews via MailScanner wrote: > > ERROR: The "envelope_sender_header" in your spamassassin.conf > > ERROR: is not correct, it should match X-NOCS-MailScanner-From > > The parameter from /etc/MailScanner/MailScanner.conf is: %org-name% = NOCS > > The parameter from /etc/MailScanner/spamassassin.conf is: > envelope_sender_header X-NOCS-MailScanner-From Is there trailing whitespace in the above? -- 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 This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. The National Oceanography Centre (NOC) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. NOC does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to NOC business are solely those of the author and do not represent the views of NOC. From mark at msapiro.net Thu Mar 6 12:35:53 2025 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 6 Mar 2025 19:35:53 +0700 Subject: MailScanner 5.5.3 Problem with --lint. In-Reply-To: References: Message-ID: On 3/6/25 4:16 PM, Vincent Andrews via MailScanner wrote: > Mark, > > Thank you for the suggestion. Unfortunately there is no space after the word NOC. I meant is there white space at the end of envelope_sender_header X-NOCS-MailScanner-From in /etc/MailScanner/spamassassin.conf -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From v.andrews at noc.ac.uk Thu Mar 6 15:34:33 2025 From: v.andrews at noc.ac.uk (Vincent Andrews) Date: Thu, 6 Mar 2025 15:34:33 +0000 Subject: MailScanner 5.5.3 Problem with --lint. In-Reply-To: References: Message-ID: Hello Mark, Yes there was a space to the right of " envelope_sender_header X-NOCS-MailScanner-From". I have removed that and the 'lint' process has passed. Thank you for your help. Vince. -----Original Message----- From: MailScanner On Behalf Of Mark Sapiro Sent: 06 March 2025 12:36 To: mailscanner at lists.mailscanner.info Subject: Re: MailScanner 5.5.3 Problem with --lint. Caution: This email has originated from outside of the organisation. Do not click links or open attachments unless you have verified the sender and content is safe. Thank you. On 3/6/25 4:16 PM, Vincent Andrews via MailScanner wrote: > Mark, > > Thank you for the suggestion. Unfortunately there is no space after the word NOC. I meant is there white space at the end of envelope_sender_header X-NOCS-MailScanner-From in /etc/MailScanner/spamassassin.conf -- 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 This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. The National Oceanography Centre (NOC) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. NOC does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to NOC business are solely those of the author and do not represent the views of NOC. From xserverlinux at gmail.com Tue Mar 11 18:07:34 2025 From: xserverlinux at gmail.com (Rick Gutierrez) Date: Tue, 11 Mar 2025 12:07:34 -0600 Subject: MailScanner 5.5.3 Problem with --lint. In-Reply-To: References: Message-ID: Hi , I am in the same situation, the process does not end. MailScanner --lint Trying to setlogsock(unix) Reading configuration file /etc/MailScanner/MailScanner.conf Reading configuration file /etc/MailScanner/conf.d/README Read 1492 hostnames from the phishing whitelist Read 41458 hostnames from the phishing blacklists Config: calling custom init function SQLBlacklist MailWatch: Starting up MailWatch SQL Blocklist MailWatch: Read 0 blocklist entries Config: calling custom init function SQLWhitelist MailWatch: Starting up MailWatch SQL Allowlist MailWatch: Read 4 allowlist entries Config: calling custom init function MailWatchLogging Checking version numbers... Version number in MailScanner.conf (5.5.3) is correct. Your envelope_sender_header in spamassassin.conf is correct. MailScanner setting GID to (89) MailScanner setting UID to (89) Checking for SpamAssassin errors (if you use it)... Using SpamAssassin results cache Connected to SpamAssassin cache database deprecated method; size() is an alias of "UDPsize()" at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/DnsResolver.pm line 600. HashBL: PCCC_HASHBL_FREEMAIL acl 'freemail' not defined HashBL: KAM_MESSAGE_HASHBL_FREEMAIL acl 'freemail' not defined SpamAssassin reported no errors. Connected to Processing Attempts Database Created Processing Attempts Database successfully There are 0 messages in the Processing Attempts Database Using locktype = posix MailScanner.conf says "Virus Scanners = clamd" stuck after virus scanners! MailScanner-5.5.3-2.rhel.noarch any idea? El jue, 6 mar 2025 a las 9:34, Vincent Andrews via MailScanner () escribi?: > > Hello Mark, > > Yes there was a space to the right of " envelope_sender_header X-NOCS-MailScanner-From". > > I have removed that and the 'lint' process has passed. > > Thank you for your help. > > Vince. > > -----Original Message----- > From: MailScanner On Behalf Of Mark Sapiro > Sent: 06 March 2025 12:36 > To: mailscanner at lists.mailscanner.info > Subject: Re: MailScanner 5.5.3 Problem with --lint. > > Caution: This email has originated from outside of the organisation. Do not click links or open attachments unless you have verified the sender and content is safe. Thank you. > > > > On 3/6/25 4:16 PM, Vincent Andrews via MailScanner wrote: > > Mark, > > > > Thank you for the suggestion. Unfortunately there is no space after the word NOC. > > I meant is there white space at the end of > > envelope_sender_header X-NOCS-MailScanner-From > > in /etc/MailScanner/spamassassin.conf > > -- > 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 > > > > This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. > The National Oceanography Centre (NOC) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. NOC does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. > Opinions, conclusions or other information in this message and attachments that are not related directly to NOC business are solely those of the author and do not represent the views of NOC. > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/mailman/listinfo/mailscanner > -- rickygm http://gnuforever.homelinux.com From shawniverson at summitgrid.com Wed Mar 12 16:03:09 2025 From: shawniverson at summitgrid.com (Shawn Iverson) Date: Wed, 12 Mar 2025 12:03:09 -0400 Subject: MailScanner 5.5.3 Problem with --lint. In-Reply-To: References: Message-ID: <8d93260c-c29e-4429-8229-f923fcc83ebc@summitgrid.com> The next line in your lint should have displayed something like this: Found these virus scanners installed: clamd Is your clamd daemon okay? On 3/11/25 14:07, Rick Gutierrez wrote: > Hi , I am in the same situation, the process does not end. > > MailScanner --lint > Trying to setlogsock(unix) > > Reading configuration file /etc/MailScanner/MailScanner.conf > Reading configuration file /etc/MailScanner/conf.d/README > Read 1492 hostnames from the phishing whitelist > Read 41458 hostnames from the phishing blacklists > Config: calling custom init function SQLBlacklist > MailWatch: Starting up MailWatch SQL Blocklist > MailWatch: Read 0 blocklist entries > Config: calling custom init function SQLWhitelist > MailWatch: Starting up MailWatch SQL Allowlist > MailWatch: Read 4 allowlist entries > Config: calling custom init function MailWatchLogging > > Checking version numbers... > Version number in MailScanner.conf (5.5.3) is correct. > > Your envelope_sender_header in spamassassin.conf is correct. > MailScanner setting GID to (89) > MailScanner setting UID to (89) > > Checking for SpamAssassin errors (if you use it)... > Using SpamAssassin results cache > Connected to SpamAssassin cache database > deprecated method; size() is an alias of "UDPsize()" at > /usr/share/perl5/vendor_perl/Mail/SpamAssassin/DnsResolver.pm line > 600. > HashBL: PCCC_HASHBL_FREEMAIL acl 'freemail' not defined > HashBL: KAM_MESSAGE_HASHBL_FREEMAIL acl 'freemail' not defined > SpamAssassin reported no errors. > Connected to Processing Attempts Database > Created Processing Attempts Database successfully > There are 0 messages in the Processing Attempts Database > Using locktype = posix > MailScanner.conf says "Virus Scanners = clamd" > > > stuck after virus scanners! > > MailScanner-5.5.3-2.rhel.noarch > > any idea? > > El jue, 6 mar 2025 a las 9:34, Vincent Andrews via MailScanner > () escribi?: >> Hello Mark, >> >> Yes there was a space to the right of " envelope_sender_header X-NOCS-MailScanner-From". >> >> I have removed that and the 'lint' process has passed. >> >> Thank you for your help. >> >> Vince. >> >> -----Original Message----- >> From: MailScanner On Behalf Of Mark Sapiro >> Sent: 06 March 2025 12:36 >> To: mailscanner at lists.mailscanner.info >> Subject: Re: MailScanner 5.5.3 Problem with --lint. >> >> Caution: This email has originated from outside of the organisation. Do not click links or open attachments unless you have verified the sender and content is safe. Thank you. >> >> >> >> On 3/6/25 4:16 PM, Vincent Andrews via MailScanner wrote: >>> Mark, >>> >>> Thank you for the suggestion. Unfortunately there is no space after the word NOC. >> I meant is there white space at the end of >> >> envelope_sender_header X-NOCS-MailScanner-From >> >> in /etc/MailScanner/spamassassin.conf >> >> -- >> 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 >> >> >> >> This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. >> The National Oceanography Centre (NOC) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. NOC does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. >> Opinions, conclusions or other information in this message and attachments that are not related directly to NOC business are solely those of the author and do not represent the views of NOC. >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/mailman/listinfo/mailscanner >> > From xserverlinux at gmail.com Mon Mar 24 21:29:54 2025 From: xserverlinux at gmail.com (Rick Gutierrez) Date: Mon, 24 Mar 2025 15:29:54 -0600 Subject: MailScanner 5.5.3 Problem with --lint. In-Reply-To: <8d93260c-c29e-4429-8229-f923fcc83ebc@summitgrid.com> References: <8d93260c-c29e-4429-8229-f923fcc83ebc@summitgrid.com> Message-ID: Sorry for the delay, I had to change the clamd to socket and now I can do it. El mi?, 12 mar 2025 a las 10:03, Shawn Iverson via MailScanner () escribi?: > > The next line in your lint should have displayed something like this: > > Found these virus scanners installed: clamd > > Is your clamd daemon okay? > > On 3/11/25 14:07, Rick Gutierrez wrote: > > Hi , I am in the same situation, the process does not end. > > > > MailScanner --lint > > Trying to setlogsock(unix) > > > > Reading configuration file /etc/MailScanner/MailScanner.conf > > Reading configuration file /etc/MailScanner/conf.d/README > > Read 1492 hostnames from the phishing whitelist > > Read 41458 hostnames from the phishing blacklists > > Config: calling custom init function SQLBlacklist > > MailWatch: Starting up MailWatch SQL Blocklist > > MailWatch: Read 0 blocklist entries > > Config: calling custom init function SQLWhitelist > > MailWatch: Starting up MailWatch SQL Allowlist > > MailWatch: Read 4 allowlist entries > > Config: calling custom init function MailWatchLogging > > > > Checking version numbers... > > Version number in MailScanner.conf (5.5.3) is correct. > > > > Your envelope_sender_header in spamassassin.conf is correct. > > MailScanner setting GID to (89) > > MailScanner setting UID to (89) > > > > Checking for SpamAssassin errors (if you use it)... > > Using SpamAssassin results cache > > Connected to SpamAssassin cache database > > deprecated method; size() is an alias of "UDPsize()" at > > /usr/share/perl5/vendor_perl/Mail/SpamAssassin/DnsResolver.pm line > > 600. > > HashBL: PCCC_HASHBL_FREEMAIL acl 'freemail' not defined > > HashBL: KAM_MESSAGE_HASHBL_FREEMAIL acl 'freemail' not defined > > SpamAssassin reported no errors. > > Connected to Processing Attempts Database > > Created Processing Attempts Database successfully > > There are 0 messages in the Processing Attempts Database > > Using locktype = posix > > MailScanner.conf says "Virus Scanners = clamd" > > > > > > stuck after virus scanners! > > > > MailScanner-5.5.3-2.rhel.noarch > > > > any idea? > > > > El jue, 6 mar 2025 a las 9:34, Vincent Andrews via MailScanner > > () escribi?: > >> Hello Mark, > >> > >> Yes there was a space to the right of " envelope_sender_header X-NOCS-MailScanner-From". > >> > >> I have removed that and the 'lint' process has passed. > >> > >> Thank you for your help. > >> > >> Vince. > >> > >> -----Original Message----- > >> From: MailScanner On Behalf Of Mark Sapiro > >> Sent: 06 March 2025 12:36 > >> To: mailscanner at lists.mailscanner.info > >> Subject: Re: MailScanner 5.5.3 Problem with --lint. > >> > >> Caution: This email has originated from outside of the organisation. Do not click links or open attachments unless you have verified the sender and content is safe. Thank you. > >> > >> > >> > >> On 3/6/25 4:16 PM, Vincent Andrews via MailScanner wrote: > >>> Mark, > >>> > >>> Thank you for the suggestion. Unfortunately there is no space after the word NOC. > >> I meant is there white space at the end of > >> > >> envelope_sender_header X-NOCS-MailScanner-From > >> > >> in /etc/MailScanner/spamassassin.conf > >> > >> -- > >> 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 > >> > >> > >> > >> This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. > >> The National Oceanography Centre (NOC) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. NOC does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. > >> Opinions, conclusions or other information in this message and attachments that are not related directly to NOC business are solely those of the author and do not represent the views of NOC. > >> > >> > >> > >> -- > >> 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 > -- rickygm http://gnuforever.homelinux.com