This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
openbsd:fdm [2019/11/15 03:10] jrmu created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | **fdm** stands for __fetch and deliver mail__. It fetches mail from a POP3 or IMAP server to your computer so you can read it locally using a mail client like bsd mail. | ||
- | In ~/.fdm.conf: | ||
- | |||
- | <code> | ||
- | set no-received # don't insert a ‘Received’ header into each mail | ||
- | set verify-certificates # verify SSL certificates | ||
- | # Catch-all action (mbox): | ||
- | action "inbox" mbox "/var/mail/%u" # download mail in mbox format to /var/mail/user123 | ||
- | # Catch-all action (maildir): | ||
- | #action "inbox" maildir "%h/Mail/INBOX" # download mail in maildir format to ~/Mail/INBOX, but commented out | ||
- | |||
- | #moomoo | ||
- | account "user123" imaps server "imap.ircnow.org" | ||
- | user "user123@ircnow.org" pass "pass123" new-only keep | ||
- | |||
- | # Match all mail and deliver using the 'inbox' action. | ||
- | match all action "inbox" | ||
- | </code> | ||
- | |||
- | Replace user123 and pass123 with your real username and password. |