New server setup, best practice?

Alex Neuman van der Hans alex at vidadigital.com.pa
Tue Aug 16 04:27:15 UTC 2016


How:
find /path/to/files* -mtime +5 -exec mv {} \; /path/to/destination 
That would be one way.
Where: Depends on the situation. Sometimes it’s from SSD to HDD, sometimes it’s from local HDD to remote NAS using NFS or CIFS.

Best? I like CentOS 5 best just because it remained pretty much the same for over 10 years.

That being said, CentOS 7 would be the way to go; you just need to know where to put things.

   
Alex Neuman van der Hans Producer/Host, Vida Digital
+1 (440) 253-9789 <tel:+1 (440) 253-9789> | +507 6781-9505 <tel:+507 6781-9505> | Panama |alex at vidadigital.com.pa <mailto:alex at vidadigital.com.pa> | http://vidadigital.com.pa/ <http://vidadigital.com.pa/> |Skype: alexneuman <https://webapp.wisestamp.com/sig_iframe?origin=outlook&signature_id=5234486814965760&t=0.42697990642243466#> 
 <http://facebook.com/vidadigital>  <http://pa.linkedin.com/in/alexneuman>  <http://twitter.com/alexneuman>  <http://pinterest.com/vidadigital>  <http://youtube.com/user/reliantpty>  <http://instagram.com/vidadigital>  <http://vidadigital.com.pa.wordpress.com/>  <http://amazon.com/?tag=vidadigi-20>  <http://skype:alexneuman/?call&topic=Signature>  <http://whatsapp//send?text=Hello>



> On Aug 15, 2016, at 4:19 AM, Remco Barendse <mailscanner at barendse.to> wrote:
> 
> Thanks Alex!  How/where do you move the mail older than a couple of days ?
> 
> What would be the best distro to use, CentOS 6 or 7 ?  I read earlier that CentOS 7 broke quite a number of conventions but support wise 7 seem
> wise ?
> 
> On Wed, 10 Aug 2016, Alex Neuman van der Hans wrote:
> 
>> Again, depends so much on the specific circumstance… I just set up a $5/month VPS with it, with 15GB total space, storing only the past couple of days’ worth of e-mail for a handful of users.
>> I’ve also set up systems for thousands of users, with a terabyte of SSD storage for “local, recent” stuff plus mbox-purge processes exporting stuff to a couple of dozen terabytes of local HDD storage and monthly processes moving
>> stuff elsewhere using NFS and/or rsync.
>> I’d rather mount NFS than SMB for performance/permissions reasons.
>> [alexneuman.format_png.resize_120x.png#logo]    
>> Alex Neuman van der Hans Producer/Host, Vida Digital
>> +1 (440) 253-9789 | +507 6781-9505 | Panama |alex at vidadigital.com.pa <mailto:alex at vidadigital.com.pa> | http://vidadigital.com.pa/ <http://vidadigital.com.pa/> |Skype: alexneuman 
>> [facebook.png]  [linkedin.png]  [twitter.png]  [pinterest.png]  [youtube.png]  [instagram.png]  [wordpress.png]  [amazon.png] [XT9yavvmRJaZZvINZFTQ_skype.png]  [wEM3vsigQhq5yev6iwEV_whatsapp.png]
>> 
>>      On Aug 10, 2016, at 2:06 PM, Remco Barendse <mailscanner at barendse.to <mailto:mailscanner at barendse.to>> wrote:
>> Thanks Alex!
>> The choice for CPU/MEM/storage is easy when it's a virtual machine, can move around as needed. Was curious what the recommended disk size is for a MailScanner machine and what people do with archive copies of mail/spam. Mount
>> an NFS or SMB share to store that or something else?
>> Thanks :)
>> On Tue, 2 Aug 2016, Alex Neuman van der Hans wrote:
>> 
>>      It really depends on context. Space, CPU and I/O issues can vary greatly from site to site.
>>      If you want to upgrade, look into your biggest bottlenecks first. Sometimes it’s RAM, sometimes it’s disk I/O (where SSD’s would be great), sometimes it’s CPU
>>      power.
>>      In my case I usually go for SSD’s for storing the OS, programs, and mail - and regular hard drives for things like quarantines and such, with scripts moving older
>>      stuff with various protocols (NFS, rsync, FTP) over to long-term storage to make space when needed.
>>      Oh, and it’s not “virii”. Virus is a “mass noun”, like “rice”.  https://en.wikipedia.org/wiki/Plural_form_of_words_ending_in_-us#Virus <https://en.wikipedia.org/wiki/Plural_form_of_words_ending_in_-us#Virus>
>>      [alexneuman.format_png.resize_120x.png#logo]    
>>      Alex Neuman van der Hans Producer/Host, Vida Digital
>>      +1 (440) 253-9789 | +507 6781-9505 | Panama |alex at vidadigital.com.pa <mailto:alex at vidadigital.com.pa> | http://vidadigital.com.pa/ <http://vidadigital.com.pa/> |Skype: alexneuman 
>>      [facebook.png]  [linkedin.png]  [twitter.png]  [pinterest.png]  [youtube.png]  [instagram.png]  [wordpress.png]  [amazon.png] [XT9yavvmRJaZZvINZFTQ_skype.png]
>>       [wEM3vsigQhq5yev6iwEV_whatsapp.png]
>> 
>>           On Aug 2, 2016, at 5:46 AM, Remco Barendse <mailscanner at barendse.to> wrote:
>>      Hi list!
>>      I would like to upgrade the servers that are running MailScanner.
>>      What is the best approach on storage? It will be virtual machines (which i guess is what a lot of people are doing now), how to approach the storage issue,
>>      what would be the best approach / design? What size for the MailScanner root partition etc. ?
>>      I have to keep verbatim copies of anything that goes in or out of the mail servers, i keep the qf/df pairs from sendmail.
>>      I read some people seeing their quarantine getting filled with 7 Gb of virii just in one day, what would be recommended storage sizes and how to deal with
>>      quarantine / archive folders? If it wise or recommended to mount an external volume at /var/spool/MailScanner/quarantine and
>>      /var/spool/MailScanner/archived or is  there a better way ?
>>      If I have several MailScanner servers, is it OK to keep all spam/archived copies in one and the same mount ?
>>      Will CentOS 7 work flawlessly? Anyone using standard cloud images?
>>      Thanks for any tips / suggestions :>)
>>      --
>>      MailScanner mailing list
>>      mailscanner at lists.mailscanner.info
>>      http://lists.mailscanner.info/listinfo/mailscanner
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info>
>> http://lists.mailscanner.info/listinfo/mailscanner <http://lists.mailscanner.info/listinfo/mailscanner>
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info>
> http://lists.mailscanner.info/listinfo/mailscanner <http://lists.mailscanner.info/listinfo/mailscanner>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160815/7b84339b/attachment.html>


More information about the MailScanner mailing list