From cobalt-users1 at fishnet.co.uk Fri Apr 1 15:25:14 2016 From: cobalt-users1 at fishnet.co.uk (Ian) Date: Fri, 1 Apr 2016 16:25:14 +0100 Subject: Testing the new MailScanner server installation Message-ID: <56FE92DA.70208@fishnet.co.uk> Hi, I am in the process of setting up a new office MailScanner server and need some help with the old servers sendmail settings. I want all mail that is going into the old server to drop into the usual mailboxes and also a copy to be sent on to the new server for testing. I have searched the list archives and google but can't seem to find a way of doing this. If there is a simple way in sendmail of doing this that would be great. I will also accept complicated ways too ;) I seem to recall this being discussed many years ago but for the life of me cannot find any reference. My google foo is weak today. Any thoughts? Regards Ian -- From alex at vidadigital.com.pa Fri Apr 1 15:37:01 2016 From: alex at vidadigital.com.pa (Alex Neuman van der Hans) Date: Fri, 1 Apr 2016 10:37:01 -0500 Subject: Testing the new MailScanner server installation In-Reply-To: <56FE92DA.70208@fishnet.co.uk> References: <56FE92DA.70208@fishnet.co.uk> Message-ID: <4B7CFE1B-005E-4A2E-AACB-AC29D3476FCA@vidadigital.com.pa> I think there's a milter for that. http://snertsoft.com/sendmail/roundhouse/ > On Apr 1, 2016, at 10:25 AM, Ian wrote: > > Hi, > > I am in the process of setting up a new office MailScanner server and > need some help with the old servers sendmail settings. > > I want all mail that is going into the old server to drop into the usual > mailboxes and also a copy to be sent on to the new server for testing. > > I have searched the list archives and google but can't seem to find a > way of doing this. > > > If there is a simple way in sendmail of doing this that would be great. > I will also accept complicated ways too ;) > > > I seem to recall this being discussed many years ago but for the life of > me cannot find any reference. My google foo is weak today. > > > Any thoughts? > > Regards > > Ian > -- > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > -------------- next part -------------- An HTML attachment was scrubbed... URL: From glenn.steen at gmail.com Sat Apr 2 11:34:19 2016 From: glenn.steen at gmail.com (Glenn Steen) Date: Sat, 2 Apr 2016 13:34:19 +0200 Subject: Virus Scanners In-Reply-To: <20160201150852.GA26633@anotheruvula.aoc.nrao.edu> References: <20160201150852.GA26633@anotheruvula.aoc.nrao.edu> Message-ID: McAfee! DON'T remove it! -- -- Glenn 2016-02-01 16:08 GMT+01:00 William D. Colburn : > On Sat, Jan 30, 2016 at 01:07:56AM -0500, Jerry Benton wrote: > >Honestly, how many AV???s on that list are actually still in use? Maybe 6 > or 8? Well, there are about 40 in the config when you include the > daemonized versions as well. We could cut down SweepVirus.pm to about half > the size with about a third of the checks. Which = faster scanning, less > overhead, less dated code to maintain. > > SCEP is free (at least for us) and I'd love to see SCEP in the list. > I've got a generic wrapper working, but the code appears to ignore the > generic wrapper, so all I get are syslog messages about viruses that are > then let through. > > --Schlake > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > -- -- Glenn email: glenn < dot > steen < at > gmail < dot > com work: glenn < dot > steen < at > ap1 < dot > se -------------- next part -------------- An HTML attachment was scrubbed... URL: From glenn.steen at gmail.com Sat Apr 2 11:45:44 2016 From: glenn.steen at gmail.com (Glenn Steen) Date: Sat, 2 Apr 2016 13:45:44 +0200 Subject: Virus Scanners In-Reply-To: References: <20160201150852.GA26633@anotheruvula.aoc.nrao.edu> Message-ID: And the others, like panda, eset nod32, avast and bitdefender all seem to have viable linux commandline scanners still (and at least some of them will let you trial them). Julrs approach has always been "send me a fully licensed copy, and I'll write the support"... Yours may differ...?:-) Cheers! -- -- Glenn 2016-04-02 13:34 GMT+02:00 Glenn Steen : > McAfee! > DON'T remove it! > > -- > -- Glenn > > 2016-02-01 16:08 GMT+01:00 William D. Colburn : > >> On Sat, Jan 30, 2016 at 01:07:56AM -0500, Jerry Benton wrote: >> >Honestly, how many AV???s on that list are actually still in use? Maybe >> 6 or 8? Well, there are about 40 in the config when you include the >> daemonized versions as well. We could cut down SweepVirus.pm to about half >> the size with about a third of the checks. Which = faster scanning, less >> overhead, less dated code to maintain. >> >> SCEP is free (at least for us) and I'd love to see SCEP in the list. >> I've got a generic wrapper working, but the code appears to ignore the >> generic wrapper, so all I get are syslog messages about viruses that are >> then let through. >> >> --Schlake >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> >> > > > -- > -- Glenn > email: glenn < dot > steen < at > gmail < dot > com > work: glenn < dot > steen < at > ap1 < dot > se > -- -- Glenn email: glenn < dot > steen < at > gmail < dot > com work: glenn < dot > steen < at > ap1 < dot > se -------------- next part -------------- An HTML attachment was scrubbed... URL: From b.versteeg at grdebevelanden.nl Tue Apr 5 07:32:06 2016 From: b.versteeg at grdebevelanden.nl (Bas Versteeg) Date: Tue, 5 Apr 2016 07:32:06 +0000 Subject: What is the latest version of MailScanner Message-ID: <4683bf7d6a6b40e69021d4cbdebee264@GREX01.grdebevelanden.nl> Goodday, On the homepage i see version 4.85.2-2 as download but on github i see version 4.86.1-1 but thats not an rpm !! Is the version from github available as rpm and and is this version stable ?? Bas Versteeg Bas Versteeg Afdeling ICT Senior Netwerkbeheerder [cid:imageff2a8e.PNG at 712c61b3.49827d87] b.versteeg at grdebevelanden.nl [cid:image142f25.PNG at 15366b06.45a85089] 0113 - 239 300 [cid:imagefe8099.JPG at de2509cf.40bc125c] ________________________________ Bezoekadres: Stadskantoor M.A. de Ruijterlaan 2 4461 GE Goes Postadres Postbus 2144 4460 MC Goes ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imageff2a8e.PNG Type: image/png Size: 536 bytes Desc: imageff2a8e.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image142f25.PNG Type: image/png Size: 585 bytes Desc: image142f25.PNG URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: imagefe8099.JPG Type: image/jpeg Size: 12911 bytes Desc: imagefe8099.JPG URL: From jerry.benton at mailborder.com Tue Apr 5 07:33:32 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Tue, 5 Apr 2016 03:33:32 -0400 Subject: What is the latest version of MailScanner In-Reply-To: <4683bf7d6a6b40e69021d4cbdebee264@GREX01.grdebevelanden.nl> References: <4683bf7d6a6b40e69021d4cbdebee264@GREX01.grdebevelanden.nl> Message-ID: The official version is the one on www.mailscanner.info I have not had time to do the RPM yet for 4.86.x. Once I have done that, and SuSE, and the tarball, I will update the MailScanner website with 4.86.x - Jerry Benton www.mailborder.com > On Apr 5, 2016, at 3:32 AM, Bas Versteeg wrote: > > Goodday, > > On the homepage i see version 4.85.2-2 as download but on github i see version 4.86.1-1 but thats not an rpm !! > Is the version from github available as rpm and and is this version stable ?? > > Bas Versteeg > > Bas Versteeg > Afdeling ICT > Senior Netwerkbeheerder > b.versteeg at grdebevelanden.nl > 0113 - 239 300 > > Bezoekadres: Stadskantoor > M.A. de Ruijterlaan 2 > 4461 GE Goes Postadres > Postbus 2144 > 4460 MC Goes > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner -------------- next part -------------- An HTML attachment was scrubbed... URL: From glenn.steen at gmail.com Thu Apr 7 18:22:14 2016 From: glenn.steen at gmail.com (Glenn Steen) Date: Thu, 7 Apr 2016 20:22:14 +0200 Subject: SV: Verify virus scanning In-Reply-To: <0abe01d189c8$188f6410$49ae2c30$@media24.no> References: <0a6001d189c2$df8d1180$9ea73480$@media24.no> <56FA8B02.2020402@replies.cyways.com> <0ab701d189c7$4cf49690$e6ddc3b0$@media24.no> <0abe01d189c8$188f6410$49ae2c30$@media24.no> Message-ID: Be aware that MailWatch will show things a bit less than perfect... Last I looked, it only counted/displayed stats fir one of your AVs (assuming you use more than one)... It's due to the VIRUS_REGEXP thing. If you have one that have a really rotten hit-rate... It might be "chosen" and skew things badly. Cheers! -- -- Glenn Den 29 mar 2016 4:34 em skrev "Trond M. Markussen" : > Appreciate the offer, but no need to send any :) > > I am just concerned because the *very* low number of detected viruses > seems unrealistic in comparison to the overall amount of mail, including > high scoring spam with various suspicious attachments. But I understand > these attachments most often don't technically contain viruses, but rather > download malware via iframes etc.. > > Regards, > > Trond M. > > -----Opprinnelig melding----- > Fra: MailScanner [mailto:mailscanner-bounces+markussen= > media24.no at lists.mailscanner.info] P? vegne av Jerry Benton > Sendt: 29. mars 2016 16:31 > Til: MailScanner Discussion > Emne: Re: Verify virus scanning > > Are you saying viruses are getting through? Or are you just concerned > because you are not seeing any viruses? I mean, we can send you some > viruses if you are longing for them. > > - > Jerry Benton > www.mailborder.com > > > > > On Mar 29, 2016, at 10:28 AM, Trond M. Markussen > wrote: > > > > Thanks, the EICAR file was indeed stopped. But it seems strange that so > few viruses are detected.. how does one check which virus definition > file/date is in use? > > > > Regards, > > > > Trond M. > > > > -----Opprinnelig melding----- > > Fra: MailScanner [mailto:mailscanner-bounces+markussen= > media24.no at lists.mailscanner.info] P? vegne av Jerry Benton > > Sendt: 29. mars 2016 16:06 > > Til: MailScanner Discussion > > Emne: Re: Verify virus scanning > > > > MailScanner ?lint > > > > Also puts a copy of the eicar in a test message. > > > > - > > Jerry Benton > > www.mailborder.com > > > > > > > >> On Mar 29, 2016, at 10:02 AM, Peter Lemieux < > mailscanner at replies.cyways.com> wrote: > >> > >> Download a copy of the EICAR test file from here: > http://www.eicar.org/86-0-Intended-use.html. Attach it to a message and > send it to yourself. If scanning is working, the attachment will be > identified as a virus, and notices will be sent depending on how you have > configured MailScanner. > >> > >> Peter > >> > >> > >> On 03/29/2016 09:57 AM, Trond M. Markussen wrote: > >>> How can we verify that virus scanning is working? > >> > >> > >> -- > >> MailScanner mailing list > >> mailscanner at lists.mailscanner.info > >> http://lists.mailscanner.info/listinfo/mailscanner > >> > > > > > > > > -- > > MailScanner mailing list > > mailscanner at lists.mailscanner.info > > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > > > > > -- > > MailScanner mailing list > > mailscanner at lists.mailscanner.info > > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From glenn.steen at gmail.com Thu Apr 7 18:30:01 2016 From: glenn.steen at gmail.com (Glenn Steen) Date: Thu, 7 Apr 2016 20:30:01 +0200 Subject: RBLs In-Reply-To: <4ebc689f5b4241b9801fafcc7b3abe9c@City-Exch-DB2.cbj.local> References: <4ebc689f5b4241b9801fafcc7b3abe9c@City-Exch-DB2.cbj.local> Message-ID: Hi Kevin! The "Spam Lists" thing in MailScanner has nothing to do with the Spamassassin thing. The Spam Lists are queried by MailScanner proper, an in a serial fashion. Keep it fown to a bare minimum of well-trusted RBLs and let 1 hit -> blocked... SA foes it's lookups in parallel, so should handle the bulk of the lookups. The Spam Lists to be Spam setting, is only coupled to the Spam List setting. Cheers! -- -- Glenn Den 30 mar 2016 1:36 fm skrev "Kevin Miller" : > Spamassassin now includes a number of RBLs by default. It seems they get > queried regardless of whether I specify them in the "Spam Lists" > configuration option. Does it matter whether or not they are included in > "Spam Lists" to trigger the "Spam Lists To Be Spam" threshold? I.e, if > they're in two spam lists, but the RBL lists aren't explicitly listed in > MailScanner.conf, will the counter still increment and tag the email as > definite spam even if it doesn't quite reach the normal spam score (5.0 in > my case)? > > Thanks... > > ...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/listinfo/mailscanner > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From glenn.steen at gmail.com Thu Apr 7 18:32:20 2016 From: glenn.steen at gmail.com (Glenn Steen) Date: Thu, 7 Apr 2016 20:32:20 +0200 Subject: RBLs In-Reply-To: References: <4ebc689f5b4241b9801fafcc7b3abe9c@City-Exch-DB2.cbj.local> Message-ID: Exceptiona?ly fat fingers tonight... Let me know if it's foobar...:-) -- -- Glenn Den 7 apr 2016 8:30 em skrev "Glenn Steen" : > Hi Kevin! > > The "Spam Lists" thing in MailScanner has nothing to do with the > Spamassassin thing. The Spam Lists are queried by MailScanner proper, an in > a serial fashion. Keep it fown to a bare minimum of well-trusted RBLs and > let 1 hit -> blocked... SA foes it's lookups in parallel, so should handle > the bulk of the lookups. The Spam Lists to be Spam setting, is only coupled > to the Spam List setting. > > Cheers! > -- > -- Glenn > Den 30 mar 2016 1:36 fm skrev "Kevin Miller" : > >> Spamassassin now includes a number of RBLs by default. It seems they get >> queried regardless of whether I specify them in the "Spam Lists" >> configuration option. Does it matter whether or not they are included in >> "Spam Lists" to trigger the "Spam Lists To Be Spam" threshold? I.e, if >> they're in two spam lists, but the RBL lists aren't explicitly listed in >> MailScanner.conf, will the counter still increment and tag the email as >> definite spam even if it doesn't quite reach the normal spam score (5.0 in >> my case)? >> >> Thanks... >> >> ...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/listinfo/mailscanner >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.miller at juneau.org Thu Apr 7 18:54:57 2016 From: kevin.miller at juneau.org (Kevin Miller) Date: Thu, 7 Apr 2016 18:54:57 +0000 Subject: RBLs In-Reply-To: References: <4ebc689f5b4241b9801fafcc7b3abe9c@City-Exch-DB2.cbj.local> Message-ID: <398f54a9d3b84ead904c9dea3efa0e2b@City-Exch-DB2.cbj.local> Thank Glenn. I was hoping I could leverage the same spam lists that spamassassin is using by default, without having to query them a second time. Of course, the caching DNS server should minimize the impact but one stop shopping is more to be preferred. No matter. Hope all is well in your neck of the woods? ...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 Glenn Steen Sent: Thursday, April 07, 2016 10:30 AM To: MailScanner discussion Subject: Re: RBLs Hi Kevin! The "Spam Lists" thing in MailScanner has nothing to do with the Spamassassin thing. The Spam Lists are queried by MailScanner proper, an in a serial fashion. Keep it fown to a bare minimum of well-trusted RBLs and let 1 hit -> blocked... SA foes it's lookups in parallel, so should handle the bulk of the lookups. The Spam Lists to be Spam setting, is only coupled to the Spam List setting. Cheers! -- -- Glenn Den 30 mar 2016 1:36 fm skrev "Kevin Miller" >: Spamassassin now includes a number of RBLs by default. It seems they get queried regardless of whether I specify them in the "Spam Lists" configuration option. Does it matter whether or not they are included in "Spam Lists" to trigger the "Spam Lists To Be Spam" threshold? I.e, if they're in two spam lists, but the RBL lists aren't explicitly listed in MailScanner.conf, will the counter still increment and tag the email as definite spam even if it doesn't quite reach the normal spam score (5.0 in my case)? Thanks... ...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/listinfo/mailscanner -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailscanner at replies.cyways.com Thu Apr 7 18:59:13 2016 From: mailscanner at replies.cyways.com (Peter Lemieux) Date: Thu, 7 Apr 2016 14:59:13 -0400 Subject: RBLs In-Reply-To: <398f54a9d3b84ead904c9dea3efa0e2b@City-Exch-DB2.cbj.local> References: <4ebc689f5b4241b9801fafcc7b3abe9c@City-Exch-DB2.cbj.local> <398f54a9d3b84ead904c9dea3efa0e2b@City-Exch-DB2.cbj.local> Message-ID: <5706AE01.2090005@replies.cyways.com> I let SpamAssassin do all the RBL checks since the ones that turn up positive add to the SA score. I prefer to rely on SA scoring since it isn't as black-and-white as other methods. Peter On 04/07/2016 02:54 PM, Kevin Miller wrote: > Thank Glenn. I was hoping I could leverage the same spam lists that > spamassassin is using by default, without having to query them a second > time. Of course, the caching DNS server should minimize the impact but one > stop shopping is more to be preferred. No matter. > > Hope all is well in your neck of the woods? > > ...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 *Glenn Steen > *Sent:* Thursday, April 07, 2016 10:30 AM > *To:* MailScanner discussion > *Subject:* Re: RBLs > > Hi Kevin! > > The "Spam Lists" thing in MailScanner has nothing to do with the > Spamassassin thing. The Spam Lists are queried by MailScanner proper, an in > a serial fashion. Keep it fown to a bare minimum of well-trusted RBLs and > let 1 hit -> blocked... SA foes it's lookups in parallel, so should handle > the bulk of the lookups. The Spam Lists to be Spam setting, is only coupled > to the Spam List setting. > > Cheers! > -- > -- Glenn > > Den 30 mar 2016 1:36 fm skrev "Kevin Miller" >: > > Spamassassin now includes a number of RBLs by default. It seems they get > queried regardless of whether I specify them in the "Spam Lists" > configuration option. Does it matter whether or not they are included in > "Spam Lists" to trigger the "Spam Lists To Be Spam" threshold? I.e, if > they're in two spam lists, but the RBL lists aren't explicitly listed in > MailScanner.conf, will the counter still increment and tag the email as > definite spam even if it doesn't quite reach the normal spam score (5.0 in > my case)? > > Thanks... > > ...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/listinfo/mailscanner > > > > > From jvoorhees1 at gmail.com Tue Apr 12 03:14:04 2016 From: jvoorhees1 at gmail.com (Jason Voorhees) Date: Mon, 11 Apr 2016 22:14:04 -0500 Subject: ClamAV constantly failing Message-ID: Hello guys: I'm running CentOS 7 x86_64 with MailScanner 4.85.2-3 and clamav 0.99.1 from EPEL. These are my clamav packages installed: clamav-data-0.99.1-1.el7.noarch clamav-server-systemd-0.99.1-1.el7.noarch clamav-unofficial-sigs-3.7.2-1.el7.noarch clamav-server-0.99.1-1.el7.x86_64 clamav-0.99.1-1.el7.x86_64 clamav-lib-0.99.1-1.el7.x86_64 clamav-scanner-0.99.1-1.el7.noarch clamav-scanner-systemd-0.99.1-1.el7.noarch clamav-filesystem-0.99.1-1.el7.noarch clamav-update-0.99.1-1.el7.x86_64 What I'm experiencing is that several times a day clamd is failing. There are several errors like: 1. MailScanner cannot find clamd's socket even if it exists in /var/run/clamd.scan/clamd.sock -> I have to stop clamd, remove the socket file and start clamd again. 2. MailScanner says clamd isn't running like this " Clamd::ERROR:: COULD NOT CONNECT TO CLAMD, RECOMMEND RESTARTING DAEMON" -> I have to restart clamd or do some other troubleshooting. 3. Clamd detects a failed or corrupted database file (i.e. main.cvd) -> I have remove such db file, restart clamd and/or run freshclam. I think there might be a bug in ClamAV because the same thing occurs seldom in other similar installation from different customers. Ok, I know this is not a ClamAV mailing list, but I wonder if there's a way to tell MailScanner to not depend on ClamD if this isn't running. Because, what's currently happening is that when one of these clamd errors occur, MailScanner can't process messages correctly and my mail queue starts to grow until I manually solve this. I wonder if it's possible to tell MailScanner that must skip Antivirus checking if AV isn't running but allows messages to be delivered anyway instead of be holded in the queue. Do you get my point? I hope someone can help me with some ideas. Thanks in advance. From jvoorhees1 at gmail.com Tue Apr 12 04:00:15 2016 From: jvoorhees1 at gmail.com (Jason Voorhees) Date: Mon, 11 Apr 2016 23:00:15 -0500 Subject: ClamAV constantly failing In-Reply-To: References: Message-ID: By the way, I forgot to mention that when MailScanner is unable to analyze a message with ClamAV, it keeps attempting many times but each time is logged once and again in SQL by using the "Always Looked Up Last = &MailwatchLogging". At the end, one message that was attempted to be delivered 100 times is shown 100 times in my Mailwatch Web GUI under "Recent messages" tab. Is there a way to not allow MailScanner to log this message once and again? Thx On Mon, Apr 11, 2016 at 10:14 PM, Jason Voorhees wrote: > Hello guys: > > I'm running CentOS 7 x86_64 with MailScanner 4.85.2-3 and clamav > 0.99.1 from EPEL. These are my clamav packages installed: > > clamav-data-0.99.1-1.el7.noarch > clamav-server-systemd-0.99.1-1.el7.noarch > clamav-unofficial-sigs-3.7.2-1.el7.noarch > clamav-server-0.99.1-1.el7.x86_64 > clamav-0.99.1-1.el7.x86_64 > clamav-lib-0.99.1-1.el7.x86_64 > clamav-scanner-0.99.1-1.el7.noarch > clamav-scanner-systemd-0.99.1-1.el7.noarch > clamav-filesystem-0.99.1-1.el7.noarch > clamav-update-0.99.1-1.el7.x86_64 > > What I'm experiencing is that several times a day clamd is failing. > There are several errors like: > > 1. MailScanner cannot find clamd's socket even if it exists in > /var/run/clamd.scan/clamd.sock -> I have to stop clamd, remove the > socket file and start clamd again. > > 2. MailScanner says clamd isn't running like this " Clamd::ERROR:: > COULD NOT CONNECT TO CLAMD, RECOMMEND RESTARTING DAEMON" -> I have to > restart clamd or do some other troubleshooting. > > > 3. Clamd detects a failed or corrupted database file (i.e. main.cvd) > -> I have remove such db file, restart clamd and/or run freshclam. > > I think there might be a bug in ClamAV because the same thing occurs > seldom in other similar installation from different customers. > > Ok, I know this is not a ClamAV mailing list, but I wonder if there's > a way to tell MailScanner to not depend on ClamD if this isn't > running. Because, what's currently happening is that when one of these > clamd errors occur, MailScanner can't process messages correctly and > my mail queue starts to grow until I manually solve this. > > > I wonder if it's possible to tell MailScanner that must skip Antivirus > checking if AV isn't running but allows messages to be delivered > anyway instead of be holded in the queue. > > > Do you get my point? I hope someone can help me with some ideas. > > > Thanks in advance. From jerry.benton at mailborder.com Tue Apr 12 04:04:30 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Tue, 12 Apr 2016 00:04:30 -0400 Subject: ClamAV constantly failing In-Reply-To: References: Message-ID: Check your ?PID File? setting in MailScanner.conf. If it is something like this : /var/run/MailScanner/MailScanner.pid change it to this: /var/run/MailScanner.pid and reboot. Using the directory in /var/run can cause problems if the directory cannot be created. Thus, every hour when MailScanner checks to see if the MailScanner process is running, it will not find the PID from the PID file for MailScanner (because it cannot be created) and it will start another MailScanner process. This continues until you use all of your memory and clamd cannot run. - Jerry Benton www.mailborder.com > On Apr 12, 2016, at 12:00 AM, Jason Voorhees wrote: > > By the way, I forgot to mention that when MailScanner is unable to > analyze a message with ClamAV, it keeps attempting many times but each > time is logged once and again in SQL by using the "Always Looked Up > Last = &MailwatchLogging". At the end, one message that was attempted > to be delivered 100 times is shown 100 times in my Mailwatch Web GUI > under "Recent messages" tab. > > Is there a way to not allow MailScanner to log this message once and again? > > Thx > > On Mon, Apr 11, 2016 at 10:14 PM, Jason Voorhees wrote: >> Hello guys: >> >> I'm running CentOS 7 x86_64 with MailScanner 4.85.2-3 and clamav >> 0.99.1 from EPEL. These are my clamav packages installed: >> >> clamav-data-0.99.1-1.el7.noarch >> clamav-server-systemd-0.99.1-1.el7.noarch >> clamav-unofficial-sigs-3.7.2-1.el7.noarch >> clamav-server-0.99.1-1.el7.x86_64 >> clamav-0.99.1-1.el7.x86_64 >> clamav-lib-0.99.1-1.el7.x86_64 >> clamav-scanner-0.99.1-1.el7.noarch >> clamav-scanner-systemd-0.99.1-1.el7.noarch >> clamav-filesystem-0.99.1-1.el7.noarch >> clamav-update-0.99.1-1.el7.x86_64 >> >> What I'm experiencing is that several times a day clamd is failing. >> There are several errors like: >> >> 1. MailScanner cannot find clamd's socket even if it exists in >> /var/run/clamd.scan/clamd.sock -> I have to stop clamd, remove the >> socket file and start clamd again. >> >> 2. MailScanner says clamd isn't running like this " Clamd::ERROR:: >> COULD NOT CONNECT TO CLAMD, RECOMMEND RESTARTING DAEMON" -> I have to >> restart clamd or do some other troubleshooting. >> >> >> 3. Clamd detects a failed or corrupted database file (i.e. main.cvd) >> -> I have remove such db file, restart clamd and/or run freshclam. >> >> I think there might be a bug in ClamAV because the same thing occurs >> seldom in other similar installation from different customers. >> >> Ok, I know this is not a ClamAV mailing list, but I wonder if there's >> a way to tell MailScanner to not depend on ClamD if this isn't >> running. Because, what's currently happening is that when one of these >> clamd errors occur, MailScanner can't process messages correctly and >> my mail queue starts to grow until I manually solve this. >> >> >> I wonder if it's possible to tell MailScanner that must skip Antivirus >> checking if AV isn't running but allows messages to be delivered >> anyway instead of be holded in the queue. >> >> >> Do you get my point? I hope someone can help me with some ideas. >> >> >> Thanks in advance. > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > From jvoorhees1 at gmail.com Tue Apr 12 19:31:29 2016 From: jvoorhees1 at gmail.com (Jason Voorhees) Date: Tue, 12 Apr 2016 14:31:29 -0500 Subject: ClamAV constantly failing In-Reply-To: References: Message-ID: Hi, thanks for replying... It's already set to /var/run/MailScanner.pid What else could I try? On Mon, Apr 11, 2016 at 11:04 PM, Jerry Benton wrote: > Check your ?PID File? setting in MailScanner.conf. If it is something like this : /var/run/MailScanner/MailScanner.pid change it to this: /var/run/MailScanner.pid and reboot. > > Using the directory in /var/run can cause problems if the directory cannot be created. Thus, every hour when MailScanner checks to see if the MailScanner process is running, it will not find the PID from the PID file for MailScanner (because it cannot be created) and it will start another MailScanner process. This continues until you use all of your memory and clamd cannot run. > > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 12, 2016, at 12:00 AM, Jason Voorhees wrote: >> >> By the way, I forgot to mention that when MailScanner is unable to >> analyze a message with ClamAV, it keeps attempting many times but each >> time is logged once and again in SQL by using the "Always Looked Up >> Last = &MailwatchLogging". At the end, one message that was attempted >> to be delivered 100 times is shown 100 times in my Mailwatch Web GUI >> under "Recent messages" tab. >> >> Is there a way to not allow MailScanner to log this message once and again? >> >> Thx >> >> On Mon, Apr 11, 2016 at 10:14 PM, Jason Voorhees wrote: >>> Hello guys: >>> >>> I'm running CentOS 7 x86_64 with MailScanner 4.85.2-3 and clamav >>> 0.99.1 from EPEL. These are my clamav packages installed: >>> >>> clamav-data-0.99.1-1.el7.noarch >>> clamav-server-systemd-0.99.1-1.el7.noarch >>> clamav-unofficial-sigs-3.7.2-1.el7.noarch >>> clamav-server-0.99.1-1.el7.x86_64 >>> clamav-0.99.1-1.el7.x86_64 >>> clamav-lib-0.99.1-1.el7.x86_64 >>> clamav-scanner-0.99.1-1.el7.noarch >>> clamav-scanner-systemd-0.99.1-1.el7.noarch >>> clamav-filesystem-0.99.1-1.el7.noarch >>> clamav-update-0.99.1-1.el7.x86_64 >>> >>> What I'm experiencing is that several times a day clamd is failing. >>> There are several errors like: >>> >>> 1. MailScanner cannot find clamd's socket even if it exists in >>> /var/run/clamd.scan/clamd.sock -> I have to stop clamd, remove the >>> socket file and start clamd again. >>> >>> 2. MailScanner says clamd isn't running like this " Clamd::ERROR:: >>> COULD NOT CONNECT TO CLAMD, RECOMMEND RESTARTING DAEMON" -> I have to >>> restart clamd or do some other troubleshooting. >>> >>> >>> 3. Clamd detects a failed or corrupted database file (i.e. main.cvd) >>> -> I have remove such db file, restart clamd and/or run freshclam. >>> >>> I think there might be a bug in ClamAV because the same thing occurs >>> seldom in other similar installation from different customers. >>> >>> Ok, I know this is not a ClamAV mailing list, but I wonder if there's >>> a way to tell MailScanner to not depend on ClamD if this isn't >>> running. Because, what's currently happening is that when one of these >>> clamd errors occur, MailScanner can't process messages correctly and >>> my mail queue starts to grow until I manually solve this. >>> >>> >>> I wonder if it's possible to tell MailScanner that must skip Antivirus >>> checking if AV isn't running but allows messages to be delivered >>> anyway instead of be holded in the queue. >>> >>> >>> Do you get my point? I hope someone can help me with some ideas. >>> >>> >>> Thanks in advance. >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > From kevin.miller at juneau.org Tue Apr 12 21:16:26 2016 From: kevin.miller at juneau.org (Kevin Miller) Date: Tue, 12 Apr 2016 21:16:26 +0000 Subject: ClamAV constantly failing In-Reply-To: References: Message-ID: Is /var/run writable by MailScanner? ...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 -----Original Message----- From: MailScanner [mailto:mailscanner-bounces+kevin.miller=juneau.org at lists.mailscanner.info] On Behalf Of Jason Voorhees Sent: Tuesday, April 12, 2016 11:31 AM To: MailScanner Discussion Subject: Re: ClamAV constantly failing Hi, thanks for replying... It's already set to /var/run/MailScanner.pid What else could I try? From jvoorhees1 at gmail.com Tue Apr 12 22:18:47 2016 From: jvoorhees1 at gmail.com (Jason Voorhees) Date: Tue, 12 Apr 2016 17:18:47 -0500 Subject: ClamAV constantly failing In-Reply-To: References: Message-ID: Well, not, but the current PID is saved in /var/run/MailScanner: [root at mail ~]# ps -ef | grep -w MailScanner | grep -v grep postfix 4393 1 0 Apr03 ? 00:00:00 MailScanner: starting child postfix 5766 4393 0 15:54 ? 00:00:01 MailScanner: waiting for messages postfix 25310 4393 0 15:29 ? 00:00:01 MailScanner: waiting for messages [root at mail ~]# cat /var/run/MailScanner.pid 4393 What's does MailScanner logs look like when it's unable to find/write the current PID? Maybe I can look for it to verify if it's really failing by this reason. On Tue, Apr 12, 2016 at 4:16 PM, Kevin Miller wrote: > Is /var/run writable by MailScanner? > > ...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 > > > -----Original Message----- > From: MailScanner [mailto:mailscanner-bounces+kevin.miller=juneau.org at lists.mailscanner.info] On Behalf Of Jason Voorhees > Sent: Tuesday, April 12, 2016 11:31 AM > To: MailScanner Discussion > Subject: Re: ClamAV constantly failing > > Hi, thanks for replying... It's already set to /var/run/MailScanner.pid > > What else could I try? > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > From dave.mehler at gmail.com Wed Apr 13 17:13:50 2016 From: dave.mehler at gmail.com (David Mehler) Date: Wed, 13 Apr 2016 13:13:50 -0400 Subject: Two issues with MailScanner Message-ID: Hello, I'm running a FreeBSD 10.3 system on amd64 in a vps. I'm using the latest 3.1 of Postfix and MailScanner 4.85.2. I can send and receive mail, so that is working and it's all going through MailScanner so that's good. I've got two issues. One is a performance issue of MailScanner. I sent a message through, from an external email client going over tls to my gmail account. When the message hit postfix it passed it off to MailScanner for processing at 12:33. MailScanner processed and returned it to Postfix but did so at 12:36 so I've got a three minute processing delay. Is there anything I can do to speed that up? My second issue also related to a sent message though not the same one as discussed in the last paragraph, every message I'm sending through is getting a spam subject tag applied, and a spam score of 2. I'm going to include anomized headers at the end of this message. I'd appreciate any help on either of these issues. Thanks. Dave. Delivered-To: dave.mehler at gmail.com Received: by 10.194.68.99 with SMTP id v3csp52991wjt; Wed, 13 Apr 2016 08:11:44 -0700 (PDT) X-Received: by 10.140.37.113 with SMTP id q104mr11766992qgq.104.1460560304552; Wed, 13 Apr 2016 08:11:44 -0700 (PDT) Return-Path: Received: from mail.domain.com (Sending-Host. [xxx.xxx.xxx.xxx]) by mx.google.com with ESMTPS id v2si14555172qhc.83.2016.04.13.08.11.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Apr 2016 08:11:44 -0700 (PDT) Received-SPF: pass (google.com: domain of email at domain.com designates xxx.xxx.xxx.xxx as permitted sender) client-ip=xxx.xxx.xxx.xxx; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@domain.com; spf=pass (google.com: domain of email at domain.com designates xxx.xxx.xxx.xxx as permitted sender) smtp.mailfrom=email at domain.com X-Spam-Status: Yes X-host-MailScanner-Watermark: 1461164943.13961 at 5NMEueHOw3b4TN3OZZLGNg X-host-MailScanner-To: dave.mehler at gmail.com X-host-MailScanner-From: email at domain.com X-host-MailScanner-SpamScore: 2 X-host-MailScanner-SpamCheck: spam, spamhaus-ZEN, SpamAssassin (not cached, score=2, required 4, MR_BAD_ORGA_1 2.00) X-host-MailScanner: Found to be clean X-host-MailScanner-ID: A184A153AB.A8D3A X-host-MailScanner-Information: Please contact the ISP for more information << rest removed From jerry.benton at mailborder.com Wed Apr 13 19:25:45 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Wed, 13 Apr 2016 15:25:45 -0400 Subject: Two issues with MailScanner In-Reply-To: References: Message-ID: - If you have any RBLs specified, turn them off and retest. - Use a caching name server on the MailScanner server - Make sure the server has outbound access for DNS. - Jerry Benton www.mailborder.com > On Apr 13, 2016, at 1:13 PM, David Mehler wrote: > > Hello, > > I'm running a FreeBSD 10.3 system on amd64 in a vps. I'm using the > latest 3.1 of Postfix and MailScanner 4.85.2. > > I can send and receive mail, so that is working and it's all going > through MailScanner so that's good. > > I've got two issues. One is a performance issue of MailScanner. I sent > a message through, from an external email client going over tls to my > gmail account. When the message hit postfix it passed it off to > MailScanner for processing at 12:33. MailScanner processed and > returned it to Postfix but did so at 12:36 so I've got a three minute > processing delay. Is there anything I can do to speed that up? > > My second issue also related to a sent message though not the same one > as discussed in the last paragraph, every message I'm sending through > is getting a spam subject tag applied, and a spam score of 2. I'm > going to include anomized headers at the end of this message. > > I'd appreciate any help on either of these issues. > > Thanks. > Dave. > > > > Delivered-To: dave.mehler at gmail.com > Received: by 10.194.68.99 with SMTP id v3csp52991wjt; > Wed, 13 Apr 2016 08:11:44 -0700 (PDT) > X-Received: by 10.140.37.113 with SMTP id q104mr11766992qgq.104.1460560304552; > Wed, 13 Apr 2016 08:11:44 -0700 (PDT) > Return-Path: > Received: from mail.domain.com (Sending-Host. [xxx.xxx.xxx.xxx]) > by mx.google.com with ESMTPS id v2si14555172qhc.83.2016.04.13.08.11.44 > for > (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); > Wed, 13 Apr 2016 08:11:44 -0700 (PDT) > Received-SPF: pass (google.com: domain of email at domain.com designates > xxx.xxx.xxx.xxx as permitted sender) client-ip=xxx.xxx.xxx.xxx; > Authentication-Results: mx.google.com; > dkim=neutral (body hash did not verify) header.i=@domain.com; > spf=pass (google.com: domain of email at domain.com designates > xxx.xxx.xxx.xxx as permitted sender) smtp.mailfrom=email at domain.com > X-Spam-Status: Yes > X-host-MailScanner-Watermark: 1461164943.13961 at 5NMEueHOw3b4TN3OZZLGNg > X-host-MailScanner-To: dave.mehler at gmail.com > X-host-MailScanner-From: email at domain.com > X-host-MailScanner-SpamScore: 2 > X-host-MailScanner-SpamCheck: spam, spamhaus-ZEN, > SpamAssassin (not cached, score=2, required 4, MR_BAD_ORGA_1 2.00) > X-host-MailScanner: Found to be clean > X-host-MailScanner-ID: A184A153AB.A8D3A > X-host-MailScanner-Information: Please contact the ISP for more information > << rest removed > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > From garry at glendown.de Thu Apr 14 09:13:00 2016 From: garry at glendown.de (Garry Glendown) Date: Thu, 14 Apr 2016 11:13:00 +0200 Subject: Problem with user-specific filename rules Message-ID: <570F5F1C.7000008@glendown.de> Hi, I tried setting up a user-specific filename filtering rule ... after setting up the general reference to the rule file with Filename Rules = %etc-dir%/rules/filename.rules I set up the above rules file like this: ---- From: someuser1 at domain.de /etc/MailScanner/filename.toexternal-rules.conf From: someuser2 at domain.de /etc/MailScanner/filename.toexternal-rules.conf To: @domain.de /etc/MailScanner/filename.rules.conf To: @domain.de /etc/MailScanner/filename.rules.conf # Default To: default /etc/MailScanner/filename.toexternal-rules.conf ---- filename.rules.conf contains somewhat stricter limits for receiving mails, while sending outgoing mails are more general with less restrictions (filename.toexternal-rules.conf). In general, this works fine. Anyway, I want someuser1 and 2 to be able to send files blocked by the filename.rules.conf to internal users. I was expecting that by adding the two "from" lines to the .rules that they would be used. Anyway, the to: lines still seem to have priority, blocking sending of the mails ... Am I missing something here, or is this a limitation of MailScanner that it does not go through the rules file sequentially, but re-orders the rule entries? Thanks, -garry -- PGP Fingerprint: A79F A33F 5B13 BEB7 A51D 274F F99C 3AE2 4BCB 7015 From maxsec at gmail.com Thu Apr 14 10:53:57 2016 From: maxsec at gmail.com (Martin Hepworth) Date: Thu, 14 Apr 2016 11:53:57 +0100 Subject: Two issues with MailScanner In-Reply-To: References: Message-ID: that looks like outbound email to me... but it looks that outbound host is triggering the Zen list as defined at the mailscanner level not the Spamassassin level. I'd suggest you look at the https://www.mailscanner.info/MailScanner.conf.index.html#Spam%20List setting in MailScanner.conf, and perhaps remove the Zen RBL from there. -- Martin Hepworth, CISSP Oxford, UK On 13 April 2016 at 20:25, Jerry Benton wrote: > - If you have any RBLs specified, turn them off and retest. > - Use a caching name server on the MailScanner server > - Make sure the server has outbound access for DNS. > > - > Jerry Benton > www.mailborder.com > > > > > On Apr 13, 2016, at 1:13 PM, David Mehler wrote: > > > > Hello, > > > > I'm running a FreeBSD 10.3 system on amd64 in a vps. I'm using the > > latest 3.1 of Postfix and MailScanner 4.85.2. > > > > I can send and receive mail, so that is working and it's all going > > through MailScanner so that's good. > > > > I've got two issues. One is a performance issue of MailScanner. I sent > > a message through, from an external email client going over tls to my > > gmail account. When the message hit postfix it passed it off to > > MailScanner for processing at 12:33. MailScanner processed and > > returned it to Postfix but did so at 12:36 so I've got a three minute > > processing delay. Is there anything I can do to speed that up? > > > > My second issue also related to a sent message though not the same one > > as discussed in the last paragraph, every message I'm sending through > > is getting a spam subject tag applied, and a spam score of 2. I'm > > going to include anomized headers at the end of this message. > > > > I'd appreciate any help on either of these issues. > > > > Thanks. > > Dave. > > > > > > > > Delivered-To: dave.mehler at gmail.com > > Received: by 10.194.68.99 with SMTP id v3csp52991wjt; > > Wed, 13 Apr 2016 08:11:44 -0700 (PDT) > > X-Received: by 10.140.37.113 with SMTP id > q104mr11766992qgq.104.1460560304552; > > Wed, 13 Apr 2016 08:11:44 -0700 (PDT) > > Return-Path: > > Received: from mail.domain.com (Sending-Host. [xxx.xxx.xxx.xxx]) > > by mx.google.com with ESMTPS id > v2si14555172qhc.83.2016.04.13.08.11.44 > > for > > (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); > > Wed, 13 Apr 2016 08:11:44 -0700 (PDT) > > Received-SPF: pass (google.com: domain of email at domain.com designates > > xxx.xxx.xxx.xxx as permitted sender) client-ip=xxx.xxx.xxx.xxx; > > Authentication-Results: mx.google.com; > > dkim=neutral (body hash did not verify) header.i=@domain.com; > > spf=pass (google.com: domain of email at domain.com designates > > xxx.xxx.xxx.xxx as permitted sender) smtp.mailfrom=email at domain.com > > X-Spam-Status: Yes > > X-host-MailScanner-Watermark: 1461164943.13961 at 5NMEueHOw3b4TN3OZZLGNg > > X-host-MailScanner-To: dave.mehler at gmail.com > > X-host-MailScanner-From: email at domain.com > > X-host-MailScanner-SpamScore: 2 > > X-host-MailScanner-SpamCheck: spam, spamhaus-ZEN, > > SpamAssassin (not cached, score=2, required 4, MR_BAD_ORGA_1 2.00) > > X-host-MailScanner: Found to be clean > > X-host-MailScanner-ID: A184A153AB.A8D3A > > X-host-MailScanner-Information: Please contact the ISP for more > information > > << rest removed > > > > > > -- > > MailScanner mailing list > > mailscanner at lists.mailscanner.info > > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Thu Apr 14 15:29:32 2016 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 14 Apr 2016 08:29:32 -0700 Subject: Problem with user-specific filename rules In-Reply-To: <570F5F1C.7000008@glendown.de> References: <570F5F1C.7000008@glendown.de> Message-ID: <570FB75C.3060901@msapiro.net> On 04/14/2016 02:13 AM, Garry Glendown wrote: > Hi, > > I tried setting up a user-specific filename filtering rule ... after > setting up the general reference to the rule file with > > Filename Rules = %etc-dir%/rules/filename.rules > > I set up the above rules file like this: > > ---- > From: someuser1 at domain.de > /etc/MailScanner/filename.toexternal-rules.conf > From: someuser2 at domain.de > /etc/MailScanner/filename.toexternal-rules.conf > > To: @domain.de /etc/MailScanner/filename.rules.conf > To: @domain.de /etc/MailScanner/filename.rules.conf > > # Default > To: default /etc/MailScanner/filename.toexternal-rules.conf > ---- > > filename.rules.conf contains somewhat stricter limits for receiving > mails, while sending outgoing mails are more general with less > restrictions (filename.toexternal-rules.conf). In general, this works > fine. Anyway, I want someuser1 and 2 to be able to send files blocked by > the filename.rules.conf to internal users. I was expecting that by > adding the two "from" lines to the .rules that they would be used. > Anyway, the to: lines still seem to have priority, blocking sending of > the mails ... > Am I missing something here, or is this a limitation of MailScanner that > it does not go through the rules file sequentially, but re-orders the > rule entries? If you look at the various rules at , you will see that some rules allow a ruleset and some do not, and for those that do there are two ruleset types, FirstMatch and AllMatch. First match rulesets pick the first rule that matches. All match rulesets look at all the rules and if any rule specifies a positive action, pick that one. Filename Rules is an AllMatch rule. Since the actions here are simply filenames, it is not clear how MailScanner would even chose the match. It may be in this case MailScanner looks at all the matching rules files and if any contains a 'deny' action, that action is taken. That would be consistent with AllMatch behavior in general and I think would explain this behavior. You could try instead, rules like From: /^?!someuser[12]@domain\.de$/ and To: @domain.de /etc/MailScanner/filename.rules.conf I.e., add a negative lookahead condition so the To: @domain.de rule doesn't match those senders. In practice, it would probably be different, e.g., From: /^?!(usera|otherperson)@domain\.de$/ and To: @domain.de /etc/MailScanner/filename.rules.conf -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jerry.benton at mailborder.com Tue Apr 19 03:25:52 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Mon, 18 Apr 2016 23:25:52 -0400 Subject: Issue #62 Message-ID: <0B6C2970-41AF-4B2D-A148-3898A64B5E40@mailborder.com> Instead of emailing developers directly, I am posting to the discussion list. Has anyone taken a look at this: https://github.com/MailScanner/v4/issues/62 I am going to work on the new packaging this week. I had to step away from it for a while . - Jerry Benton www.mailborder.com From garry at glendown.de Fri Apr 22 10:44:06 2016 From: garry at glendown.de (Garry Glendown) Date: Fri, 22 Apr 2016 12:44:06 +0200 Subject: Problem with user-specific filename rules In-Reply-To: <570FB75C.3060901@msapiro.net> References: <570F5F1C.7000008@glendown.de> <570FB75C.3060901@msapiro.net> Message-ID: <4b832ab1-7536-1ae7-ef50-04bf3994c74a@glendown.de> Hi, > You could try instead, rules like > > From: /^?!someuser[12]@domain\.de$/ and To: @domain.de > /etc/MailScanner/filename.rules.conf > > I.e., add a negative lookahead condition so the To: @domain.de rule > doesn't match those senders. In practice, it would probably be > different, e.g., > > From: /^?!(usera|otherperson)@domain\.de$/ and To: @domain.de > /etc/MailScanner/filename.rules.conf > I tried to, but somehow this caused all mail to be sent through the default rule... here's the setup I had entered: # Block more securely for mails to internal users From: /^?!theuser at domain.de$/ and To: @domain.de /etc/MailScanner/filename.rules.conf From: /^?!theuser at domain.de$/ and To: @domain.de /etc/MailScanner/filename.rules.conf # Default - Somewhat less secure, allowing e.g. .docm etc. To: default /etc/MailScanner/filename.toexternal-rules.conf As a result, all mails were let through using the more relaxed rules set. I tried altering the regexp pattern based on doing some tests, changing it to e.g. /^(?!(theuser at domain.de))$/ (which at least was accepted by the regexp tester I used), but it still didn't seem to match any sender ... am I missing something here? Thanks, Garry -- PGP Fingerprint: A79F A33F 5B13 BEB7 A51D 274F F99C 3AE2 4BCB 7015 -- PGP Fingerprint: A79F A33F 5B13 BEB7 A51D 274F F99C 3AE2 4BCB 7015 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Fri Apr 22 16:20:07 2016 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 22 Apr 2016 09:20:07 -0700 Subject: Problem with user-specific filename rules In-Reply-To: <4b832ab1-7536-1ae7-ef50-04bf3994c74a@glendown.de> References: <570F5F1C.7000008@glendown.de> <570FB75C.3060901@msapiro.net> <4b832ab1-7536-1ae7-ef50-04bf3994c74a@glendown.de> Message-ID: <571A4F37.3040001@msapiro.net> On 04/22/2016 03:44 AM, Garry Glendown wrote: >> > I tried to, but somehow this caused all mail to be sent through the > default rule... here's the setup I had entered: > > # Block more securely for mails to internal users > From: /^?!theuser at domain.de$/ and To: @domain.de > /etc/MailScanner/filename.rules.conf > From: /^?!theuser at domain.de$/ and To: @domain.de > /etc/MailScanner/filename.rules.conf > > # Default - Somewhat less secure, allowing e.g. .docm etc. > To: default /etc/MailScanner/filename.toexternal-rules.conf > > As a result, all mails were let through using the more relaxed rules > set. I tried altering the regexp pattern based on doing some tests, > changing it to e.g. /^(?!(theuser at domain.de))$/ (which at least was > accepted by the regexp tester I used), but it still didn't seem to match > any sender ... am I missing something here? Sorry, my mistake. The negative lookahead needs to be in parens as in your last example. Also, there is an issue because the negative lookahead doesn't consume any of the string. Thus your pattern /^(?!(theuser at domain.de))$/ will only match the null string because it says match the beginning of the string not followed by theuser at domain.de, but immediately followed by the end of the string. What you want is From: /^(?!theuser at domain.de$)/ and To: @domain.de /etc/MailScanner/filename.rules.conf or perhaps From: /^(?!(theuser|otheruser)@domain.de$)/ and To: @domain.de /etc/MailScanner/filename.rules.conf You need to have the '$' end of string be part of the lookahead pattern. Sorry for the confusion -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From garry at glendown.de Sat Apr 23 09:32:02 2016 From: garry at glendown.de (Garry Glendown) Date: Sat, 23 Apr 2016 11:32:02 +0200 Subject: Problem with user-specific filename rules In-Reply-To: <571A4F37.3040001@msapiro.net> References: <570F5F1C.7000008@glendown.de> <570FB75C.3060901@msapiro.net> <4b832ab1-7536-1ae7-ef50-04bf3994c74a@glendown.de> <571A4F37.3040001@msapiro.net> Message-ID: <0eb0fe83-53a2-c305-b020-4000d10a8ef5@glendown.de> On 22.04.2016 18:20, Mark Sapiro wrote: > Sorry, my mistake. The negative lookahead needs to be in parens as in > your last example. Also, there is an issue because the negative > lookahead doesn't consume any of the string. Thus your pattern > /^(?!(theuser at domain.de))$/ will only match the null string because it > says match the beginning of the string not followed by > theuser at domain.de, but immediately followed by the end of the string. Now that you write that, it makes sense ;) Just tried, works as expected! Thanks a lot!!! -garry From jerry.benton at mailborder.com Mon Apr 25 06:31:33 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Mon, 25 Apr 2016 02:31:33 -0400 Subject: MailScanner v5 standardization Message-ID: <4F292163-9D71-42B4-9BAB-6E521D39318A@mailborder.com> So I am working v5 now. I am trying to standardize everything across all NIX platforms. Apparently, we all can?t get along. -- FHS layout That /opt bullshit will be gone. This is the directory structure for every NIX: /etc/MailScanner /usr/share/MailScanner /var/lib/MailScanner /var/spool/MailScanner Symlinks will be provided in /etc/MailScanner for the following items: Custom perl modules: /etc/MailScanner/custom -> /usr/share/MailScanner/perl/custom Reports: /etc/MailScanner/reports ->/usr/share/MailScanner/reports Same place. Every OS. Celebrate. -- Basic config file I have a dilemma regarding the /etc/defaults/mailscanner or /etc/sysconfig/mailscanner or on FreeBSD ... I have no idea. The point being they are in different places on each OS. So, I am more than likely going to do this unless someone has a VERY compelling reason not to do this: /etc/MailScanner/defaults Same place. Every OS. Celebrate. -- init scripts I am also coming across standardization issues on init scripts. Like everything else, no one can agree on anything. Debian uses "start-stop-daemon? and RHEL uses ?daemon?. FreeBSD? No idea. The check_mailscanner script that checks to see if MailScanner is running and then starts it if it is not running uses MailScanner?s internal method of starting a daemon that is portable across all platforms. This is already in use on all packages on every OS. Very basic and very effective: /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf This starts the daemon using all of the settings from MailScanner.conf like ?Run As User? and ?PID File?. Life is easy and, more importantly, consistent. So unless someone has a VERY compelling reason for me to continue to try and Frankenstein a single init script to work on all platforms using the native methods, I am going to use the native MailScanner methods which will be a hell of a lot more predictable and consistent across all platforms. -- who?s on first? Name every MailScanner executable. You probably can?t, because I can?t. So all of the executables (except the primary /usr/sbin/mailscanner) will now be like this: ms-check ms-create-locks ms-peek ms-sa-cache and so on ? If you want to know all of the MailScanner commands, type ?ms-? and hit tab and they all magically appear. Imagine that. Note that I do not care how compelling a reason you have not to do this. I am doing it. Deal. -- cron jobs There are a bunch of different cron jobs depending on what package you are using. Again, I am calling bullshit. One cron job in /etc/cron.hourly and one in /etc/cron.daily that each point to a single file in /usr/sbin. The file will read your cron options from /etc/MailScanner/defaults and will be called like this: /usr/sbin/ms-cron hourly /usr/sbin/ms-cron daily ?hourly? runs your hourly cron jobs and ?daily? runs your daily cron jobs. NIXs that have /etc/cron.hourly/ and /etc/cron.daily/ will have the appropriate scripts to fire the cron jobs placed in those directories. NIXs that don?t simply add the ms-cron commands to your crontab. Feel free to comment, but keep in mind MailScanner needs to be standardized. This will make development, bug tracking, packaging, and just about everything else a hell of a lot more manageable and cross-platform friendly. - Jerry Benton www.mailborder.com From jerry.benton at mailborder.com Mon Apr 25 06:49:29 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Mon, 25 Apr 2016 02:49:29 -0400 Subject: MailScanner v5 standardization In-Reply-To: <4F292163-9D71-42B4-9BAB-6E521D39318A@mailborder.com> References: <4F292163-9D71-42B4-9BAB-6E521D39318A@mailborder.com> Message-ID: <1A647A96-AF66-4670-A401-F7607848B76D@mailborder.com> One more ? I will be removing the start/stop/restart links to postfix/exim/sendmail, etc within the MailScanner init script. The init script will control MailScanner and MailScanner only. As far I know, this should have no impact on sendmail/exim/postfix operation. From that I mean, ?service sendmail restart? should have both the in and out processes restarted without issue. There is no need for MailScanner to start and stop them. I know for a fact this has no impact on using MailScanner with Postfix. Correct me if I am wrong about Sendmail or Exim. - Jerry Benton www.mailborder.com > On Apr 25, 2016, at 2:31 AM, Jerry Benton wrote: > > So I am working v5 now. I am trying to standardize everything across all NIX platforms. Apparently, we all can?t get along. > > > -- FHS layout > > That /opt bullshit will be gone. This is the directory structure for every NIX: > > /etc/MailScanner > /usr/share/MailScanner > /var/lib/MailScanner > /var/spool/MailScanner > > Symlinks will be provided in /etc/MailScanner for the following items: > > Custom perl modules: > /etc/MailScanner/custom -> /usr/share/MailScanner/perl/custom > > Reports: > /etc/MailScanner/reports ->/usr/share/MailScanner/reports > > Same place. Every OS. Celebrate. > > > -- Basic config file > > I have a dilemma regarding the /etc/defaults/mailscanner or /etc/sysconfig/mailscanner or on FreeBSD ... I have no idea. > > The point being they are in different places on each OS. So, I am more than likely going to do this unless someone has a VERY compelling reason not to do this: > > /etc/MailScanner/defaults > > > Same place. Every OS. Celebrate. > > > > -- init scripts > > I am also coming across standardization issues on init scripts. Like everything else, no one can agree on anything. Debian uses "start-stop-daemon? and RHEL uses ?daemon?. FreeBSD? No idea. The check_mailscanner script that checks to see if MailScanner is running and then starts it if it is not running uses MailScanner?s internal method of starting a daemon that is portable across all platforms. This is already in use on all packages on every OS. Very basic and very effective: > > /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf > > This starts the daemon using all of the settings from MailScanner.conf like ?Run As User? and ?PID File?. Life is easy and, more importantly, consistent. > > So unless someone has a VERY compelling reason for me to continue to try and Frankenstein a single init script to work on all platforms using the native methods, I am going to use the native MailScanner methods which will be a hell of a lot more predictable and consistent across all platforms. > > > -- who?s on first? > > Name every MailScanner executable. You probably can?t, because I can?t. So all of the executables (except the primary /usr/sbin/mailscanner) will now be like this: > > ms-check > ms-create-locks > ms-peek > ms-sa-cache > > and so on ? > > If you want to know all of the MailScanner commands, type ?ms-? and hit tab and they all magically appear. Imagine that. Note that I do not care how compelling a reason you have not to do this. I am doing it. Deal. > > > -- cron jobs > > There are a bunch of different cron jobs depending on what package you are using. Again, I am calling bullshit. One cron job in /etc/cron.hourly and one in /etc/cron.daily that each point to a single file in /usr/sbin. The file will read your cron options from /etc/MailScanner/defaults and will be called like this: > > /usr/sbin/ms-cron hourly > /usr/sbin/ms-cron daily > > ?hourly? runs your hourly cron jobs and ?daily? runs your daily cron jobs. NIXs that have /etc/cron.hourly/ and /etc/cron.daily/ will have the appropriate scripts to fire the cron jobs placed in those directories. NIXs that don?t simply add the ms-cron commands to your crontab. > > > > Feel free to comment, but keep in mind MailScanner needs to be standardized. This will make development, bug tracking, packaging, and just about everything else a hell of a lot more manageable and cross-platform friendly. > > > - > Jerry Benton > www.mailborder.com > > > From gao at pztop.com Mon Apr 25 22:18:49 2016 From: gao at pztop.com (Gao) Date: Mon, 25 Apr 2016 15:18:49 -0700 Subject: MailScanner v5 standardization In-Reply-To: <1A647A96-AF66-4670-A401-F7607848B76D@mailborder.com> References: <4F292163-9D71-42B4-9BAB-6E521D39318A@mailborder.com> <1A647A96-AF66-4670-A401-F7607848B76D@mailborder.com> Message-ID: <571E97C9.7000308@pztop.com> So we still use init start script and no systemd support? Lots OS moved to systemd although I don't like it. Gao On 16-04-24 11:49 PM, Jerry Benton wrote: > One more ? > > I will be removing the start/stop/restart links to postfix/exim/sendmail, etc within the MailScanner init script. The init script will control MailScanner and MailScanner only. As far I know, this should have no impact on sendmail/exim/postfix operation. From that I mean, ?service sendmail restart? should have both the in and out processes restarted without issue. There is no need for MailScanner to start and stop them. I know for a fact this has no impact on using MailScanner with Postfix. > > Correct me if I am wrong about Sendmail or Exim. > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 25, 2016, at 2:31 AM, Jerry Benton wrote: >> >> So I am working v5 now. I am trying to standardize everything across all NIX platforms. Apparently, we all can?t get along. >> >> >> -- FHS layout >> >> That /opt bullshit will be gone. This is the directory structure for every NIX: >> >> /etc/MailScanner >> /usr/share/MailScanner >> /var/lib/MailScanner >> /var/spool/MailScanner >> >> Symlinks will be provided in /etc/MailScanner for the following items: >> >> Custom perl modules: >> /etc/MailScanner/custom -> /usr/share/MailScanner/perl/custom >> >> Reports: >> /etc/MailScanner/reports ->/usr/share/MailScanner/reports >> >> Same place. Every OS. Celebrate. >> >> >> -- Basic config file >> >> I have a dilemma regarding the /etc/defaults/mailscanner or /etc/sysconfig/mailscanner or on FreeBSD ... I have no idea. >> >> The point being they are in different places on each OS. So, I am more than likely going to do this unless someone has a VERY compelling reason not to do this: >> >> /etc/MailScanner/defaults >> >> >> Same place. Every OS. Celebrate. >> >> >> >> -- init scripts >> >> I am also coming across standardization issues on init scripts. Like everything else, no one can agree on anything. Debian uses "start-stop-daemon? and RHEL uses ?daemon?. FreeBSD? No idea. The check_mailscanner script that checks to see if MailScanner is running and then starts it if it is not running uses MailScanner?s internal method of starting a daemon that is portable across all platforms. This is already in use on all packages on every OS. Very basic and very effective: >> >> /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf >> >> This starts the daemon using all of the settings from MailScanner.conf like ?Run As User? and ?PID File?. Life is easy and, more importantly, consistent. >> >> So unless someone has a VERY compelling reason for me to continue to try and Frankenstein a single init script to work on all platforms using the native methods, I am going to use the native MailScanner methods which will be a hell of a lot more predictable and consistent across all platforms. >> >> >> -- who?s on first? >> >> Name every MailScanner executable. You probably can?t, because I can?t. So all of the executables (except the primary /usr/sbin/mailscanner) will now be like this: >> >> ms-check >> ms-create-locks >> ms-peek >> ms-sa-cache >> >> and so on ? >> >> If you want to know all of the MailScanner commands, type ?ms-? and hit tab and they all magically appear. Imagine that. Note that I do not care how compelling a reason you have not to do this. I am doing it. Deal. >> >> >> -- cron jobs >> >> There are a bunch of different cron jobs depending on what package you are using. Again, I am calling bullshit. One cron job in /etc/cron.hourly and one in /etc/cron.daily that each point to a single file in /usr/sbin. The file will read your cron options from /etc/MailScanner/defaults and will be called like this: >> >> /usr/sbin/ms-cron hourly >> /usr/sbin/ms-cron daily >> >> ?hourly? runs your hourly cron jobs and ?daily? runs your daily cron jobs. NIXs that have /etc/cron.hourly/ and /etc/cron.daily/ will have the appropriate scripts to fire the cron jobs placed in those directories. NIXs that don?t simply add the ms-cron commands to your crontab. >> >> >> >> Feel free to comment, but keep in mind MailScanner needs to be standardized. This will make development, bug tracking, packaging, and just about everything else a hell of a lot more manageable and cross-platform friendly. >> >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> > > From jerry.benton at mailborder.com Mon Apr 25 22:22:39 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Mon, 25 Apr 2016 18:22:39 -0400 Subject: MailScanner v5 standardization In-Reply-To: <571E97C9.7000308@pztop.com> References: <4F292163-9D71-42B4-9BAB-6E521D39318A@mailborder.com> <1A647A96-AF66-4670-A401-F7607848B76D@mailborder.com> <571E97C9.7000308@pztop.com> Message-ID: <1307CDC6-41CD-4DD7-826B-40D57D00538D@mailborder.com> The script to start the process will be here: /usr/share/MailScanner/init/mailscanner Depending on the distribution, it will be symlinked to /etc/init.d/ or /etc/rc.d/init.d/ or ? I am still working on FreeBSD and other NIXs. I have not researched the systemd thing yet. I know a similar process can be accomplished. I just don?t have the details yet. - Jerry Benton www.mailborder.com > On Apr 25, 2016, at 6:18 PM, Gao wrote: > > So we still use init start script and no systemd support? Lots OS moved to systemd although I don't like it. > > Gao > > On 16-04-24 11:49 PM, Jerry Benton wrote: >> One more ? >> >> I will be removing the start/stop/restart links to postfix/exim/sendmail, etc within the MailScanner init script. The init script will control MailScanner and MailScanner only. As far I know, this should have no impact on sendmail/exim/postfix operation. From that I mean, ?service sendmail restart? should have both the in and out processes restarted without issue. There is no need for MailScanner to start and stop them. I know for a fact this has no impact on using MailScanner with Postfix. >> >> Correct me if I am wrong about Sendmail or Exim. >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >>> On Apr 25, 2016, at 2:31 AM, Jerry Benton wrote: >>> >>> So I am working v5 now. I am trying to standardize everything across all NIX platforms. Apparently, we all can?t get along. >>> >>> >>> -- FHS layout >>> >>> That /opt bullshit will be gone. This is the directory structure for every NIX: >>> >>> /etc/MailScanner >>> /usr/share/MailScanner >>> /var/lib/MailScanner >>> /var/spool/MailScanner >>> >>> Symlinks will be provided in /etc/MailScanner for the following items: >>> >>> Custom perl modules: >>> /etc/MailScanner/custom -> /usr/share/MailScanner/perl/custom >>> >>> Reports: >>> /etc/MailScanner/reports ->/usr/share/MailScanner/reports >>> >>> Same place. Every OS. Celebrate. >>> >>> >>> -- Basic config file >>> >>> I have a dilemma regarding the /etc/defaults/mailscanner or /etc/sysconfig/mailscanner or on FreeBSD ... I have no idea. >>> >>> The point being they are in different places on each OS. So, I am more than likely going to do this unless someone has a VERY compelling reason not to do this: >>> >>> /etc/MailScanner/defaults >>> >>> >>> Same place. Every OS. Celebrate. >>> >>> >>> >>> -- init scripts >>> >>> I am also coming across standardization issues on init scripts. Like everything else, no one can agree on anything. Debian uses "start-stop-daemon? and RHEL uses ?daemon?. FreeBSD? No idea. The check_mailscanner script that checks to see if MailScanner is running and then starts it if it is not running uses MailScanner?s internal method of starting a daemon that is portable across all platforms. This is already in use on all packages on every OS. Very basic and very effective: >>> >>> /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf >>> >>> This starts the daemon using all of the settings from MailScanner.conf like ?Run As User? and ?PID File?. Life is easy and, more importantly, consistent. >>> >>> So unless someone has a VERY compelling reason for me to continue to try and Frankenstein a single init script to work on all platforms using the native methods, I am going to use the native MailScanner methods which will be a hell of a lot more predictable and consistent across all platforms. >>> >>> >>> -- who?s on first? >>> >>> Name every MailScanner executable. You probably can?t, because I can?t. So all of the executables (except the primary /usr/sbin/mailscanner) will now be like this: >>> >>> ms-check >>> ms-create-locks >>> ms-peek >>> ms-sa-cache >>> >>> and so on ? >>> >>> If you want to know all of the MailScanner commands, type ?ms-? and hit tab and they all magically appear. Imagine that. Note that I do not care how compelling a reason you have not to do this. I am doing it. Deal. >>> >>> >>> -- cron jobs >>> >>> There are a bunch of different cron jobs depending on what package you are using. Again, I am calling bullshit. One cron job in /etc/cron.hourly and one in /etc/cron.daily that each point to a single file in /usr/sbin. The file will read your cron options from /etc/MailScanner/defaults and will be called like this: >>> >>> /usr/sbin/ms-cron hourly >>> /usr/sbin/ms-cron daily >>> >>> ?hourly? runs your hourly cron jobs and ?daily? runs your daily cron jobs. NIXs that have /etc/cron.hourly/ and /etc/cron.daily/ will have the appropriate scripts to fire the cron jobs placed in those directories. NIXs that don?t simply add the ms-cron commands to your crontab. >>> >>> >>> >>> Feel free to comment, but keep in mind MailScanner needs to be standardized. This will make development, bug tracking, packaging, and just about everything else a hell of a lot more manageable and cross-platform friendly. >>> >>> >>> - >>> Jerry Benton >>> www.mailborder.com >>> >>> >>> >> >> > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > From jerry.benton at mailborder.com Mon Apr 25 23:39:47 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Mon, 25 Apr 2016 19:39:47 -0400 Subject: MailScanner - RHEL 7 Systemd Message-ID: <7D91BA6B-4914-42B7-BD9E-EBB33751324E@mailborder.com> If someone has worked out (RHEL7) systemd init scripts, please share. Please include all of the steps you took to get it running. - Jerry Benton www.mailborder.com From dave at jonesol.com Tue Apr 26 22:11:38 2016 From: dave at jonesol.com (Dave Jones) Date: Tue, 26 Apr 2016 17:11:38 -0500 Subject: MailScanner v5 standardization In-Reply-To: <1307CDC6-41CD-4DD7-826B-40D57D00538D@mailborder.com> References: <4F292163-9D71-42B4-9BAB-6E521D39318A@mailborder.com> <1A647A96-AF66-4670-A401-F7607848B76D@mailborder.com> <571E97C9.7000308@pztop.com> <1307CDC6-41CD-4DD7-826B-40D57D00538D@mailborder.com> Message-ID: Any thoughts about trying to get a docker image for MailScanner so it would be very easy to get running on any OS? It would be a very large and interesting Dockerfile... :) On Mon, Apr 25, 2016 at 5:22 PM, Jerry Benton wrote: > The script to start the process will be here: > > /usr/share/MailScanner/init/mailscanner > > Depending on the distribution, it will be symlinked to /etc/init.d/ or > /etc/rc.d/init.d/ or ? I am still working on FreeBSD and other NIXs. > > I have not researched the systemd thing yet. I know a similar process can > be accomplished. I just don?t have the details yet. > > - > Jerry Benton > www.mailborder.com > > > > > On Apr 25, 2016, at 6:18 PM, Gao wrote: > > > > So we still use init start script and no systemd support? Lots OS moved > to systemd although I don't like it. > > > > Gao > > > > On 16-04-24 11:49 PM, Jerry Benton wrote: > >> One more ? > >> > >> I will be removing the start/stop/restart links to > postfix/exim/sendmail, etc within the MailScanner init script. The init > script will control MailScanner and MailScanner only. As far I know, this > should have no impact on sendmail/exim/postfix operation. From that I mean, > ?service sendmail restart? should have both the in and out processes > restarted without issue. There is no need for MailScanner to start and stop > them. I know for a fact this has no impact on using MailScanner with > Postfix. > >> > >> Correct me if I am wrong about Sendmail or Exim. > >> > >> - > >> Jerry Benton > >> www.mailborder.com > >> > >> > >> > >>> On Apr 25, 2016, at 2:31 AM, Jerry Benton > wrote: > >>> > >>> So I am working v5 now. I am trying to standardize everything across > all NIX platforms. Apparently, we all can?t get along. > >>> > >>> > >>> -- FHS layout > >>> > >>> That /opt bullshit will be gone. This is the directory structure for > every NIX: > >>> > >>> /etc/MailScanner > >>> /usr/share/MailScanner > >>> /var/lib/MailScanner > >>> /var/spool/MailScanner > >>> > >>> Symlinks will be provided in /etc/MailScanner for the following items: > >>> > >>> Custom perl modules: > >>> /etc/MailScanner/custom -> /usr/share/MailScanner/perl/custom > >>> > >>> Reports: > >>> /etc/MailScanner/reports ->/usr/share/MailScanner/reports > >>> > >>> Same place. Every OS. Celebrate. > >>> > >>> > >>> -- Basic config file > >>> > >>> I have a dilemma regarding the /etc/defaults/mailscanner or > /etc/sysconfig/mailscanner or on FreeBSD ... I have no idea. > >>> > >>> The point being they are in different places on each OS. So, I am more > than likely going to do this unless someone has a VERY compelling reason > not to do this: > >>> > >>> /etc/MailScanner/defaults > >>> > >>> > >>> Same place. Every OS. Celebrate. > >>> > >>> > >>> > >>> -- init scripts > >>> > >>> I am also coming across standardization issues on init scripts. Like > everything else, no one can agree on anything. Debian uses > "start-stop-daemon? and RHEL uses ?daemon?. FreeBSD? No idea. The > check_mailscanner script that checks to see if MailScanner is running and > then starts it if it is not running uses MailScanner?s internal method of > starting a daemon that is portable across all platforms. This is already in > use on all packages on every OS. Very basic and very effective: > >>> > >>> /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf > >>> > >>> This starts the daemon using all of the settings from MailScanner.conf > like ?Run As User? and ?PID File?. Life is easy and, more importantly, > consistent. > >>> > >>> So unless someone has a VERY compelling reason for me to continue to > try and Frankenstein a single init script to work on all platforms using > the native methods, I am going to use the native MailScanner methods which > will be a hell of a lot more predictable and consistent across all > platforms. > >>> > >>> > >>> -- who?s on first? > >>> > >>> Name every MailScanner executable. You probably can?t, because I > can?t. So all of the executables (except the primary /usr/sbin/mailscanner) > will now be like this: > >>> > >>> ms-check > >>> ms-create-locks > >>> ms-peek > >>> ms-sa-cache > >>> > >>> and so on ? > >>> > >>> If you want to know all of the MailScanner commands, type ?ms-? and > hit tab and they all magically appear. Imagine that. Note that I do not > care how compelling a reason you have not to do this. I am doing it. Deal. > >>> > >>> > >>> -- cron jobs > >>> > >>> There are a bunch of different cron jobs depending on what package you > are using. Again, I am calling bullshit. One cron job in /etc/cron.hourly > and one in /etc/cron.daily that each point to a single file in /usr/sbin. > The file will read your cron options from /etc/MailScanner/defaults and > will be called like this: > >>> > >>> /usr/sbin/ms-cron hourly > >>> /usr/sbin/ms-cron daily > >>> > >>> ?hourly? runs your hourly cron jobs and ?daily? runs your daily cron > jobs. NIXs that have /etc/cron.hourly/ and /etc/cron.daily/ will have the > appropriate scripts to fire the cron jobs placed in those directories. NIXs > that don?t simply add the ms-cron commands to your crontab. > >>> > >>> > >>> > >>> Feel free to comment, but keep in mind MailScanner needs to be > standardized. This will make development, bug tracking, packaging, and just > about everything else a hell of a lot more manageable and cross-platform > friendly. > >>> > >>> > >>> - > >>> Jerry Benton > >>> www.mailborder.com > >>> > >>> > >>> > >> > >> > > > > > > > > -- > > MailScanner mailing list > > mailscanner at lists.mailscanner.info > > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pndiku at gmail.com Wed Apr 27 07:29:18 2016 From: pndiku at gmail.com (Peter C. Ndikuwera) Date: Wed, 27 Apr 2016 10:29:18 +0300 Subject: MailScanner v5 standardization In-Reply-To: References: <4F292163-9D71-42B4-9BAB-6E521D39318A@mailborder.com> <1A647A96-AF66-4670-A401-F7607848B76D@mailborder.com> <571E97C9.7000308@pztop.com> <1307CDC6-41CD-4DD7-826B-40D57D00538D@mailborder.com> Message-ID: AFAIK, systemd is backwards compatible with init scripts. So it should work. -- Evolution (n): A hypothetical process whereby infinitely improbable events occur with alarming frequency, order arises from chaos, and no one is given credit. On 27 April 2016 at 01:11, Dave Jones wrote: > Any thoughts about trying to get a docker image for MailScanner so it > would be very easy to get running on any OS? It would be a very large and > interesting Dockerfile... :) > > On Mon, Apr 25, 2016 at 5:22 PM, Jerry Benton > wrote: > >> The script to start the process will be here: >> >> /usr/share/MailScanner/init/mailscanner >> >> Depending on the distribution, it will be symlinked to /etc/init.d/ or >> /etc/rc.d/init.d/ or ? I am still working on FreeBSD and other NIXs. >> >> I have not researched the systemd thing yet. I know a similar process can >> be accomplished. I just don?t have the details yet. >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >> > On Apr 25, 2016, at 6:18 PM, Gao wrote: >> > >> > So we still use init start script and no systemd support? Lots OS moved >> to systemd although I don't like it. >> > >> > Gao >> > >> > On 16-04-24 11:49 PM, Jerry Benton wrote: >> >> One more ? >> >> >> >> I will be removing the start/stop/restart links to >> postfix/exim/sendmail, etc within the MailScanner init script. The init >> script will control MailScanner and MailScanner only. As far I know, this >> should have no impact on sendmail/exim/postfix operation. From that I mean, >> ?service sendmail restart? should have both the in and out processes >> restarted without issue. There is no need for MailScanner to start and stop >> them. I know for a fact this has no impact on using MailScanner with >> Postfix. >> >> >> >> Correct me if I am wrong about Sendmail or Exim. >> >> >> >> - >> >> Jerry Benton >> >> www.mailborder.com >> >> >> >> >> >> >> >>> On Apr 25, 2016, at 2:31 AM, Jerry Benton < >> jerry.benton at mailborder.com> wrote: >> >>> >> >>> So I am working v5 now. I am trying to standardize everything across >> all NIX platforms. Apparently, we all can?t get along. >> >>> >> >>> >> >>> -- FHS layout >> >>> >> >>> That /opt bullshit will be gone. This is the directory structure for >> every NIX: >> >>> >> >>> /etc/MailScanner >> >>> /usr/share/MailScanner >> >>> /var/lib/MailScanner >> >>> /var/spool/MailScanner >> >>> >> >>> Symlinks will be provided in /etc/MailScanner for the following items: >> >>> >> >>> Custom perl modules: >> >>> /etc/MailScanner/custom -> /usr/share/MailScanner/perl/custom >> >>> >> >>> Reports: >> >>> /etc/MailScanner/reports ->/usr/share/MailScanner/reports >> >>> >> >>> Same place. Every OS. Celebrate. >> >>> >> >>> >> >>> -- Basic config file >> >>> >> >>> I have a dilemma regarding the /etc/defaults/mailscanner or >> /etc/sysconfig/mailscanner or on FreeBSD ... I have no idea. >> >>> >> >>> The point being they are in different places on each OS. So, I am >> more than likely going to do this unless someone has a VERY compelling >> reason not to do this: >> >>> >> >>> /etc/MailScanner/defaults >> >>> >> >>> >> >>> Same place. Every OS. Celebrate. >> >>> >> >>> >> >>> >> >>> -- init scripts >> >>> >> >>> I am also coming across standardization issues on init scripts. Like >> everything else, no one can agree on anything. Debian uses >> "start-stop-daemon? and RHEL uses ?daemon?. FreeBSD? No idea. The >> check_mailscanner script that checks to see if MailScanner is running and >> then starts it if it is not running uses MailScanner?s internal method of >> starting a daemon that is portable across all platforms. This is already in >> use on all packages on every OS. Very basic and very effective: >> >>> >> >>> /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf >> >>> >> >>> This starts the daemon using all of the settings from >> MailScanner.conf like ?Run As User? and ?PID File?. Life is easy and, more >> importantly, consistent. >> >>> >> >>> So unless someone has a VERY compelling reason for me to continue to >> try and Frankenstein a single init script to work on all platforms using >> the native methods, I am going to use the native MailScanner methods which >> will be a hell of a lot more predictable and consistent across all >> platforms. >> >>> >> >>> >> >>> -- who?s on first? >> >>> >> >>> Name every MailScanner executable. You probably can?t, because I >> can?t. So all of the executables (except the primary /usr/sbin/mailscanner) >> will now be like this: >> >>> >> >>> ms-check >> >>> ms-create-locks >> >>> ms-peek >> >>> ms-sa-cache >> >>> >> >>> and so on ? >> >>> >> >>> If you want to know all of the MailScanner commands, type ?ms-? and >> hit tab and they all magically appear. Imagine that. Note that I do not >> care how compelling a reason you have not to do this. I am doing it. Deal. >> >>> >> >>> >> >>> -- cron jobs >> >>> >> >>> There are a bunch of different cron jobs depending on what package >> you are using. Again, I am calling bullshit. One cron job in >> /etc/cron.hourly and one in /etc/cron.daily that each point to a single >> file in /usr/sbin. The file will read your cron options from >> /etc/MailScanner/defaults and will be called like this: >> >>> >> >>> /usr/sbin/ms-cron hourly >> >>> /usr/sbin/ms-cron daily >> >>> >> >>> ?hourly? runs your hourly cron jobs and ?daily? runs your daily cron >> jobs. NIXs that have /etc/cron.hourly/ and /etc/cron.daily/ will have the >> appropriate scripts to fire the cron jobs placed in those directories. NIXs >> that don?t simply add the ms-cron commands to your crontab. >> >>> >> >>> >> >>> >> >>> Feel free to comment, but keep in mind MailScanner needs to be >> standardized. This will make development, bug tracking, packaging, and just >> about everything else a hell of a lot more manageable and cross-platform >> friendly. >> >>> >> >>> >> >>> - >> >>> Jerry Benton >> >>> www.mailborder.com >> >>> >> >>> >> >>> >> >> >> >> >> > >> > >> > >> > -- >> > MailScanner mailing list >> > mailscanner at lists.mailscanner.info >> > http://lists.mailscanner.info/listinfo/mailscanner >> > >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> >> > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick at yoopermail.us Wed Apr 27 14:48:33 2016 From: patrick at yoopermail.us (Patrick Goupell) Date: Wed, 27 Apr 2016 10:48:33 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts Message-ID: <5720D141.2070104@yoopermail.us> I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz During install I get the folow messages Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... Unpacking mailscanner (4.85.2-3) ... dpkg: dependency problems prevent configuration of mailscanner: mailscanner depends on perl-modules (>= 5.8.7); however: Package perl-modules is not installed. Version of perl-modules on system, provided by perl-modules-5.22:all, is . dpkg: error processing package mailscanner (--install): dependency problems - leaving unconfigured Processing triggers for man-db (2.7.5-1) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for systemd (229-4ubuntu4) ... Errors were encountered while processing: mailscanner ---------------------------------------------------------- Installation Error The MailScanner package failed to install. Address the required dependencies and run the installer again. Note that Perl modules need to be available system-wide. A common issue is that missing modules were installed in a user specific configuration. If I do an apt-cache search perl-modules I get the following libperl5.22 - shared Perl library perl-base - minimal Perl system perl-modules-5.22 - Core Perl modules kamailio-perl-modules - Perl extensions and database driver for Kamailio libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) What do I do now? -- Patrick Goupell Are you free? Find out at http://www.sedm.org/ Income taxes? Find out at http://www.whatistaxed.com From jerry.benton at mailborder.com Wed Apr 27 20:39:50 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Wed, 27 Apr 2016 16:39:50 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: <5720D141.2070104@yoopermail.us> References: <5720D141.2070104@yoopermail.us> Message-ID: <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> Use the install script that comes with the package. - Jerry Benton www.mailborder.com > On Apr 27, 2016, at 10:48 AM, Patrick Goupell wrote: > > I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at > https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz > > During install I get the folow messages > > Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... > Unpacking mailscanner (4.85.2-3) ... > dpkg: dependency problems prevent configuration of mailscanner: > mailscanner depends on perl-modules (>= 5.8.7); however: > Package perl-modules is not installed. > Version of perl-modules on system, provided by perl-modules-5.22:all, is . > > dpkg: error processing package mailscanner (--install): > dependency problems - leaving unconfigured > Processing triggers for man-db (2.7.5-1) ... > Processing triggers for ureadahead (0.100.0-19) ... > Processing triggers for systemd (229-4ubuntu4) ... > Errors were encountered while processing: > mailscanner > > ---------------------------------------------------------- > Installation Error > > The MailScanner package failed to install. Address the required > dependencies and run the installer again. > > Note that Perl modules need to be available system-wide. A > common issue is that missing modules were installed in a > user specific configuration. > > If I do an apt-cache search perl-modules I get the following > > libperl5.22 - shared Perl library > perl-base - minimal Perl system > perl-modules-5.22 - Core Perl modules > kamailio-perl-modules - Perl extensions and database driver for Kamailio > libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) > > What do I do now? > > -- > Patrick Goupell > > Are you free? Find out at http://www.sedm.org/ > Income taxes? Find out at http://www.whatistaxed.com > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > From patrick at yoopermail.us Wed Apr 27 21:24:20 2016 From: patrick at yoopermail.us (Patrick Goupell) Date: Wed, 27 Apr 2016 17:24:20 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> Message-ID: <57212E04.8050204@yoopermail.us> Here are the terminal commands I used: wget https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz tar -xvf MailScanner*.tar.gz cd MailScanner* ./install.sh On 04/27/2016 04:39 PM, Jerry Benton wrote: > Use the install script that comes with the package. > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 27, 2016, at 10:48 AM, Patrick Goupell wrote: >> >> I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at >> https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >> >> During install I get the folow messages >> >> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >> Unpacking mailscanner (4.85.2-3) ... >> dpkg: dependency problems prevent configuration of mailscanner: >> mailscanner depends on perl-modules (>= 5.8.7); however: >> Package perl-modules is not installed. >> Version of perl-modules on system, provided by perl-modules-5.22:all, is . >> >> dpkg: error processing package mailscanner (--install): >> dependency problems - leaving unconfigured >> Processing triggers for man-db (2.7.5-1) ... >> Processing triggers for ureadahead (0.100.0-19) ... >> Processing triggers for systemd (229-4ubuntu4) ... >> Errors were encountered while processing: >> mailscanner >> >> ---------------------------------------------------------- >> Installation Error >> >> The MailScanner package failed to install. Address the required >> dependencies and run the installer again. >> >> Note that Perl modules need to be available system-wide. A >> common issue is that missing modules were installed in a >> user specific configuration. >> >> If I do an apt-cache search perl-modules I get the following >> >> libperl5.22 - shared Perl library >> perl-base - minimal Perl system >> perl-modules-5.22 - Core Perl modules >> kamailio-perl-modules - Perl extensions and database driver for Kamailio >> libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) >> >> What do I do now? >> >> -- >> Patrick Goupell >> >> Are you free? Find out at http://www.sedm.org/ >> Income taxes? Find out at http://www.whatistaxed.com >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> > > -- Patrick Goupell Are you free? Find out at http://www.sedm.org/ Income taxes? Find out at http://www.whatistaxed.com From jerry.benton at mailborder.com Wed Apr 27 21:27:52 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Wed, 27 Apr 2016 17:27:52 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: <57212E04.8050204@yoopermail.us> References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> Message-ID: <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> try: apt-get update apt-get install perl-modules - Jerry Benton www.mailborder.com > On Apr 27, 2016, at 5:24 PM, Patrick Goupell wrote: > > Here are the terminal commands I used: > > wget https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz > tar -xvf MailScanner*.tar.gz > cd MailScanner* > ./install.sh > > > > > On 04/27/2016 04:39 PM, Jerry Benton wrote: >> Use the install script that comes with the package. >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >>> On Apr 27, 2016, at 10:48 AM, Patrick Goupell wrote: >>> >>> I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at >>> https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>> >>> During install I get the folow messages >>> >>> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >>> Unpacking mailscanner (4.85.2-3) ... >>> dpkg: dependency problems prevent configuration of mailscanner: >>> mailscanner depends on perl-modules (>= 5.8.7); however: >>> Package perl-modules is not installed. >>> Version of perl-modules on system, provided by perl-modules-5.22:all, is . >>> >>> dpkg: error processing package mailscanner (--install): >>> dependency problems - leaving unconfigured >>> Processing triggers for man-db (2.7.5-1) ... >>> Processing triggers for ureadahead (0.100.0-19) ... >>> Processing triggers for systemd (229-4ubuntu4) ... >>> Errors were encountered while processing: >>> mailscanner >>> >>> ---------------------------------------------------------- >>> Installation Error >>> >>> The MailScanner package failed to install. Address the required >>> dependencies and run the installer again. >>> >>> Note that Perl modules need to be available system-wide. A >>> common issue is that missing modules were installed in a >>> user specific configuration. >>> >>> If I do an apt-cache search perl-modules I get the following >>> >>> libperl5.22 - shared Perl library >>> perl-base - minimal Perl system >>> perl-modules-5.22 - Core Perl modules >>> kamailio-perl-modules - Perl extensions and database driver for Kamailio >>> libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) >>> >>> What do I do now? >>> >>> -- >>> Patrick Goupell >>> >>> Are you free? Find out at http://www.sedm.org/ >>> Income taxes? Find out at http://www.whatistaxed.com >>> >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/listinfo/mailscanner >>> >> >> > > -- > Patrick Goupell > > Are you free? Find out at http://www.sedm.org/ > Income taxes? Find out at http://www.whatistaxed.com > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > From patrick at yoopermail.us Wed Apr 27 21:48:46 2016 From: patrick at yoopermail.us (Patrick Goupell) Date: Wed, 27 Apr 2016 17:48:46 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> Message-ID: <572133BE.8030504@yoopermail.us> perl-modules are already installed, note from the original post Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... Unpacking mailscanner (4.85.2-3) ... dpkg: dependency problems prevent configuration of mailscanner: mailscanner depends on perl-modules (>= 5.8.7); however: Package perl-modules is not installed. Version of perl-modules on system, provided by perl-modules-5.22:all, is . <===*** but trie it anyway apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB] Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease Hit:3 http://archive.canonical.com/ubuntu xenial InRelease Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB] Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [25.8 kB] Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [22.0 kB] Get:8 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [25.8 kB] Get:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [8,356 B] Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [21.9 kB] Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [8,908 B] Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [3,932 B] Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [3,920 B] Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [2,328 B] Fetched 308 kB in 3s (83.7 kB/s) Reading package lists... Done root at ubuntu:/home/patrick# apt-get install perl-modules Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'perl-modules-5.22' instead of 'perl-modules' perl-modules-5.22 is already the newest version (5.22.1-9). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. On 04/27/2016 05:27 PM, Jerry Benton wrote: > try: > > apt-get update > apt-get install perl-modules > > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 27, 2016, at 5:24 PM, Patrick Goupell wrote: >> >> Here are the terminal commands I used: >> >> wget https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >> tar -xvf MailScanner*.tar.gz >> cd MailScanner* >> ./install.sh >> >> >> >> >> On 04/27/2016 04:39 PM, Jerry Benton wrote: >>> Use the install script that comes with the package. >>> >>> - >>> Jerry Benton >>> www.mailborder.com >>> >>> >>> >>>> On Apr 27, 2016, at 10:48 AM, Patrick Goupell wrote: >>>> >>>> I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at >>>> https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>> >>>> During install I get the folow messages >>>> >>>> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >>>> Unpacking mailscanner (4.85.2-3) ... >>>> dpkg: dependency problems prevent configuration of mailscanner: >>>> mailscanner depends on perl-modules (>= 5.8.7); however: >>>> Package perl-modules is not installed. >>>> Version of perl-modules on system, provided by perl-modules-5.22:all, is . >>>> >>>> dpkg: error processing package mailscanner (--install): >>>> dependency problems - leaving unconfigured >>>> Processing triggers for man-db (2.7.5-1) ... >>>> Processing triggers for ureadahead (0.100.0-19) ... >>>> Processing triggers for systemd (229-4ubuntu4) ... >>>> Errors were encountered while processing: >>>> mailscanner >>>> >>>> ---------------------------------------------------------- >>>> Installation Error >>>> >>>> The MailScanner package failed to install. Address the required >>>> dependencies and run the installer again. >>>> >>>> Note that Perl modules need to be available system-wide. A >>>> common issue is that missing modules were installed in a >>>> user specific configuration. >>>> >>>> If I do an apt-cache search perl-modules I get the following >>>> >>>> libperl5.22 - shared Perl library >>>> perl-base - minimal Perl system >>>> perl-modules-5.22 - Core Perl modules >>>> kamailio-perl-modules - Perl extensions and database driver for Kamailio >>>> libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) >>>> >>>> What do I do now? >>>> >>>> -- >>>> Patrick Goupell >>>> >>>> Are you free? Find out at http://www.sedm.org/ >>>> Income taxes? Find out at http://www.whatistaxed.com >>>> >>>> >>>> >>>> -- >>>> MailScanner mailing list >>>> mailscanner at lists.mailscanner.info >>>> http://lists.mailscanner.info/listinfo/mailscanner >>>> >>> >> -- >> Patrick Goupell >> >> Are you free? Find out at http://www.sedm.org/ >> Income taxes? Find out at http://www.whatistaxed.com >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> > > -- Patrick Goupell Are you free? Find out at http://www.sedm.org/ Income taxes? Find out at http://www.whatistaxed.com From jerry.benton at mailborder.com Wed Apr 27 21:51:27 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Wed, 27 Apr 2016 17:51:27 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: <572133BE.8030504@yoopermail.us> References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> <572133BE.8030504@yoopermail.us> Message-ID: Ok. Seems something has changed with the package, which is not surprising. Force install it: dpkg --force-all -i mailscanner-4.85.2-3-noarch.deb - Jerry Benton www.mailborder.com > On Apr 27, 2016, at 5:48 PM, Patrick Goupell wrote: > > perl-modules are already installed, note from the original post > > Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... > Unpacking mailscanner (4.85.2-3) ... > dpkg: dependency problems prevent configuration of mailscanner: > mailscanner depends on perl-modules (>= 5.8.7); however: > Package perl-modules is not installed. > Version of perl-modules on system, provided by perl-modules-5.22:all, is . <===*** > > > but trie it anyway > > apt-get update > Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB] > Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease > Hit:3 http://archive.canonical.com/ubuntu xenial InRelease > Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB] > Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease > Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [25.8 kB] > Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [22.0 kB] > Get:8 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [25.8 kB] > Get:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [8,356 B] > Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [21.9 kB] > Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [8,908 B] > Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [3,932 B] > Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [3,920 B] > Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [2,328 B] > Fetched 308 kB in 3s (83.7 kB/s) > Reading package lists... Done > root at ubuntu:/home/patrick# apt-get install perl-modules > Reading package lists... Done > Building dependency tree > Reading state information... Done > Note, selecting 'perl-modules-5.22' instead of 'perl-modules' > perl-modules-5.22 is already the newest version (5.22.1-9). > 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. > > > > > On 04/27/2016 05:27 PM, Jerry Benton wrote: >> try: >> >> apt-get update >> apt-get install perl-modules >> >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >>> On Apr 27, 2016, at 5:24 PM, Patrick Goupell wrote: >>> >>> Here are the terminal commands I used: >>> >>> wget https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>> tar -xvf MailScanner*.tar.gz >>> cd MailScanner* >>> ./install.sh >>> >>> >>> >>> >>> On 04/27/2016 04:39 PM, Jerry Benton wrote: >>>> Use the install script that comes with the package. >>>> >>>> - >>>> Jerry Benton >>>> www.mailborder.com >>>> >>>> >>>> >>>>> On Apr 27, 2016, at 10:48 AM, Patrick Goupell wrote: >>>>> >>>>> I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at >>>>> https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>>> >>>>> During install I get the folow messages >>>>> >>>>> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >>>>> Unpacking mailscanner (4.85.2-3) ... >>>>> dpkg: dependency problems prevent configuration of mailscanner: >>>>> mailscanner depends on perl-modules (>= 5.8.7); however: >>>>> Package perl-modules is not installed. >>>>> Version of perl-modules on system, provided by perl-modules-5.22:all, is . >>>>> >>>>> dpkg: error processing package mailscanner (--install): >>>>> dependency problems - leaving unconfigured >>>>> Processing triggers for man-db (2.7.5-1) ... >>>>> Processing triggers for ureadahead (0.100.0-19) ... >>>>> Processing triggers for systemd (229-4ubuntu4) ... >>>>> Errors were encountered while processing: >>>>> mailscanner >>>>> >>>>> ---------------------------------------------------------- >>>>> Installation Error >>>>> >>>>> The MailScanner package failed to install. Address the required >>>>> dependencies and run the installer again. >>>>> >>>>> Note that Perl modules need to be available system-wide. A >>>>> common issue is that missing modules were installed in a >>>>> user specific configuration. >>>>> >>>>> If I do an apt-cache search perl-modules I get the following >>>>> >>>>> libperl5.22 - shared Perl library >>>>> perl-base - minimal Perl system >>>>> perl-modules-5.22 - Core Perl modules >>>>> kamailio-perl-modules - Perl extensions and database driver for Kamailio >>>>> libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) >>>>> >>>>> What do I do now? >>>>> >>>>> -- >>>>> Patrick Goupell >>>>> >>>>> Are you free? Find out at http://www.sedm.org/ >>>>> Income taxes? Find out at http://www.whatistaxed.com >>>>> >>>>> >>>>> >>>>> -- >>>>> MailScanner mailing list >>>>> mailscanner at lists.mailscanner.info >>>>> http://lists.mailscanner.info/listinfo/mailscanner >>>>> >>>> >>> -- >>> Patrick Goupell >>> >>> Are you free? Find out at http://www.sedm.org/ >>> Income taxes? Find out at http://www.whatistaxed.com >>> >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/listinfo/mailscanner >>> >> >> > > -- > Patrick Goupell > > Are you free? Find out at http://www.sedm.org/ > Income taxes? Find out at http://www.whatistaxed.com > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > From jerry.benton at mailborder.com Wed Apr 27 23:02:00 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Wed, 27 Apr 2016 19:02:00 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> <572133BE.8030504@yoopermail.us> Message-ID: <0C560D4D-017D-4D8D-8126-223839A0EBE3@mailborder.com> I have moved all of the required stuff to the ?Recommends? section of the Debian Control file except for Perl. The issue will be resolved in the next version. Depends: perl (>=5.8.7) Recommends: wget | curl, clamav, clamav-daemon, unrar, rsync, tnef, libconvert-tnef-perl, libdbd-mysql-perl, libfilesys-df-perl, libio-stringy-perl, libsys-hostname-long-perl, libnet-cidr-perl, libsys-sigaction-perl, libmailtools-perl, libmime-tools-perl, libnet-cidr-perl, libhtml-tokeparser-simple-perl, libarchive-zip-perl, libole-storage-lite-perl, libdbd-sqlite3-perl, libsys-syslog-perl, libsys-sigaction-perl - Jerry Benton www.mailborder.com > On Apr 27, 2016, at 6:54 PM, Jerry Benton wrote: > > I stood up an Ubuntu 16 server. Totally unsurprised, they changed a package name again. I am surprised the guys packaging clamav didn?t change the user it runs under again. Since like ? they have changed it 4 or 5 times over the years. > > Note, selecting 'perl-modules-5.22' instead of 'perl-modules' > perl-modules-5.22 is already the newest version (5.22.1-9). > > > You will have to force install MailScanner on Ubuntu 16 or select the ?ignore dependencies? option when asked in the setup script. I will update the debian control file for MailScanner v5. I am not going to bother with v4. > > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 27, 2016, at 5:51 PM, Jerry Benton wrote: >> >> Ok. Seems something has changed with the package, which is not surprising. Force install it: >> >> >> dpkg --force-all -i mailscanner-4.85.2-3-noarch.deb >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >>> On Apr 27, 2016, at 5:48 PM, Patrick Goupell wrote: >>> >>> perl-modules are already installed, note from the original post >>> >>> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >>> Unpacking mailscanner (4.85.2-3) ... >>> dpkg: dependency problems prevent configuration of mailscanner: >>> mailscanner depends on perl-modules (>= 5.8.7); however: >>> Package perl-modules is not installed. >>> Version of perl-modules on system, provided by perl-modules-5.22:all, is . <===*** >>> >>> >>> but trie it anyway >>> >>> apt-get update >>> Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB] >>> Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease >>> Hit:3 http://archive.canonical.com/ubuntu xenial InRelease >>> Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB] >>> Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease >>> Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [25.8 kB] >>> Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [22.0 kB] >>> Get:8 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [25.8 kB] >>> Get:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [8,356 B] >>> Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [21.9 kB] >>> Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [8,908 B] >>> Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [3,932 B] >>> Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [3,920 B] >>> Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [2,328 B] >>> Fetched 308 kB in 3s (83.7 kB/s) >>> Reading package lists... Done >>> root at ubuntu:/home/patrick# apt-get install perl-modules >>> Reading package lists... Done >>> Building dependency tree >>> Reading state information... Done >>> Note, selecting 'perl-modules-5.22' instead of 'perl-modules' >>> perl-modules-5.22 is already the newest version (5.22.1-9). >>> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. >>> >>> >>> >>> >>> On 04/27/2016 05:27 PM, Jerry Benton wrote: >>>> try: >>>> >>>> apt-get update >>>> apt-get install perl-modules >>>> >>>> >>>> - >>>> Jerry Benton >>>> www.mailborder.com >>>> >>>> >>>> >>>>> On Apr 27, 2016, at 5:24 PM, Patrick Goupell wrote: >>>>> >>>>> Here are the terminal commands I used: >>>>> >>>>> wget https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>>> tar -xvf MailScanner*.tar.gz >>>>> cd MailScanner* >>>>> ./install.sh >>>>> >>>>> >>>>> >>>>> >>>>> On 04/27/2016 04:39 PM, Jerry Benton wrote: >>>>>> Use the install script that comes with the package. >>>>>> >>>>>> - >>>>>> Jerry Benton >>>>>> www.mailborder.com >>>>>> >>>>>> >>>>>> >>>>>>> On Apr 27, 2016, at 10:48 AM, Patrick Goupell wrote: >>>>>>> >>>>>>> I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at >>>>>>> https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>>>>> >>>>>>> During install I get the folow messages >>>>>>> >>>>>>> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >>>>>>> Unpacking mailscanner (4.85.2-3) ... >>>>>>> dpkg: dependency problems prevent configuration of mailscanner: >>>>>>> mailscanner depends on perl-modules (>= 5.8.7); however: >>>>>>> Package perl-modules is not installed. >>>>>>> Version of perl-modules on system, provided by perl-modules-5.22:all, is . >>>>>>> >>>>>>> dpkg: error processing package mailscanner (--install): >>>>>>> dependency problems - leaving unconfigured >>>>>>> Processing triggers for man-db (2.7.5-1) ... >>>>>>> Processing triggers for ureadahead (0.100.0-19) ... >>>>>>> Processing triggers for systemd (229-4ubuntu4) ... >>>>>>> Errors were encountered while processing: >>>>>>> mailscanner >>>>>>> >>>>>>> ---------------------------------------------------------- >>>>>>> Installation Error >>>>>>> >>>>>>> The MailScanner package failed to install. Address the required >>>>>>> dependencies and run the installer again. >>>>>>> >>>>>>> Note that Perl modules need to be available system-wide. A >>>>>>> common issue is that missing modules were installed in a >>>>>>> user specific configuration. >>>>>>> >>>>>>> If I do an apt-cache search perl-modules I get the following >>>>>>> >>>>>>> libperl5.22 - shared Perl library >>>>>>> perl-base - minimal Perl system >>>>>>> perl-modules-5.22 - Core Perl modules >>>>>>> kamailio-perl-modules - Perl extensions and database driver for Kamailio >>>>>>> libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) >>>>>>> >>>>>>> What do I do now? >>>>>>> >>>>>>> -- >>>>>>> Patrick Goupell >>>>>>> >>>>>>> Are you free? Find out at http://www.sedm.org/ >>>>>>> Income taxes? Find out at http://www.whatistaxed.com >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> MailScanner mailing list >>>>>>> mailscanner at lists.mailscanner.info >>>>>>> http://lists.mailscanner.info/listinfo/mailscanner >>>>>>> >>>>>> >>>>> -- >>>>> Patrick Goupell >>>>> >>>>> Are you free? Find out at http://www.sedm.org/ >>>>> Income taxes? Find out at http://www.whatistaxed.com >>>>> >>>>> >>>>> >>>>> -- >>>>> MailScanner mailing list >>>>> mailscanner at lists.mailscanner.info >>>>> http://lists.mailscanner.info/listinfo/mailscanner >>>>> >>>> >>>> >>> >>> -- >>> Patrick Goupell >>> >>> Are you free? Find out at http://www.sedm.org/ >>> Income taxes? Find out at http://www.whatistaxed.com >>> >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/listinfo/mailscanner >>> >> > From patrick at yoopermail.us Wed Apr 27 23:12:14 2016 From: patrick at yoopermail.us (Patrick Goupell) Date: Wed, 27 Apr 2016 19:12:14 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> <572133BE.8030504@yoopermail.us> Message-ID: <5721474E.1020203@yoopermail.us> Do this when? Instead of the ./install.sh or after the ./install.sh On 04/27/2016 05:51 PM, Jerry Benton wrote: > Ok. Seems something has changed with the package, which is not surprising. Force install it: > > > dpkg --force-all -i mailscanner-4.85.2-3-noarch.deb > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 27, 2016, at 5:48 PM, Patrick Goupell wrote: >> >> perl-modules are already installed, note from the original post >> >> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >> Unpacking mailscanner (4.85.2-3) ... >> dpkg: dependency problems prevent configuration of mailscanner: >> mailscanner depends on perl-modules (>= 5.8.7); however: >> Package perl-modules is not installed. >> Version of perl-modules on system, provided by perl-modules-5.22:all, is . <===*** >> >> >> but trie it anyway >> >> apt-get update >> Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB] >> Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease >> Hit:3 http://archive.canonical.com/ubuntu xenial InRelease >> Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB] >> Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease >> Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [25.8 kB] >> Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [22.0 kB] >> Get:8 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [25.8 kB] >> Get:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [8,356 B] >> Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [21.9 kB] >> Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [8,908 B] >> Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [3,932 B] >> Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [3,920 B] >> Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [2,328 B] >> Fetched 308 kB in 3s (83.7 kB/s) >> Reading package lists... Done >> root at ubuntu:/home/patrick# apt-get install perl-modules >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> Note, selecting 'perl-modules-5.22' instead of 'perl-modules' >> perl-modules-5.22 is already the newest version (5.22.1-9). >> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. >> >> >> >> >> On 04/27/2016 05:27 PM, Jerry Benton wrote: >>> try: >>> >>> apt-get update >>> apt-get install perl-modules >>> >>> >>> - >>> Jerry Benton >>> www.mailborder.com >>> >>> >>> >>>> On Apr 27, 2016, at 5:24 PM, Patrick Goupell wrote: >>>> >>>> Here are the terminal commands I used: >>>> >>>> wget https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>> tar -xvf MailScanner*.tar.gz >>>> cd MailScanner* >>>> ./install.sh >>>> >>>> >>>> >>>> >>>> On 04/27/2016 04:39 PM, Jerry Benton wrote: >>>>> Use the install script that comes with the package. >>>>> >>>>> - >>>>> Jerry Benton >>>>> www.mailborder.com >>>>> >>>>> >>>>> >>>>>> On Apr 27, 2016, at 10:48 AM, Patrick Goupell wrote: >>>>>> >>>>>> I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at >>>>>> https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>>>> >>>>>> During install I get the folow messages >>>>>> >>>>>> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >>>>>> Unpacking mailscanner (4.85.2-3) ... >>>>>> dpkg: dependency problems prevent configuration of mailscanner: >>>>>> mailscanner depends on perl-modules (>= 5.8.7); however: >>>>>> Package perl-modules is not installed. >>>>>> Version of perl-modules on system, provided by perl-modules-5.22:all, is . >>>>>> >>>>>> dpkg: error processing package mailscanner (--install): >>>>>> dependency problems - leaving unconfigured >>>>>> Processing triggers for man-db (2.7.5-1) ... >>>>>> Processing triggers for ureadahead (0.100.0-19) ... >>>>>> Processing triggers for systemd (229-4ubuntu4) ... >>>>>> Errors were encountered while processing: >>>>>> mailscanner >>>>>> >>>>>> ---------------------------------------------------------- >>>>>> Installation Error >>>>>> >>>>>> The MailScanner package failed to install. Address the required >>>>>> dependencies and run the installer again. >>>>>> >>>>>> Note that Perl modules need to be available system-wide. A >>>>>> common issue is that missing modules were installed in a >>>>>> user specific configuration. >>>>>> >>>>>> If I do an apt-cache search perl-modules I get the following >>>>>> >>>>>> libperl5.22 - shared Perl library >>>>>> perl-base - minimal Perl system >>>>>> perl-modules-5.22 - Core Perl modules >>>>>> kamailio-perl-modules - Perl extensions and database driver for Kamailio >>>>>> libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) >>>>>> >>>>>> What do I do now? >>>>>> >>>>>> -- >>>>>> Patrick Goupell >>>>>> >>>>>> Are you free? Find out at http://www.sedm.org/ >>>>>> Income taxes? Find out at http://www.whatistaxed.com >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> MailScanner mailing list >>>>>> mailscanner at lists.mailscanner.info >>>>>> http://lists.mailscanner.info/listinfo/mailscanner >>>>>> >>>> -- >>>> Patrick Goupell >>>> >>>> Are you free? Find out at http://www.sedm.org/ >>>> Income taxes? Find out at http://www.whatistaxed.com >>>> >>>> >>>> >>>> -- >>>> MailScanner mailing list >>>> mailscanner at lists.mailscanner.info >>>> http://lists.mailscanner.info/listinfo/mailscanner >>>> >>> >> -- >> Patrick Goupell >> >> Are you free? Find out at http://www.sedm.org/ >> Income taxes? Find out at http://www.whatistaxed.com >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> > > -- Patrick Goupell Are you free? Find out at http://www.sedm.org/ Income taxes? Find out at http://www.whatistaxed.com From jerry.benton at mailborder.com Wed Apr 27 22:54:09 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Wed, 27 Apr 2016 18:54:09 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> <572133BE.8030504@yoopermail.us> Message-ID: I stood up an Ubuntu 16 server. Totally unsurprised, they changed a package name again. I am surprised the guys packaging clamav didn?t change the user it runs under again. Since like ? they have changed it 4 or 5 times over the years. Note, selecting 'perl-modules-5.22' instead of 'perl-modules' perl-modules-5.22 is already the newest version (5.22.1-9). You will have to force install MailScanner on Ubuntu 16 or select the ?ignore dependencies? option when asked in the setup script. I will update the debian control file for MailScanner v5. I am not going to bother with v4. - Jerry Benton www.mailborder.com > On Apr 27, 2016, at 5:51 PM, Jerry Benton wrote: > > Ok. Seems something has changed with the package, which is not surprising. Force install it: > > > dpkg --force-all -i mailscanner-4.85.2-3-noarch.deb > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 27, 2016, at 5:48 PM, Patrick Goupell wrote: >> >> perl-modules are already installed, note from the original post >> >> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >> Unpacking mailscanner (4.85.2-3) ... >> dpkg: dependency problems prevent configuration of mailscanner: >> mailscanner depends on perl-modules (>= 5.8.7); however: >> Package perl-modules is not installed. >> Version of perl-modules on system, provided by perl-modules-5.22:all, is . <===*** >> >> >> but trie it anyway >> >> apt-get update >> Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB] >> Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease >> Hit:3 http://archive.canonical.com/ubuntu xenial InRelease >> Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB] >> Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease >> Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [25.8 kB] >> Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [22.0 kB] >> Get:8 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [25.8 kB] >> Get:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [8,356 B] >> Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [21.9 kB] >> Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [8,908 B] >> Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [3,932 B] >> Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [3,920 B] >> Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [2,328 B] >> Fetched 308 kB in 3s (83.7 kB/s) >> Reading package lists... Done >> root at ubuntu:/home/patrick# apt-get install perl-modules >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> Note, selecting 'perl-modules-5.22' instead of 'perl-modules' >> perl-modules-5.22 is already the newest version (5.22.1-9). >> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. >> >> >> >> >> On 04/27/2016 05:27 PM, Jerry Benton wrote: >>> try: >>> >>> apt-get update >>> apt-get install perl-modules >>> >>> >>> - >>> Jerry Benton >>> www.mailborder.com >>> >>> >>> >>>> On Apr 27, 2016, at 5:24 PM, Patrick Goupell wrote: >>>> >>>> Here are the terminal commands I used: >>>> >>>> wget https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>> tar -xvf MailScanner*.tar.gz >>>> cd MailScanner* >>>> ./install.sh >>>> >>>> >>>> >>>> >>>> On 04/27/2016 04:39 PM, Jerry Benton wrote: >>>>> Use the install script that comes with the package. >>>>> >>>>> - >>>>> Jerry Benton >>>>> www.mailborder.com >>>>> >>>>> >>>>> >>>>>> On Apr 27, 2016, at 10:48 AM, Patrick Goupell wrote: >>>>>> >>>>>> I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at >>>>>> https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>>>> >>>>>> During install I get the folow messages >>>>>> >>>>>> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >>>>>> Unpacking mailscanner (4.85.2-3) ... >>>>>> dpkg: dependency problems prevent configuration of mailscanner: >>>>>> mailscanner depends on perl-modules (>= 5.8.7); however: >>>>>> Package perl-modules is not installed. >>>>>> Version of perl-modules on system, provided by perl-modules-5.22:all, is . >>>>>> >>>>>> dpkg: error processing package mailscanner (--install): >>>>>> dependency problems - leaving unconfigured >>>>>> Processing triggers for man-db (2.7.5-1) ... >>>>>> Processing triggers for ureadahead (0.100.0-19) ... >>>>>> Processing triggers for systemd (229-4ubuntu4) ... >>>>>> Errors were encountered while processing: >>>>>> mailscanner >>>>>> >>>>>> ---------------------------------------------------------- >>>>>> Installation Error >>>>>> >>>>>> The MailScanner package failed to install. Address the required >>>>>> dependencies and run the installer again. >>>>>> >>>>>> Note that Perl modules need to be available system-wide. A >>>>>> common issue is that missing modules were installed in a >>>>>> user specific configuration. >>>>>> >>>>>> If I do an apt-cache search perl-modules I get the following >>>>>> >>>>>> libperl5.22 - shared Perl library >>>>>> perl-base - minimal Perl system >>>>>> perl-modules-5.22 - Core Perl modules >>>>>> kamailio-perl-modules - Perl extensions and database driver for Kamailio >>>>>> libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) >>>>>> >>>>>> What do I do now? >>>>>> >>>>>> -- >>>>>> Patrick Goupell >>>>>> >>>>>> Are you free? Find out at http://www.sedm.org/ >>>>>> Income taxes? Find out at http://www.whatistaxed.com >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> MailScanner mailing list >>>>>> mailscanner at lists.mailscanner.info >>>>>> http://lists.mailscanner.info/listinfo/mailscanner >>>>>> >>>>> >>>> -- >>>> Patrick Goupell >>>> >>>> Are you free? Find out at http://www.sedm.org/ >>>> Income taxes? Find out at http://www.whatistaxed.com >>>> >>>> >>>> >>>> -- >>>> MailScanner mailing list >>>> mailscanner at lists.mailscanner.info >>>> http://lists.mailscanner.info/listinfo/mailscanner >>>> >>> >>> >> >> -- >> Patrick Goupell >> >> Are you free? Find out at http://www.sedm.org/ >> Income taxes? Find out at http://www.whatistaxed.com >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> > From jerry.benton at mailborder.com Thu Apr 28 04:30:37 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 28 Apr 2016 00:30:37 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: <5721474E.1020203@yoopermail.us> References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> <572133BE.8030504@yoopermail.us> <5721474E.1020203@yoopermail.us> Message-ID: What you really should do for right now is use Ubuntu server 14.04 LTS. - Jerry Benton www.mailborder.com > On Apr 27, 2016, at 7:12 PM, Patrick Goupell wrote: > > Do this when? > > Instead of the ./install.sh > or after the ./install.sh > > > > On 04/27/2016 05:51 PM, Jerry Benton wrote: >> Ok. Seems something has changed with the package, which is not surprising. Force install it: >> >> >> dpkg --force-all -i mailscanner-4.85.2-3-noarch.deb >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >>> On Apr 27, 2016, at 5:48 PM, Patrick Goupell wrote: >>> >>> perl-modules are already installed, note from the original post >>> >>> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >>> Unpacking mailscanner (4.85.2-3) ... >>> dpkg: dependency problems prevent configuration of mailscanner: >>> mailscanner depends on perl-modules (>= 5.8.7); however: >>> Package perl-modules is not installed. >>> Version of perl-modules on system, provided by perl-modules-5.22:all, is . <===*** >>> >>> >>> but trie it anyway >>> >>> apt-get update >>> Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB] >>> Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease >>> Hit:3 http://archive.canonical.com/ubuntu xenial InRelease >>> Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB] >>> Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease >>> Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [25.8 kB] >>> Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [22.0 kB] >>> Get:8 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [25.8 kB] >>> Get:9 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [8,356 B] >>> Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [21.9 kB] >>> Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [8,908 B] >>> Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [3,932 B] >>> Get:13 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [3,920 B] >>> Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [2,328 B] >>> Fetched 308 kB in 3s (83.7 kB/s) >>> Reading package lists... Done >>> root at ubuntu:/home/patrick# apt-get install perl-modules >>> Reading package lists... Done >>> Building dependency tree >>> Reading state information... Done >>> Note, selecting 'perl-modules-5.22' instead of 'perl-modules' >>> perl-modules-5.22 is already the newest version (5.22.1-9). >>> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. >>> >>> >>> >>> >>> On 04/27/2016 05:27 PM, Jerry Benton wrote: >>>> try: >>>> >>>> apt-get update >>>> apt-get install perl-modules >>>> >>>> >>>> - >>>> Jerry Benton >>>> www.mailborder.com >>>> >>>> >>>> >>>>> On Apr 27, 2016, at 5:24 PM, Patrick Goupell wrote: >>>>> >>>>> Here are the terminal commands I used: >>>>> >>>>> wget https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>>> tar -xvf MailScanner*.tar.gz >>>>> cd MailScanner* >>>>> ./install.sh >>>>> >>>>> >>>>> >>>>> >>>>> On 04/27/2016 04:39 PM, Jerry Benton wrote: >>>>>> Use the install script that comes with the package. >>>>>> >>>>>> - >>>>>> Jerry Benton >>>>>> www.mailborder.com >>>>>> >>>>>> >>>>>> >>>>>>> On Apr 27, 2016, at 10:48 AM, Patrick Goupell wrote: >>>>>>> >>>>>>> I am trying to setup mailscanner on ubuntu 16.04 lts using the install package at >>>>>>> https://s3.amazonaws.com/mailscanner/release/v4/deb/MailScanner-4.85.2-3.deb.tar.gz >>>>>>> >>>>>>> During install I get the folow messages >>>>>>> >>>>>>> Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ... >>>>>>> Unpacking mailscanner (4.85.2-3) ... >>>>>>> dpkg: dependency problems prevent configuration of mailscanner: >>>>>>> mailscanner depends on perl-modules (>= 5.8.7); however: >>>>>>> Package perl-modules is not installed. >>>>>>> Version of perl-modules on system, provided by perl-modules-5.22:all, is . >>>>>>> >>>>>>> dpkg: error processing package mailscanner (--install): >>>>>>> dependency problems - leaving unconfigured >>>>>>> Processing triggers for man-db (2.7.5-1) ... >>>>>>> Processing triggers for ureadahead (0.100.0-19) ... >>>>>>> Processing triggers for systemd (229-4ubuntu4) ... >>>>>>> Errors were encountered while processing: >>>>>>> mailscanner >>>>>>> >>>>>>> ---------------------------------------------------------- >>>>>>> Installation Error >>>>>>> >>>>>>> The MailScanner package failed to install. Address the required >>>>>>> dependencies and run the installer again. >>>>>>> >>>>>>> Note that Perl modules need to be available system-wide. A >>>>>>> common issue is that missing modules were installed in a >>>>>>> user specific configuration. >>>>>>> >>>>>>> If I do an apt-cache search perl-modules I get the following >>>>>>> >>>>>>> libperl5.22 - shared Perl library >>>>>>> perl-base - minimal Perl system >>>>>>> perl-modules-5.22 - Core Perl modules >>>>>>> kamailio-perl-modules - Perl extensions and database driver for Kamailio >>>>>>> libnet-smtpauth-perl - Perl module that provides SMTP authentication (Net::SMTP_auth) >>>>>>> >>>>>>> What do I do now? >>>>>>> >>>>>>> -- >>>>>>> Patrick Goupell >>>>>>> >>>>>>> Are you free? Find out at http://www.sedm.org/ >>>>>>> Income taxes? Find out at http://www.whatistaxed.com >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> MailScanner mailing list >>>>>>> mailscanner at lists.mailscanner.info >>>>>>> http://lists.mailscanner.info/listinfo/mailscanner >>>>>>> >>>>> -- >>>>> Patrick Goupell >>>>> >>>>> Are you free? Find out at http://www.sedm.org/ >>>>> Income taxes? Find out at http://www.whatistaxed.com >>>>> >>>>> >>>>> >>>>> -- >>>>> MailScanner mailing list >>>>> mailscanner at lists.mailscanner.info >>>>> http://lists.mailscanner.info/listinfo/mailscanner >>>>> >>>> >>> -- >>> Patrick Goupell >>> >>> Are you free? Find out at http://www.sedm.org/ >>> Income taxes? Find out at http://www.whatistaxed.com >>> >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/listinfo/mailscanner >>> >> >> > > -- > Patrick Goupell > > Are you free? Find out at http://www.sedm.org/ > Income taxes? Find out at http://www.whatistaxed.com > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > From emrkeles at gmail.com Thu Apr 28 06:23:56 2016 From: emrkeles at gmail.com (=?UTF-8?Q?Emre_Kele=C5=9F?=) Date: Thu, 28 Apr 2016 09:23:56 +0300 Subject: mailscanner cluster Message-ID: Hello to everyone Many thanks to everyone develops . 8 thousand domains you want to make a protection. I want to use as a proxy . 8 thousand in a single domain 's mail server. MailScanner all the mail will go to a single mail server. I want to use postfix as the MTA. 8 How many servers or a single server of this process for the domain Can you ride . I k 10 is MailScanner to 8 thousand domains and NetScaler can run over 10 MailScanner server routing form . How do you create a structure . -- *Emre* -------------- next part -------------- An HTML attachment was scrubbed... URL: From anders at kongsted.dk Thu Apr 28 06:54:43 2016 From: anders at kongsted.dk (Anders Kongsted) Date: Thu, 28 Apr 2016 08:54:43 +0200 Subject: mailscanner cluster In-Reply-To: References: Message-ID: <81535cd85d00e3350824870cf484ae19@kongsted.dk> Hi Emre, It's quite difficult to tell you how many server you will need. If each of the 8k domains is receiving one email each, you can run it on a single server. :) It also depends on the size of the hardware you're running the MailScanner's on. But depending on the performance of the hardware, I would start with 3 or 4 servers, and if they can't handle the load, you can add extra afterwards. If possible you could also add the domains in smaller chunks, and see of stuff is running. //Anders Emre Kele? skrev den 28-04-2016 08:23: > Hello to everyone > > Many thanks to everyone develops . > > 8 thousand domains you want to make a protection. > > I want to use as a proxy . 8 thousand in a single domain 's mail server. > > MailScanner all the mail will go to a single mail server. > > I want to use postfix as the MTA. > > 8 How many servers or a single server of this process for the domain Can you ride . > > I k 10 is MailScanner to 8 thousand domains and NetScaler can run over 10 MailScanner server routing form . > > How do you create a structure . > -- > > EMRE -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerry.benton at mailborder.com Thu Apr 28 07:02:11 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 28 Apr 2016 03:02:11 -0400 Subject: mailscanner cluster In-Reply-To: References: <81535cd85d00e3350824870cf484ae19@kongsted.dk> Message-ID: <979DC257-3EB3-44DF-B396-8AB05F4AA395@mailborder.com> P.S. - not trying to push my product. Just saying it can be done. - Jerry Benton www.mailborder.com > On Apr 28, 2016, at 3:00 AM, Jerry Benton wrote: > > You can run it on a single server. I have a Mailborder customer with over 8,000 domains. His servers are running 32 core CPU 32 GB RAM. Each server processes about 2,000,000 emails per day. If you are putting this much volume through the servers, you will definitely need to compile your SpamAssassin rules. > > Note that this is done using Mailborder on top of MailScanner. Setting this up by hand would be a nightmare. > > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 28, 2016, at 2:54 AM, Anders Kongsted > wrote: >> >> Hi Emre, >> >> It's quite difficult to tell you how many server you will need. >> >> If each of the 8k domains is receiving one email each, you can run it on a single server. :) >> >> It also depends on the size of the hardware you're running the MailScanner's on. >> >> But depending on the performance of the hardware, I would start with 3 or 4 servers, and if they can't handle the load, you can add extra afterwards. >> >> If possible you could also add the domains in smaller chunks, and see of stuff is running. >> >> //Anders >> >> >> >> Emre Kele? skrev den 28-04-2016 08:23: >> >>> Hello to everyone >>> >>> Many thanks to everyone develops . >>> >>> 8 thousand domains you want to make a protection. >>> >>> I want to use as a proxy . 8 thousand in a single domain 's mail server. >>> >>> MailScanner all the mail will go to a single mail server. >>> >>> I want to use postfix as the MTA. >>> >>> 8 How many servers or a single server of this process for the domain Can you ride . >>> >>> I k 10 is MailScanner to 8 thousand domains and NetScaler can run over 10 MailScanner server routing form . >>> >>> How do you create a structure . >>> >>> -- >>> >>> Emre >>> >>> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerry.benton at mailborder.com Thu Apr 28 06:40:19 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 28 Apr 2016 02:40:19 -0400 Subject: MailScanner reload Message-ID: <3C4A5B02-6724-46AB-82FA-CCAC2210BEC5@mailborder.com> I have the new cross-platform init script completed. It works great. However, when doing a ?service mailscanner reload? the master process retains the status of ?starting children? after it has completed starting the children. Normally it would say something like ?master sleeping?. This is nothing more than a display thing. I know it sets this status in the main executable /usr/sbin/MailScanner. (You can see where it does in several areas.) Can someone help track down where the sleeping notice needs to be inserted during a reload? - Jerry Benton www.mailborder.com From jerry.benton at mailborder.com Thu Apr 28 07:00:46 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 28 Apr 2016 03:00:46 -0400 Subject: mailscanner cluster In-Reply-To: <81535cd85d00e3350824870cf484ae19@kongsted.dk> References: <81535cd85d00e3350824870cf484ae19@kongsted.dk> Message-ID: You can run it on a single server. I have a Mailborder customer with over 8,000 domains. His servers are running 32 core CPU 32 GB RAM. Each server processes about 2,000,000 emails per day. If you are putting this much volume through the servers, you will definitely need to compile your SpamAssassin rules. Note that this is done using Mailborder on top of MailScanner. Setting this up by hand would be a nightmare. - Jerry Benton www.mailborder.com > On Apr 28, 2016, at 2:54 AM, Anders Kongsted wrote: > > Hi Emre, > > It's quite difficult to tell you how many server you will need. > > If each of the 8k domains is receiving one email each, you can run it on a single server. :) > > It also depends on the size of the hardware you're running the MailScanner's on. > > But depending on the performance of the hardware, I would start with 3 or 4 servers, and if they can't handle the load, you can add extra afterwards. > > If possible you could also add the domains in smaller chunks, and see of stuff is running. > > //Anders > > > > Emre Kele? skrev den 28-04-2016 08:23: > >> Hello to everyone >> >> Many thanks to everyone develops . >> >> 8 thousand domains you want to make a protection. >> >> I want to use as a proxy . 8 thousand in a single domain 's mail server. >> >> MailScanner all the mail will go to a single mail server. >> >> I want to use postfix as the MTA. >> >> 8 How many servers or a single server of this process for the domain Can you ride . >> >> I k 10 is MailScanner to 8 thousand domains and NetScaler can run over 10 MailScanner server routing form . >> >> How do you create a structure . >> >> -- >> >> Emre >> >> > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerry.benton at mailborder.com Thu Apr 28 08:15:40 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 28 Apr 2016 04:15:40 -0400 Subject: Technical Writer Message-ID: Would anyone like to volunteer to write a brief manual for MailScanner v5? Off the top of my head, it would need to cover: - What MS is - Overview of how it works - installation - configuration - operation - writing rules - structure (where stuff is) - best practices (MS, server, OS, updates, etc.) Some of this stuff is already documented. It just need to be updated and incorporated into a single source. We also need to be able to Skype so I can brain dump and answer questions as required. - Jerry Benton www.mailborder.com From emrkeles at gmail.com Thu Apr 28 08:28:36 2016 From: emrkeles at gmail.com (=?UTF-8?Q?Emre_Kele=C5=9F?=) Date: Thu, 28 Apr 2016 11:28:36 +0300 Subject: mailscanner cluster In-Reply-To: <979DC257-3EB3-44DF-B396-8AB05F4AA395@mailborder.com> References: <81535cd85d00e3350824870cf484ae19@kongsted.dk> <979DC257-3EB3-44DF-B396-8AB05F4AA395@mailborder.com> Message-ID: I want to structure it that way. Can you help about postfix configuration ? 2016-04-28 10:02 GMT+03:00 Jerry Benton : > P.S. - not trying to push my product. Just saying it can be done. > > - > Jerry Benton > www.mailborder.com > > > > On Apr 28, 2016, at 3:00 AM, Jerry Benton > wrote: > > You can run it on a single server. I have a Mailborder customer with over > 8,000 domains. His servers are running 32 core CPU 32 GB RAM. Each server > processes about 2,000,000 emails per day. If you are putting this much > volume through the servers, you will definitely need to compile your > SpamAssassin rules. > > Note that this is done using Mailborder on top of MailScanner. Setting > this up by hand would be a nightmare. > > > - > Jerry Benton > www.mailborder.com > > > > On Apr 28, 2016, at 2:54 AM, Anders Kongsted wrote: > > Hi Emre, > > It's quite difficult to tell you how many server you will need. > > If each of the 8k domains is receiving one email each, you can run it on a > single server. :) > > It also depends on the size of the hardware you're running the > MailScanner's on. > > But depending on the performance of the hardware, I would start with 3 or > 4 servers, and if they can't handle the load, you can add extra afterwards. > > If possible you could also add the domains in smaller chunks, and see of > stuff is running. > > //Anders > > > > Emre Kele? skrev den 28-04-2016 08:23: > > Hello to everyone > > Many thanks to everyone develops . > > 8 thousand domains you want to make a protection. > > I want to use as a proxy . 8 thousand in a single domain 's mail server. > > MailScanner all the mail will go to a single mail server. > > I want to use postfix as the MTA. > > 8 How many servers or a single server of this process for the domain Can > you ride . > > I k 10 is MailScanner to 8 thousand domains and NetScaler can run over 10 > MailScanner server routing form . > > How do you create a structure . > > -- > > *Emre* > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > -- *Emre* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: download.png Type: image/png Size: 42660 bytes Desc: not available URL: From jerry.benton at mailborder.com Thu Apr 28 08:42:24 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 28 Apr 2016 04:42:24 -0400 Subject: mailscanner cluster In-Reply-To: References: <81535cd85d00e3350824870cf484ae19@kongsted.dk> <979DC257-3EB3-44DF-B396-8AB05F4AA395@mailborder.com> Message-ID: <169BD125-C378-4C26-9E17-57270AFCB87A@mailborder.com> MailScanner setup for postfix: https://www.mailscanner.info/postfix/ Google search on how to setup postfix for multiple domains: https://blog.tinned-software.net/setup-postfix-for-multiple-domains/ - Jerry Benton www.mailborder.com > On Apr 28, 2016, at 4:28 AM, Emre Kele? wrote: > > I want to structure it that way. Can you help about postfix configuration ? > > 2016-04-28 10:02 GMT+03:00 Jerry Benton >: > P.S. - not trying to push my product. Just saying it can be done. > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 28, 2016, at 3:00 AM, Jerry Benton > wrote: >> >> You can run it on a single server. I have a Mailborder customer with over 8,000 domains. His servers are running 32 core CPU 32 GB RAM. Each server processes about 2,000,000 emails per day. If you are putting this much volume through the servers, you will definitely need to compile your SpamAssassin rules. >> >> Note that this is done using Mailborder on top of MailScanner. Setting this up by hand would be a nightmare. >> >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >>> On Apr 28, 2016, at 2:54 AM, Anders Kongsted > wrote: >>> >>> Hi Emre, >>> >>> It's quite difficult to tell you how many server you will need. >>> >>> If each of the 8k domains is receiving one email each, you can run it on a single server. :) >>> >>> It also depends on the size of the hardware you're running the MailScanner's on. >>> >>> But depending on the performance of the hardware, I would start with 3 or 4 servers, and if they can't handle the load, you can add extra afterwards. >>> >>> If possible you could also add the domains in smaller chunks, and see of stuff is running. >>> >>> //Anders >>> >>> >>> >>> Emre Kele? skrev den 28-04-2016 08:23: >>> >>>> Hello to everyone >>>> >>>> Many thanks to everyone develops . >>>> >>>> 8 thousand domains you want to make a protection. >>>> >>>> I want to use as a proxy . 8 thousand in a single domain 's mail server. >>>> >>>> MailScanner all the mail will go to a single mail server. >>>> >>>> I want to use postfix as the MTA. >>>> >>>> 8 How many servers or a single server of this process for the domain Can you ride . >>>> >>>> I k 10 is MailScanner to 8 thousand domains and NetScaler can run over 10 MailScanner server routing form . >>>> >>>> How do you create a structure . >>>> >>>> -- >>>> >>>> Emre >>>> >>>> >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/listinfo/mailscanner >>> >> > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > -- > > Emre > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anders at kongsted.dk Thu Apr 28 08:45:59 2016 From: anders at kongsted.dk (Anders Kongsted) Date: Thu, 28 Apr 2016 10:45:59 +0200 Subject: Technical Writer In-Reply-To: References: Message-ID: <90ad1a0e9064d4f94a4031b5c7156e79@kongsted.dk> Hi Jerry, Just a thought. What about using something like http://www.readthedocs.io/ ? //Anders Jerry Benton skrev den 28-04-2016 10:15: > Would anyone like to volunteer to write a brief manual for MailScanner > v5? Off the top of my head, it would need to cover: > > - What MS is > - Overview of how it works > - installation > - configuration > - operation > - writing rules > - structure (where stuff is) > - best practices (MS, server, OS, updates, etc.) > > > Some of this stuff is already documented. It just need to be updated > and incorporated into a single source. > > We also need to be able to Skype so I can brain dump and answer > questions as required. > > > - > Jerry Benton > www.mailborder.com From emrkeles at gmail.com Thu Apr 28 08:52:37 2016 From: emrkeles at gmail.com (=?UTF-8?Q?Emre_Kele=C5=9F?=) Date: Thu, 28 Apr 2016 11:52:37 +0300 Subject: mailscanner cluster In-Reply-To: <169BD125-C378-4C26-9E17-57270AFCB87A@mailborder.com> References: <81535cd85d00e3350824870cf484ae19@kongsted.dk> <979DC257-3EB3-44DF-B396-8AB05F4AA395@mailborder.com> <169BD125-C378-4C26-9E17-57270AFCB87A@mailborder.com> Message-ID: I do not wanna add individual domains . 2016-04-28 11:42 GMT+03:00 Jerry Benton : > MailScanner setup for postfix: https://www.mailscanner.info/postfix/ > > Google search on how to setup postfix for multiple domains: > https://blog.tinned-software.net/setup-postfix-for-multiple-domains/ > > > - > Jerry Benton > www.mailborder.com > > > > On Apr 28, 2016, at 4:28 AM, Emre Kele? wrote: > > I want to structure it that way. Can you help about postfix configuration ? > > 2016-04-28 10:02 GMT+03:00 Jerry Benton : > >> P.S. - not trying to push my product. Just saying it can be done. >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >> On Apr 28, 2016, at 3:00 AM, Jerry Benton >> wrote: >> >> You can run it on a single server. I have a Mailborder customer with over >> 8,000 domains. His servers are running 32 core CPU 32 GB RAM. Each server >> processes about 2,000,000 emails per day. If you are putting this much >> volume through the servers, you will definitely need to compile your >> SpamAssassin rules. >> >> Note that this is done using Mailborder on top of MailScanner. Setting >> this up by hand would be a nightmare. >> >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >> On Apr 28, 2016, at 2:54 AM, Anders Kongsted wrote: >> >> Hi Emre, >> >> It's quite difficult to tell you how many server you will need. >> >> If each of the 8k domains is receiving one email each, you can run it on >> a single server. :) >> >> It also depends on the size of the hardware you're running the >> MailScanner's on. >> >> But depending on the performance of the hardware, I would start with 3 or >> 4 servers, and if they can't handle the load, you can add extra afterwards. >> >> If possible you could also add the domains in smaller chunks, and see of >> stuff is running. >> >> //Anders >> >> >> >> Emre Kele? skrev den 28-04-2016 08:23: >> >> Hello to everyone >> >> Many thanks to everyone develops . >> >> 8 thousand domains you want to make a protection. >> >> I want to use as a proxy . 8 thousand in a single domain 's mail server. >> >> MailScanner all the mail will go to a single mail server. >> >> I want to use postfix as the MTA. >> >> 8 How many servers or a single server of this process for the domain Can >> you ride . >> >> I k 10 is MailScanner to 8 thousand domains and NetScaler can run over 10 >> MailScanner server routing form . >> >> How do you create a structure . >> >> -- >> >> *Emre* >> >> >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> >> >> >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> >> >> > > > -- > > *Emre* > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > -- *Emre* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerry.benton at mailborder.com Thu Apr 28 08:54:07 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 28 Apr 2016 04:54:07 -0400 Subject: mailscanner cluster In-Reply-To: References: <81535cd85d00e3350824870cf484ae19@kongsted.dk> <979DC257-3EB3-44DF-B396-8AB05F4AA395@mailborder.com> <169BD125-C378-4C26-9E17-57270AFCB87A@mailborder.com> Message-ID: <8EE3EADE-BCA5-4ECF-9A3F-4100FCAABC97@mailborder.com> Then setup Postfix to all relaying from your Citrix netscaler. - Jerry Benton www.mailborder.com > On Apr 28, 2016, at 4:52 AM, Emre Kele? wrote: > > I do not wanna add individual domains . > > 2016-04-28 11:42 GMT+03:00 Jerry Benton >: > MailScanner setup for postfix: https://www.mailscanner.info/postfix/ > > Google search on how to setup postfix for multiple domains: https://blog.tinned-software.net/setup-postfix-for-multiple-domains/ > > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 28, 2016, at 4:28 AM, Emre Kele? > wrote: >> >> I want to structure it that way. Can you help about postfix configuration ? >> >> 2016-04-28 10:02 GMT+03:00 Jerry Benton >: >> P.S. - not trying to push my product. Just saying it can be done. >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >>> On Apr 28, 2016, at 3:00 AM, Jerry Benton > wrote: >>> >>> You can run it on a single server. I have a Mailborder customer with over 8,000 domains. His servers are running 32 core CPU 32 GB RAM. Each server processes about 2,000,000 emails per day. If you are putting this much volume through the servers, you will definitely need to compile your SpamAssassin rules. >>> >>> Note that this is done using Mailborder on top of MailScanner. Setting this up by hand would be a nightmare. >>> >>> >>> - >>> Jerry Benton >>> www.mailborder.com >>> >>> >>> >>>> On Apr 28, 2016, at 2:54 AM, Anders Kongsted > wrote: >>>> >>>> Hi Emre, >>>> >>>> It's quite difficult to tell you how many server you will need. >>>> >>>> If each of the 8k domains is receiving one email each, you can run it on a single server. :) >>>> >>>> It also depends on the size of the hardware you're running the MailScanner's on. >>>> >>>> But depending on the performance of the hardware, I would start with 3 or 4 servers, and if they can't handle the load, you can add extra afterwards. >>>> >>>> If possible you could also add the domains in smaller chunks, and see of stuff is running. >>>> >>>> //Anders >>>> >>>> >>>> >>>> Emre Kele? skrev den 28-04-2016 08:23: >>>> >>>>> Hello to everyone >>>>> >>>>> Many thanks to everyone develops . >>>>> >>>>> 8 thousand domains you want to make a protection. >>>>> >>>>> I want to use as a proxy . 8 thousand in a single domain 's mail server. >>>>> >>>>> MailScanner all the mail will go to a single mail server. >>>>> >>>>> I want to use postfix as the MTA. >>>>> >>>>> 8 How many servers or a single server of this process for the domain Can you ride . >>>>> >>>>> I k 10 is MailScanner to 8 thousand domains and NetScaler can run over 10 MailScanner server routing form . >>>>> >>>>> How do you create a structure . >>>>> >>>>> -- >>>>> >>>>> Emre >>>>> >>>>> >>>> >>>> >>>> -- >>>> MailScanner mailing list >>>> mailscanner at lists.mailscanner.info >>>> http://lists.mailscanner.info/listinfo/mailscanner >>>> >>> >> >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> >> >> >> >> >> -- >> >> Emre >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > -- > > Emre > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > -------------- next part -------------- An HTML attachment was scrubbed... URL: From emrkeles at gmail.com Thu Apr 28 09:00:33 2016 From: emrkeles at gmail.com (=?UTF-8?Q?Emre_Kele=C5=9F?=) Date: Thu, 28 Apr 2016 12:00:33 +0300 Subject: mailscanner cluster In-Reply-To: <8EE3EADE-BCA5-4ECF-9A3F-4100FCAABC97@mailborder.com> References: <81535cd85d00e3350824870cf484ae19@kongsted.dk> <979DC257-3EB3-44DF-B396-8AB05F4AA395@mailborder.com> <169BD125-C378-4C26-9E17-57270AFCB87A@mailborder.com> <8EE3EADE-BCA5-4ECF-9A3F-4100FCAABC97@mailborder.com> Message-ID: /etc/postfix/transport * smtp:mailserveripadress /etc/postfix/main.cf relay_domains = static:ALL Did you like this? 2016-04-28 11:54 GMT+03:00 Jerry Benton : > Then setup Postfix to all relaying from your Citrix netscaler. > > - > Jerry Benton > www.mailborder.com > > > > On Apr 28, 2016, at 4:52 AM, Emre Kele? wrote: > > I do not wanna add individual domains . > > 2016-04-28 11:42 GMT+03:00 Jerry Benton : > >> MailScanner setup for postfix: https://www.mailscanner.info/postfix/ >> >> Google search on how to setup postfix for multiple domains: >> https://blog.tinned-software.net/setup-postfix-for-multiple-domains/ >> >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >> On Apr 28, 2016, at 4:28 AM, Emre Kele? wrote: >> >> I want to structure it that way. Can you help about postfix configuration >> ? >> >> 2016-04-28 10:02 GMT+03:00 Jerry Benton : >> >>> P.S. - not trying to push my product. Just saying it can be done. >>> >>> - >>> Jerry Benton >>> www.mailborder.com >>> >>> >>> >>> On Apr 28, 2016, at 3:00 AM, Jerry Benton >>> wrote: >>> >>> You can run it on a single server. I have a Mailborder customer with >>> over 8,000 domains. His servers are running 32 core CPU 32 GB RAM. Each >>> server processes about 2,000,000 emails per day. If you are putting this >>> much volume through the servers, you will definitely need to compile your >>> SpamAssassin rules. >>> >>> Note that this is done using Mailborder on top of MailScanner. Setting >>> this up by hand would be a nightmare. >>> >>> >>> - >>> Jerry Benton >>> www.mailborder.com >>> >>> >>> >>> On Apr 28, 2016, at 2:54 AM, Anders Kongsted wrote: >>> >>> Hi Emre, >>> >>> It's quite difficult to tell you how many server you will need. >>> >>> If each of the 8k domains is receiving one email each, you can run it on >>> a single server. :) >>> >>> It also depends on the size of the hardware you're running the >>> MailScanner's on. >>> >>> But depending on the performance of the hardware, I would start with 3 >>> or 4 servers, and if they can't handle the load, you can add extra >>> afterwards. >>> >>> If possible you could also add the domains in smaller chunks, and see of >>> stuff is running. >>> >>> //Anders >>> >>> >>> >>> Emre Kele? skrev den 28-04-2016 08:23: >>> >>> Hello to everyone >>> >>> Many thanks to everyone develops . >>> >>> 8 thousand domains you want to make a protection. >>> >>> I want to use as a proxy . 8 thousand in a single domain 's mail server. >>> >>> MailScanner all the mail will go to a single mail server. >>> >>> I want to use postfix as the MTA. >>> >>> 8 How many servers or a single server of this process for the domain Can >>> you ride . >>> >>> I k 10 is MailScanner to 8 thousand domains and NetScaler can run over >>> 10 MailScanner server routing form . >>> >>> How do you create a structure . >>> >>> -- >>> >>> *Emre* >>> >>> >>> >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/listinfo/mailscanner >>> >>> >>> >>> >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/listinfo/mailscanner >>> >>> >>> >> >> >> -- >> >> *Emre* >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> >> >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> >> >> > > > -- > > *Emre* > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > -- *Emre* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerry.benton at mailborder.com Thu Apr 28 09:07:42 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 28 Apr 2016 05:07:42 -0400 Subject: mailscanner cluster In-Reply-To: References: <81535cd85d00e3350824870cf484ae19@kongsted.dk> <979DC257-3EB3-44DF-B396-8AB05F4AA395@mailborder.com> <169BD125-C378-4C26-9E17-57270AFCB87A@mailborder.com> <8EE3EADE-BCA5-4ECF-9A3F-4100FCAABC97@mailborder.com> Message-ID: <89A1E5CE-19EA-4137-9F7B-C8A93E71E0B4@mailborder.com> No. mynetworks in /etc/postfix/main.cf - Jerry Benton www.mailborder.com > On Apr 28, 2016, at 5:00 AM, Emre Kele? wrote: > > /etc/postfix/transport > * smtp:mailserveripadress > > /etc/postfix/main.cf > relay_domains = static:ALL > > > Did you like this? > > > 2016-04-28 11:54 GMT+03:00 Jerry Benton >: > Then setup Postfix to all relaying from your Citrix netscaler. > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 28, 2016, at 4:52 AM, Emre Kele? > wrote: >> >> I do not wanna add individual domains . >> >> 2016-04-28 11:42 GMT+03:00 Jerry Benton >: >> MailScanner setup for postfix: https://www.mailscanner.info/postfix/ >> >> Google search on how to setup postfix for multiple domains: https://blog.tinned-software.net/setup-postfix-for-multiple-domains/ >> >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> >>> On Apr 28, 2016, at 4:28 AM, Emre Kele? > wrote: >>> >>> I want to structure it that way. Can you help about postfix configuration ? >>> >>> 2016-04-28 10:02 GMT+03:00 Jerry Benton >: >>> P.S. - not trying to push my product. Just saying it can be done. >>> >>> - >>> Jerry Benton >>> www.mailborder.com >>> >>> >>> >>>> On Apr 28, 2016, at 3:00 AM, Jerry Benton > wrote: >>>> >>>> You can run it on a single server. I have a Mailborder customer with over 8,000 domains. His servers are running 32 core CPU 32 GB RAM. Each server processes about 2,000,000 emails per day. If you are putting this much volume through the servers, you will definitely need to compile your SpamAssassin rules. >>>> >>>> Note that this is done using Mailborder on top of MailScanner. Setting this up by hand would be a nightmare. >>>> >>>> >>>> - >>>> Jerry Benton >>>> www.mailborder.com >>>> >>>> >>>> >>>>> On Apr 28, 2016, at 2:54 AM, Anders Kongsted > wrote: >>>>> >>>>> Hi Emre, >>>>> >>>>> It's quite difficult to tell you how many server you will need. >>>>> >>>>> If each of the 8k domains is receiving one email each, you can run it on a single server. :) >>>>> >>>>> It also depends on the size of the hardware you're running the MailScanner's on. >>>>> >>>>> But depending on the performance of the hardware, I would start with 3 or 4 servers, and if they can't handle the load, you can add extra afterwards. >>>>> >>>>> If possible you could also add the domains in smaller chunks, and see of stuff is running. >>>>> >>>>> //Anders >>>>> >>>>> >>>>> >>>>> Emre Kele? skrev den 28-04-2016 08:23: >>>>> >>>>>> Hello to everyone >>>>>> >>>>>> Many thanks to everyone develops . >>>>>> >>>>>> 8 thousand domains you want to make a protection. >>>>>> >>>>>> I want to use as a proxy . 8 thousand in a single domain 's mail server. >>>>>> >>>>>> MailScanner all the mail will go to a single mail server. >>>>>> >>>>>> I want to use postfix as the MTA. >>>>>> >>>>>> 8 How many servers or a single server of this process for the domain Can you ride . >>>>>> >>>>>> I k 10 is MailScanner to 8 thousand domains and NetScaler can run over 10 MailScanner server routing form . >>>>>> >>>>>> How do you create a structure . >>>>>> >>>>>> -- >>>>>> >>>>>> Emre >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> MailScanner mailing list >>>>> mailscanner at lists.mailscanner.info >>>>> http://lists.mailscanner.info/listinfo/mailscanner >>>>> >>>> >>> >>> >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/listinfo/mailscanner >>> >>> >>> >>> >>> >>> -- >>> >>> Emre >>> >>> >>> -- >>> MailScanner mailing list >>> mailscanner at lists.mailscanner.info >>> http://lists.mailscanner.info/listinfo/mailscanner >>> >> >> >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> >> >> >> >> >> -- >> >> Emre >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner >> > > > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > > > > > > -- > > Emre > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner > -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick at yoopermail.us Thu Apr 28 12:07:20 2016 From: patrick at yoopermail.us (Patrick Goupell) Date: Thu, 28 Apr 2016 08:07:20 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> <572133BE.8030504@yoopermail.us> Message-ID: <5721FCF8.5020903@yoopermail.us> On 04/27/2016 06:54 PM, Jerry Benton wrote: > I stood up an Ubuntu 16 server. Totally unsurprised, they changed a package name again. I am surprised the guys packaging clamav didn?t change the user it runs under again. Since like ? they have changed it 4 or 5 times over the years. > > Note, selecting 'perl-modules-5.22' instead of 'perl-modules' > perl-modules-5.22 is already the newest version (5.22.1-9). > > > You will have to force install MailScanner on Ubuntu 16 or select the ?ignore dependencies? option when asked in the setup script. I will update the debian control file for MailScanner v5. I am not going to bother with v4. > > > - > Jerry Benton > www.mailborder.com > > > Time frame for v5? 6 months? a year? Patrick From jerry.benton at mailborder.com Thu Apr 28 12:08:21 2016 From: jerry.benton at mailborder.com (Jerry Benton) Date: Thu, 28 Apr 2016 08:08:21 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: <5721FCF8.5020903@yoopermail.us> References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> <572133BE.8030504@yoopermail.us> <5721FCF8.5020903@yoopermail.us> Message-ID: <400FBC4A-F11A-418D-96D6-ABB2ABB91D64@mailborder.com> A week. - Jerry Benton www.mailborder.com > On Apr 28, 2016, at 8:07 AM, Patrick Goupell wrote: > > > > On 04/27/2016 06:54 PM, Jerry Benton wrote: >> I stood up an Ubuntu 16 server. Totally unsurprised, they changed a package name again. I am surprised the guys packaging clamav didn?t change the user it runs under again. Since like ? they have changed it 4 or 5 times over the years. >> >> Note, selecting 'perl-modules-5.22' instead of 'perl-modules' >> perl-modules-5.22 is already the newest version (5.22.1-9). >> >> >> You will have to force install MailScanner on Ubuntu 16 or select the ?ignore dependencies? option when asked in the setup script. I will update the debian control file for MailScanner v5. I am not going to bother with v4. >> >> >> - >> Jerry Benton >> www.mailborder.com >> >> >> > > Time frame for v5? 6 months? a year? > > Patrick > > > -- > MailScanner mailing list > mailscanner at lists.mailscanner.info > http://lists.mailscanner.info/listinfo/mailscanner From patrick at yoopermail.us Thu Apr 28 12:57:24 2016 From: patrick at yoopermail.us (Patrick Goupell) Date: Thu, 28 Apr 2016 08:57:24 -0400 Subject: mailscanner 4.85.2 on ubuntu server 16.04 lts In-Reply-To: <400FBC4A-F11A-418D-96D6-ABB2ABB91D64@mailborder.com> References: <5720D141.2070104@yoopermail.us> <3AA43746-8EFE-497C-877B-D8703BFB2B04@mailborder.com> <57212E04.8050204@yoopermail.us> <43DCAB8C-4765-4B70-8338-656AE0556BFC@mailborder.com> <572133BE.8030504@yoopermail.us> <5721FCF8.5020903@yoopermail.us> <400FBC4A-F11A-418D-96D6-ABB2ABB91D64@mailborder.com> Message-ID: <572208B4.4070700@yoopermail.us> Greate, I will wait and give that one a try. On 04/28/2016 08:08 AM, Jerry Benton wrote: > A week. > > - > Jerry Benton > www.mailborder.com > > > >> On Apr 28, 2016, at 8:07 AM, Patrick Goupell wrote: >> >> >> >> On 04/27/2016 06:54 PM, Jerry Benton wrote: >>> I stood up an Ubuntu 16 server. Totally unsurprised, they changed a package name again. I am surprised the guys packaging clamav didn?t change the user it runs under again. Since like ? they have changed it 4 or 5 times over the years. >>> >>> Note, selecting 'perl-modules-5.22' instead of 'perl-modules' >>> perl-modules-5.22 is already the newest version (5.22.1-9). >>> >>> >>> You will have to force install MailScanner on Ubuntu 16 or select the ?ignore dependencies? option when asked in the setup script. I will update the debian control file for MailScanner v5. I am not going to bother with v4. >>> >>> >>> - >>> Jerry Benton >>> www.mailborder.com >>> >>> >>> >> Time frame for v5? 6 months? a year? >> >> Patrick >> >> >> -- >> MailScanner mailing list >> mailscanner at lists.mailscanner.info >> http://lists.mailscanner.info/listinfo/mailscanner > > -- Patrick Goupell Are you free? Find out at http://www.sedm.org/ Income taxes? Find out at http://www.whatistaxed.com From markussen at media24.no Fri Apr 29 12:05:24 2016 From: markussen at media24.no (Trond M. Markussen) Date: Fri, 29 Apr 2016 14:05:24 +0200 Subject: Spoofed email and SPF Message-ID: <011f01d1a20f$6a931bd0$3fb95370$@media24.no> Hi, What is the best way to block spoofed email for one particular domain? We have a relatively high score setting for SPF_FAIL already, but need to block all fails for one client/domain.. Regards, Trond M. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at msapiro.net Fri Apr 29 15:24:47 2016 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 29 Apr 2016 08:24:47 -0700 Subject: Spoofed email and SPF In-Reply-To: <011f01d1a20f$6a931bd0$3fb95370$@media24.no> References: <011f01d1a20f$6a931bd0$3fb95370$@media24.no> Message-ID: <57237CBF.9020604@msapiro.net> On 04/29/2016 05:05 AM, Trond M. Markussen wrote: > > What is the best way to block spoofed email for one particular domain? > We have a relatively high score setting for SPF_FAIL already, but need > to block all fails for one client/domain.. You could probably make a meta rule for SA that would give a really high score if SPF_FAIL and from the particular domain. You could also investigate DMARC. See , and it's first hit at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan