"Copy boot_enable_ssh.rc to boot.rc from /boot in the Raspberry Pi's rootfs (SD card)
Still in the Raspberry Pi's rootfs, edit /etc/network/interfaces in order to have a fixed IP address assigned (so no DHCP server is needed). For example,
auto lo eth0
iface lo inet loopback
iface eth0 inet static
Boot your Raspberry Pi, use an Ethernet cable to connect it to the same network that your PC is connected to (or connect it directly to your PC) and login via SSH:
Install a light VNC server in your Raspberry Pi:
sudo apt-get install tightvncserver
Then start the VNC server (you'll be asked to set a password):
vncserver :1 -name RasPi -depth 16 -geometry 1024x768
Install a VNC client in your PC:
apt-get install xtightvncviewer
Then connect to your Raspberry Pi via VNC from your PC:
"mutt -f imaps://mail.yourdomain.com/
Once you’ve connected and logged in, press SHIFT-D (uppercase d). The status bar of mutt should show:
Delete messages matching:
Type in ~s .* so that the line looks like:
Delete messages matching: ~s .*"
Or even simpler
DELETE MESSAGES CONTAINING A KEYWORD IN MUTT
Tagged mutt, mail, bulk, delete Languages bash
Bulk operations in mutt, a console based email client, are easy. Here's how to delete messages containing the keyword 'Newsletter'.
T - asks which messages you want to tag and you reply with 'Newsletter'.
; - asks which action you want to run on the tagged messages.
d - tells that the action you want is delete.
$ - synchronizes the view with the underlying persistence layer.
aktagon|Creative Commons Attribution 3.0 License|About this site"