[ANSOL-geral]Mailing list da ANSOL

Vitor Domingos vd arroba paradigma.co.pt
Sun, 7 Apr 2002 00:18:02 +0100


Depois de uma leve pesquisa...

[root arroba neon mailman]# grep 'OBSCURES_EMAILADDRS' * -r |more
Mailman/Archiver/HyperArch.py:        
if mm_cfg.ARCHIVER_OBSCURES_EMAILADDRS:
Binary file Mailman/Archiver/HyperArch.pyc matches
Mailman/Defaults.py:
ARCHIVER_OBSCURES_EMAILADDRS = 0
Binary file Mailman/Defaults.pyc matches

Ele no HyperArch.py diz:

if mm_cfg.ARCHIVER_OBSCURES_EMAILADDRS:
            self.email = re.sub('@', ' at ', self.email)

No Defaults.py diz:

# Pipermail archives contain the raw email addresses of the posting authors.
# Some view this as a goldmine for spam harvesters.  Set this to false to
# moderately obscure email addresses, but note that this breaks mailto: URLs
# in the archives too.
ARCHIVER_OBSCURES_EMAILADDRS = 0


There you go..

(por acaso nao sabia que esta funcionalidade existisse... as coisas que uma pessoa aprende a vasculhar codigo)

Para substituir o '@' penso que nada melhor que 'em' ou 'arroba' ;)

---- 
Cumprimentos,
Vitor Domingos
---------------
"Imagination is more important than knowledge."