procmail and some things

This commit is contained in:
Frank Villaro-Dixon 2014-07-21 16:06:37 +02:00
parent bfc065eb39
commit 69275fcea3
4 changed files with 27 additions and 12 deletions

2
bashrc
View file

@ -1,5 +1,6 @@
shopt -s checkwinsize #Pour pas s'écrire dessus shopt -s checkwinsize #Pour pas s'écrire dessus
shopt -s histappend shopt -s histappend
shopt -s autocd #No more cd xx
##shopt -s autocd #Like zsh ##shopt -s autocd #Like zsh
PROMPT_COMMAND='history -a' PROMPT_COMMAND='history -a'
@ -592,6 +593,7 @@ export MANPATH=$MANPATH:$DEVKITARM/man
export PATH=$PATH:~/Programmation/dotfiles/Utils export PATH=$PATH:~/Programmation/dotfiles/Utils
export HISTCONTROL=erasedups export HISTCONTROL=erasedups
export HISTSIZE=999999
# }}} # }}}
export PATH="$HOME/opt/cross/bin:$PATH" export PATH="$HOME/opt/cross/bin:$PATH"
export PATH="/home/frank/.gem/ruby/2.0.0/bin/:$PATH" export PATH="/home/frank/.gem/ruby/2.0.0/bin/:$PATH"

View file

@ -1,5 +1,6 @@
image/*; feh %s 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 audio/*; vlc %s
application/pdf; evince %s application/pdf; evince %s
application/msword; libreoffice %s application/msword; libreoffice %s

View file

@ -127,3 +127,7 @@ set sleep_time=0
#set mime_forward=yes #set mime_forward=yes
#set mime_forward_rest=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>"

View file

@ -13,7 +13,7 @@ SED=/bin/sed
#:0 #:0
# * ^Subject:.*(credit|cash|money|debt|sex|sale|loan) # * ^Subject:.*(credit|cash|money|debt|sex|sale|loan)
# $MAILDIR/.SPAM/new # $MAILDIR/.SPAM/new
#
#Out EachBuyer #Out EachBuyer
:0 :0
* ^From:.*EachBuyer.* * ^From:.*EachBuyer.*
@ -53,7 +53,6 @@ SED=/bin/sed
* ^From:.*Pourmonbureau.com.* * ^From:.*Pourmonbureau.com.*
$SPAMBOX $SPAMBOX
:0 :0
* ^From:.*Masterstudies.com.* * ^From:.*Masterstudies.com.*
$SPAMBOX $SPAMBOX
@ -81,6 +80,7 @@ SED=/bin/sed
$SPAMBOX $SPAMBOX
#Out directindustry #Out directindustry
:0
* ^From:.*Directindustry.* * ^From:.*Directindustry.*
$SPAMBOX $SPAMBOX
@ -121,6 +121,10 @@ SED=/bin/sed
* ^Subject:.*vid-i.com.* * ^Subject:.*vid-i.com.*
$SPAMBOX $SPAMBOX
:0
*^To:.*email_list@test.villaro.ch.*
$SPAMBOX
#WTF is this shit ? #WTF is this shit ?
:0 :0
* ^From:.*newfrog.* * ^From:.*newfrog.*
@ -153,16 +157,19 @@ SED=/bin/sed
$SPAMBOX $SPAMBOX
#Out fcking ads #Out fcking ads
:0
* ^To:.*tor@vi-di.fr.* * ^To:.*tor@vi-di.fr.*
* ^From:.*(Prizer|Prizer).* * ^From:.*(Prizer|Prizer).*
* ^Subject:.*(S|s)av(ings|e).* * ^Subject:.*(S|s)av(ings|e).*
$SPAMBOX $SPAMBOX
#out edaboard #out edaboard
:0
* ^To:.*edaboard@vi-di.fr.* * ^To:.*edaboard@vi-di.fr.*
$SPAMBOX $SPAMBOX
#Out discounts #Out discounts
:0
* ^To:.*tor@vi-di.fr.* * ^To:.*tor@vi-di.fr.*
* ^From: American Health Store.* * ^From: American Health Store.*
$SPAMBOX $SPAMBOX
@ -179,7 +186,7 @@ SED=/bin/sed
* http:// * http://
* news.html * news.html
$SPAMBOX $SPAMBOX
:0 B j:0 B
* petroleum * petroleum
* spill * spill
* oil * oil
@ -228,20 +235,20 @@ SED=/bin/sed
#taken from bethesignal.org; thanks ;) #taken from bethesignal.org; thanks ;)
:0 fBw :0 fBw
* ^--$ * ^--$
| $SED -e 's/^--$/-- /' | $SED -e 's/^--$/-- /'
:0 fBw :0 fBw
* ^_______________________________________________$ * ^_______________________________________________$
| $SED -e 's/^_______________________________________________$/-- /' | $SED -e 's/^_______________________________________________$/-- /'
:0 fBw :0 fBw
* ^________________________________$ * ^________________________________$
| $SED -e 's/^________________________________$/-- /' | $SED -e 's/^________________________________$/-- /'
:0 fBw :0 fBw
* ^---------------------------$ * ^---------------------------$
| $SED -e 's/^---------------------------$/-- /' | $SED -e 's/^---------------------------$/-- /'
#:0c #:0c
@ -250,3 +257,4 @@ SED=/bin/sed
:0: :0:
$DEFAULT $DEFAULT