diff options
Diffstat (limited to '')
-rw-r--r-- | .bashrc | 5 | ||||
-rw-r--r-- | .config/getmail/getmailrc (renamed from .getmail/getmailrc) | 16 | ||||
-rw-r--r-- | .emacs.d/var/eshell/alias | 5 |
3 files changed, 16 insertions, 10 deletions
@@ -36,7 +36,10 @@ alias cp="cp -iv" alias scl=systemctl alias jcl=journalctl alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc' -alias m="mbsync csclub; mbsync uwaterloo; mbsync amin" +alias getmail='getmail --getmaildir "$XDG_CONFIG_HOME"/getmail --rcfile getmailrc' +alias mb="mbsync csclub; mbsync uwaterloo; mbsync amin" +alias gm="getmail" +alias m="mb; gm" alias best="youtube-dl -f best" aur() { diff --git a/.getmail/getmailrc b/.config/getmail/getmailrc index f2bff62..1f1a72d 100644 --- a/.getmail/getmailrc +++ b/.config/getmail/getmailrc @@ -7,13 +7,13 @@ port = 995 use_apop = True [destination] -type = Maildir -path = ~/mail/gnu/Inbox/ - -# [destination] -# type = MDA_external -# path = /usr/lib/dovecot/deliver -# arguments = ('-d', 'amin@aminb.org') +type = MDA_external +path = /usr/lib/dovecot/deliver +arguments = ('-e', '-f', '%(sender)', '-d', 'bandali@gnu.local') [options] -delete = True +read_all = false +delete = false +delete_after = 14 +received = false +delivered_to = false diff --git a/.emacs.d/var/eshell/alias b/.emacs.d/var/eshell/alias index a2d9b2f..0cc10a0 100644 --- a/.emacs.d/var/eshell/alias +++ b/.emacs.d/var/eshell/alias @@ -15,4 +15,7 @@ alias pk eshell-up-peek $1 alias vi find-file $1 alias vim find-file $1 alias mbsync mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc $* -alias m mbsync csclub; mbsync uwaterloo; mbsync amin +alias getmail getmail --getmaildir $XDG_CONFIG_HOME/getmail --rcfile getmailrc $* +alias mb mbsync csclub; mbsync uwaterloo; mbsync amin +alias gm getmail +alias m mb; gm |