scripts

misc scripts and tools
git clone git://git.2f30.org/scripts.git
Log | Files | Refs

commit 2146ad2e3ac3ba92b3929ee4066485f5451f37ea
parent 9b8fae2f20ccaf7d84807f22e6087b91318803f5
Author: sin <sin@2f30.org>
Date:   Mon Jul  3 10:49:11 +0100

Add sample mail cfg

Diffstat:
2f30-mail-cfg/.fdm.conf | 21+++++++++++++++++++++
2f30-mail-cfg/.mutt/muttrc | 35+++++++++++++++++++++++++++++++++++
2f30-mail-cfg/README | 13+++++++++++++
3 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/2f30-mail-cfg/.fdm.conf b/2f30-mail-cfg/.fdm.conf @@ -0,0 +1,21 @@ +$path = "%h/Mail" + +action "openbsd-bugs" maildir "${path}/openbsd-bugs" +action "openbsd-misc" maildir "${path}/openbsd-misc" +action "openbsd-tech" maildir "${path}/openbsd-tech" + +account "2f30-master" pop3 + server "vortex.2f30" + user "XXX" + pass "XXX" + +account "2f30-slave" pop3 + server "hunter.2f30" + user "XXX" + pass "XXX" + +match "^sender: owner-bugs@openbsd\\.org" in headers action "openbsd-bugs" +match "^sender: owner-misc@openbsd\\.org" in headers action "openbsd-misc" +match "^sender: owner-tech@openbsd\\.org" in headers action "openbsd-tech" + +match all action "inbox" diff --git a/2f30-mail-cfg/.mutt/muttrc b/2f30-mail-cfg/.mutt/muttrc @@ -0,0 +1,35 @@ +set realname="XXX" +set from="XXX@2f30.org" + +set my_host="vortex.2f30" +set my_user="XXX" +set my_pass="XXX" + +set smtp_url="smtp://$my_user:$my_pass@$my_host:587" + +set mbox_type=Maildir +set folder=~/Mail +set spoolfile=~/Mail/mbox +set postponed=~/Mail/postponed +set record=~/Mail/sent + +set header_cache=~/.mutt/cache/headers +set ssl_verify_host=yes +set certificate_file=~/.mutt/certificates + +set mailcap_path=~/.mutt/mailcap +auto_view text/html +set charset=utf-8 +set editor="mg -f auto-fill-mode" +set sort=threads +set pager_index_lines=6 +set beep_new + +set alias_file=~/.mutt/aliases +set sort_alias=alias +source $alias_file + +mailboxes \ + +openbsd-bugs \ + +openbsd-misc \ + +openbsd-tech diff --git a/2f30-mail-cfg/README b/2f30-mail-cfg/README @@ -0,0 +1,13 @@ +2f30 mail setup +=============== + +1) copy .fdm.conf and .mutt directory to $HOME + +2) edit .fdm.conf and .mutt/muttrc as needed (user+pass) + +3) setup a cron job for fdm + + crontab -e + * * * * * /usr/local/bin/fdm fetch 1>/dev/null 2>/dev/null + +4) mutt -y