Home > Computers > mail > fetchmail | About

Put something like this in your .fetchmailrc

poll mailhost proto pop3 :
    username "username" nokeep
    mda "/bin/sh -c 'cat > /path/to/mailfolder/new/$(date +%''s_%N)" 

Warning : nokeep will remove mails from the server.

The destination folder should be a maildir like structure so that you can use notmuch on it, this way emails are put in the new directory. notmuch will take care of putting them in cur directory after it sees them (I think ?)

From the command line

contact : @ychaouche yacinechaouche at yahoocom

QR Code
QR Code From the command line (generated for current page)