erol.name
  • Linux
  • Windows
  • Retro gaming
  • C64
  • Mobile
  • Raspberry Pi

erol.name

Tag: grep

Posted on 21. 04. 201617. 04. 2017

Grep pattern in files if found delete the file

Recently I was presented with a problem where mail server was dying because of 100K+ mails in queue.

Due to spool overload it was necessary to identify a pattern and delete it from the /var/spool/postfix/incoming/ and later this needed to be applied for certain inboxes that were filled with spam. Continue reading “Grep pattern in files if found delete the file”

Recent Posts

  • dietpi fstab network
  • How to fix autounpack in rutorrent
  • Midnight commander mc not showing in default colors in GNU screen
  • OGA – Odroid Go Advance replace glass screen lens
  • Add IP to CirrOS manually if DHCP fails

Recent Comments

  • simone on Manually add files and folders to ownCloud
  • erol on How to additionally clean-up Kodi MySQL database from unwanted entries
  • John on How to additionally clean-up Kodi MySQL database from unwanted entries
  • jackd on Switch axis in pifba retropie emulator configuration
  • polv on Select and hide unmounted drive icons from Xfce desktop

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2007-2017 by Erol Tahirović