I said: > fetchmail -a myserver --folder test-folder -m $HOME/bin/process-email
Note: For this to work you have to use imap. A .fetchmailrc file like this would probably work: server myserver proto imap port 993: user "myuser" pass "mypasswd" ssl mda "procmail" I switched to fetchmail+imap (from fetchmail+pop3) when I realized it was possible to retrieve different folders that way (not just "INBOX"). POP3 does not allow that.