Networknet archive Blog

JeOS: Install mutt without an internet connection

Originally published Last updated 1 comment

By Ivan Versluis

I wanted to email myself MySQL database dumps from a JeOS virtual machine. Mutt is useful for scripting email with file attachments, but I first had to install it on a machine with no internet connectivity behind an internal firewall.

Mutt is a small but very powerful text-based mail client for Unix operating systems. It is great for testing mail server setups and sending email messages via the command line. Read more.

Download and install the packages

Download the .deb files:

Copy the installation files and install them:

Shell2 lines
1
2
dpkg -i mutt_1.5.17+20080114-1ubuntu1_i386.deb
dpkg -i mutt-patched_1.5.17+20080114-1ubuntu1_i386.deb

I scheduled the following command to email me the MySQL dump:

Code1 line
1
echo 'Blog Name:Your mySQL Backup is attached' | mutt -a $DBNAME-backup-$DATE.sql.gz $EMAIL -s "$DBNAME-backup-$DATE database Backup"

1 comment

Comments from the original WordPress site, kept read-only.