Contents:
MySQL export to CSV
Reclaiming disk space from MyISAM tables (MySQL)
Postfix, virtual domains and personal spam folders
Pretty easy:
mysql -u<username> -p<password> <dbname> -B -e "select * from '<tablename>'" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' > <filename.csv> |
Change to db directory and type: myisamchk -r -S -a *.MYI
If you ever set up a popular bunch of Postfix + Amavisd-new + PostgreSQL/MySQL with virtual domains support, you could probably be disappointed by the fact that by default all messages filtered out by anti-spam and anti-virus filters go to the system’s quarantine folder.
Home
Contacts
Downloads
RoR
Servers
Notes
Linux
ERR
Русский