[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: configuration fetchmail et consorts



Nicolas Rueff a écrit, lundi 6 octobre 2003, à 16:48 :
> le Mon, 6 Oct 2003 16:13:33 +0200, messmate <messmate@free.fr> s'exprima
> en ces termes:
[sendmail c'est trop dur pour ma pauvre tête]

> > Voici les DENY que j'ai dans mailfilterrc mais je doute que cela vient
> > de ça:

Il y a une option TEST si besoin.

> > DENY=^Content-(Type|Disposition):.*(file)?name=.*\.(asd|bat|chm|cmd|c
> > om|dll|exe|hlp|hta|js|jse|lnk|ocx|pif|scr|shb|shm|shs|vb|vbe|vbs|vbx|
> > vxd|wav|wsf|wsh)

Mailfilter ne  regarde que l'en-tête, pas  le corps, ce  filtre est donc
inutile ici (mais pas pour Procmail).

Par contre, ^Content-Type:.*text/html est efficace pour moi (après avoir
vérifié qu'aucun correspondant acceptable(*) ne l'utilise).

(*) malgré cette perversion...


> > DENY=^(Subject|SUBJECT):.*(Latest Net Critical Update|Bug
> > Message|Abort Letter|abort notice|Failure Message)
> >
> > DENY=^(From|FROM):.*(Microsoft|MS Email Delivery System|Inet
> > Email|Internet Message|Inet Mail Service|MS Internet|Net Delivery
> > Service|MS Mail System|internet email delivery|MS Network Delivery|ms
> > network system|MS Security Services|Inet Mail Storage System)
>
> Ça sent le sven, ça. Pour info dans ma config:
>
> DENY=^(FROM|TO|SUBJECT):

 AAAAAAAAARGH ! ACHTUNG MINEN !

Il faut préciser par ailleurs l'option REG_CASE, ou plus
sûr, utiliser ici :

DENY_CASE=^(FROM|TO|SUBJECT):

sinon ce sera un peu trop efficace ;)


> DENY=^From:.*(Microsoft|MS|Inet)
> DENY=^To:.*(Microsoft|Internet|Customer|Inet|Receiver|Commercial)
> DENY=^To:.*user@

Un peu général,
 $ grep -i '^To:.*user@' Mail/LIST.debian-user-french | wc -l
     11

> ALLOW=^To:.*(mon adresse mail)

Pas vraiment un critère, beaucoup trop de spams le mettent. Plutôt :

ALLOW=^References:.*(un truc dans mes Message-ID:)

et la même chose avec In-Reply-To:

[...]

EEAA,
-- 
Jacques L'helgoualc'h



Reply to: