Skip to main content

Posts

Showing posts from 2018
  debian,  amavis,  virus inside archive   One my client asked informed me, that amavis skips some files types. mail server configuration is really simple: Postfix as SMTP server and  amavis working as context filter. Also amavis runs spamassasin and clamd antivirus. Amavis gets files from attachment and unpack it. lha file is not detected. short investigation First I deceided to run amavis  in debug mode and verify how virus passed postix+amavis.  root@newserver:/var/lib/amavis# /etc/init.d/amavis stop [ ok ] Stopping amavis (via systemctl): amavis.service. root@newserver:/var/lib/amavis# /etc/init.d/amavis debug Trying to run amavisd-new in debug mode. Debug mode inform about loaded plugins: ' Nov 13 22:07:23.335 newserver. /usr/sbin/amavisd-new[40334]: Found decoder for .cpio at /bin/pax Nov 13 22:07:23.336 newserver. /usr/sbin/amavisd-new[40334]: Found decoder for .tar at /bin/pax Nov 13 22:07:23.336 newserver. /usr/sbin/amavisd-new[40334]

My new home server (fight with noise and temperature monitoring)

Hardware I've got another new PC for home purpose and decided to make a home server for my sysadmin and programming tasks.  Also, my old PC  is based on AMD 6-cores phenom and six cores is a good value for virtualization. Are you ready to have a cloud at home? Yes, I'm. I bought a special case  (2U size with six places for hard drives. ) This case also has 3 80mm coolers and I hope this a good way to make cold system. Standart PC power supply is placed at a front side and the power cable is going from the front side to the back side.  My Chiftec power supply has a lot of cord and it is impossible to set up all 6 drives inside. It is no place for the power cord. At this moment I think that power supply with unattachable cord is a good choice.  I spend one drive case for my cables. Another one issue is a noise of low-cost chinese coolers.  They generate a good airstream but noise was unacceptable. I cut  red wire and added a resistor (22 Omh) and 33 Omh t

Update grub using dracut

Fixing grub using dracut Last kernel update was not successful to me. Centos can not boot with next messages:  [ 180.098802] dracut-initqueue[376]: Warning: dracut-initqueue timeout - starting timeout scripts [ 180.610167] dracut-initqueue[376]: Warning: dracut-initqueue timeout - starting timeout scripts [ 181.121619] dracut-initqueue[376]: Warning: dracut-initqueue timeout - starting timeout scripts [ 181.633093] dracut-initqueue[376]: Warning: dracut-initqueue timeout - starting timeout scripts [ 182.144831] dracut-initqueue[376]: Warning: dracut-initqueue timeout - starting timeout scripts [ 182.656146] dracut-initqueue[376]: Warning: dracut-initqueue timeout - starting timeout scripts [ 183.167306] dracut-initqueue[376]: Warning: dracut-initqueue timeout - starting timeout scripts [ 183.678755] dracut-initqueue[376]: Warning: dracut-initqueue timeout - starting timeout scripts  Of course simples way  is creating  linux  usb stick  and fix it. But dracut