procmail and some things
This commit is contained in:
parent
bfc065eb39
commit
69275fcea3
4 changed files with 27 additions and 12 deletions
2
bashrc
2
bashrc
|
@ -1,5 +1,6 @@
|
|||
shopt -s checkwinsize #Pour pas s'écrire dessus
|
||||
shopt -s histappend
|
||||
shopt -s autocd #No more cd xx
|
||||
##shopt -s autocd #Like zsh
|
||||
PROMPT_COMMAND='history -a'
|
||||
|
||||
|
@ -592,6 +593,7 @@ export MANPATH=$MANPATH:$DEVKITARM/man
|
|||
export PATH=$PATH:~/Programmation/dotfiles/Utils
|
||||
|
||||
export HISTCONTROL=erasedups
|
||||
export HISTSIZE=999999
|
||||
# }}}
|
||||
export PATH="$HOME/opt/cross/bin:$PATH"
|
||||
export PATH="/home/frank/.gem/ruby/2.0.0/bin/:$PATH"
|
||||
|
|
3
mailcap
3
mailcap
|
@ -1,5 +1,6 @@
|
|||
image/*; feh %s
|
||||
text/html; lynx -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput
|
||||
#text/html; lynx -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput
|
||||
text/html; firefox %s
|
||||
audio/*; vlc %s
|
||||
application/pdf; evince %s
|
||||
application/msword; libreoffice %s
|
||||
|
|
|
@ -127,3 +127,7 @@ set sleep_time=0
|
|||
|
||||
#set mime_forward=yes
|
||||
#set mime_forward_rest=yes
|
||||
#
|
||||
#
|
||||
#
|
||||
macro attach 'V' "<pipe-entry>cat > /dev/shm/mail.html && firefox /dev/shm/mail.html && rm /dev/shm/mail.html<enter>"
|
||||
|
|
30
procmailrc
30
procmailrc
|
@ -13,7 +13,7 @@ SED=/bin/sed
|
|||
#:0
|
||||
# * ^Subject:.*(credit|cash|money|debt|sex|sale|loan)
|
||||
# $MAILDIR/.SPAM/new
|
||||
#
|
||||
|
||||
#Out EachBuyer
|
||||
:0
|
||||
* ^From:.*EachBuyer.*
|
||||
|
@ -53,7 +53,6 @@ SED=/bin/sed
|
|||
* ^From:.*Pourmonbureau.com.*
|
||||
$SPAMBOX
|
||||
|
||||
|
||||
:0
|
||||
* ^From:.*Masterstudies.com.*
|
||||
$SPAMBOX
|
||||
|
@ -81,6 +80,7 @@ SED=/bin/sed
|
|||
$SPAMBOX
|
||||
|
||||
#Out directindustry
|
||||
:0
|
||||
* ^From:.*Directindustry.*
|
||||
$SPAMBOX
|
||||
|
||||
|
@ -121,6 +121,10 @@ SED=/bin/sed
|
|||
* ^Subject:.*vid-i.com.*
|
||||
$SPAMBOX
|
||||
|
||||
:0
|
||||
*^To:.*email_list@test.villaro.ch.*
|
||||
$SPAMBOX
|
||||
|
||||
#WTF is this shit ?
|
||||
:0
|
||||
* ^From:.*newfrog.*
|
||||
|
@ -153,16 +157,19 @@ SED=/bin/sed
|
|||
$SPAMBOX
|
||||
|
||||
#Out fcking ads
|
||||
:0
|
||||
* ^To:.*tor@vi-di.fr.*
|
||||
* ^From:.*(Prizer|Prizer).*
|
||||
* ^Subject:.*(S|s)av(ings|e).*
|
||||
$SPAMBOX
|
||||
|
||||
#out edaboard
|
||||
:0
|
||||
* ^To:.*edaboard@vi-di.fr.*
|
||||
$SPAMBOX
|
||||
|
||||
#Out discounts
|
||||
:0
|
||||
* ^To:.*tor@vi-di.fr.*
|
||||
* ^From: American Health Store.*
|
||||
$SPAMBOX
|
||||
|
@ -179,7 +186,7 @@ SED=/bin/sed
|
|||
* http://
|
||||
* news.html
|
||||
$SPAMBOX
|
||||
:0 B
|
||||
j:0 B
|
||||
* petroleum
|
||||
* spill
|
||||
* oil
|
||||
|
@ -228,20 +235,20 @@ SED=/bin/sed
|
|||
|
||||
#taken from bethesignal.org; thanks ;)
|
||||
:0 fBw
|
||||
* ^--$
|
||||
| $SED -e 's/^--$/-- /'
|
||||
* ^--$
|
||||
| $SED -e 's/^--$/-- /'
|
||||
|
||||
:0 fBw
|
||||
* ^_______________________________________________$
|
||||
| $SED -e 's/^_______________________________________________$/-- /'
|
||||
* ^_______________________________________________$
|
||||
| $SED -e 's/^_______________________________________________$/-- /'
|
||||
|
||||
:0 fBw
|
||||
* ^________________________________$
|
||||
| $SED -e 's/^________________________________$/-- /'
|
||||
* ^________________________________$
|
||||
| $SED -e 's/^________________________________$/-- /'
|
||||
|
||||
:0 fBw
|
||||
* ^---------------------------$
|
||||
| $SED -e 's/^---------------------------$/-- /'
|
||||
* ^---------------------------$
|
||||
| $SED -e 's/^---------------------------$/-- /'
|
||||
|
||||
|
||||
#:0c
|
||||
|
@ -250,3 +257,4 @@ SED=/bin/sed
|
|||
|
||||
:0:
|
||||
$DEFAULT
|
||||
|
||||
|
|
Loading…
Reference in a new issue