Archive for September 27, 2013

VIM graphical Cheat Sheet

Click picture to enlarge /

VIM editor – delete lines longer than 50 charenters



You want to remove long lines, but not touch shorter lines.

Example: For each line longer than 50 chars,








should work.

delete frozen mails in exim queue



before deteling any mails try exim -qff starts an exim queue runner process and causes that process to force delivery attempts for all messages, whether frozen or not.


to remove frozen mails run this


exim -bp | grep frozen | awk {'print $3'} | xargs exim -Mrm

merge directories in Linux


To merge one folder to another :

you can use rsync to do a incremental copy of source folder to destination

Try something like this as root:

# rsync -av  /source/folder   /destination/folder

Fixed- iPad IMAP error “unable to move message to mailbox Trash”





Unable to Move Message: The message could not be moved to the mailbox. This only happens if you are using IMAP servers for your email.



To fix


go to Settings.

Scroll down and tap “Mail, Contacts, Calendars” from the list.

Click your email account – it should have an arrow to the right of the email address displayed.

Scroll to the end on the settings and click Advanced.

under Mailbox behavior – select Deleted Mailbox

scroll down and select Trash folder in Server



tap advanced on top and tap done


exit settings and go to mail program and test

whala! – done