Blob


1 version=pmwiki-2.2.130 ordered=1 urlencoded=1
2 agent=Mozilla/5.0 (X11; OpenBSD amd64; rv:76.0) Gecko/20100101 Firefox/76.0
3 author=jrmu
4 charset=UTF-8
5 csum=
6 ctime=1597745206
7 host=38.81.163.143
8 name=Openbsd.Fdm
9 rev=1
10 targets=
11 text='''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.%0a%0aIn ~/.fdm.conf:%0a%0a[@%0aset no-received # don't insert a ‘Received’ header into each mail%0aset verify-certificates # verify SSL certificates%0a# Catch-all action (mbox):%0aaction "inbox" mbox "/var/mail/%25u" # download mail in mbox format to /var/mail/user123%0a# Catch-all action (maildir):%0a#action "inbox" maildir "%25h/Mail/INBOX" # download mail in maildir format to ~/Mail/INBOX, but commented out%0a%0aaccount "user123" imaps server "imap.ircnow.org"%0a user "user123@ircnow.org" pass "pass123" new-only keep%0a%0a# Match all mail and deliver using the 'inbox' action.%0amatch all action "inbox"%0a@]%0a%0aReplace user123 and pass123 with your real username and password.%0a%0aFor extra user accounts, simply add another two lines:%0a%0a[@%0aaccount "user123" imaps server "imap.ircnow.org"%0a user "user123@ircnow.org" pass "pass123" new-only keep%0a@]%0a%0aMake sure you have the keep keyword, or else fdm will request the IMAP server to delete your mail. new-only tells fdm only to download new mail (and not all mail).%0a%0aTo fetch mail, simply run:%0a%0a[@%0a$ fdm -v fetch%0a@]
12 time=1597745206
13 author:1597745206=jrmu
14 diff:1597745206:1597745206:=1,35d0%0a%3c '''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.%0a%3c %0a%3c In ~/.fdm.conf:%0a%3c %0a%3c [@%0a%3c set no-received # don't insert a ‘Received’ header into each mail%0a%3c set verify-certificates # verify SSL certificates%0a%3c # Catch-all action (mbox):%0a%3c action "inbox" mbox "/var/mail/%25u" # download mail in mbox format to /var/mail/user123%0a%3c # Catch-all action (maildir):%0a%3c #action "inbox" maildir "%25h/Mail/INBOX" # download mail in maildir format to ~/Mail/INBOX, but commented out%0a%3c %0a%3c account "user123" imaps server "imap.ircnow.org"%0a%3c user "user123@ircnow.org" pass "pass123" new-only keep%0a%3c %0a%3c # Match all mail and deliver using the 'inbox' action.%0a%3c match all action "inbox"%0a%3c @]%0a%3c %0a%3c Replace user123 and pass123 with your real username and password.%0a%3c %0a%3c For extra user accounts, simply add another two lines:%0a%3c %0a%3c [@%0a%3c account "user123" imaps server "imap.ircnow.org"%0a%3c user "user123@ircnow.org" pass "pass123" new-only keep%0a%3c @]%0a%3c %0a%3c Make sure you have the keep keyword, or else fdm will request the IMAP server to delete your mail. new-only tells fdm only to download new mail (and not all mail).%0a%3c %0a%3c To fetch mail, simply run:%0a%3c %0a%3c [@%0a%3c $ fdm -v fetch%0a%3c @]%0a\ No newline at end of file%0a
15 host:1597745206=38.81.163.143