Duplicate mail solution (Was: Re: Problem?)

Sotiris Tsimbonis stsimb at forthnet.gr
Thu Sep 9 12:33:30 EEST 1999


On Thu, 9 Sep 1999, Bassoukos Tassos wrote:
> > Einai problhma toy ISP mou, h lambanete oloi apo kammia 20aria fores ta
> > mail?
> Hmm... egw shmera elaba 98 fores to idio mail :) - alla oxi apo thn lista

Osoi exoun tetoio problhma apo cross-posts `h otidhpote allo me
dipla/pollapla mails, mporei na broune xrhsima dyo procmail rules[0] pou
analambanoun na peta3oune ta duplicates sto /dev/null :-)

Arkei na mpoune sthn arxh tou ~/.procmailrc ta rules
-----------------------------
:0 Whc: msgid.lock
| formail -D 8192 msgid.cache

:0 a:
/dev/null
-----------------------------
To endiaferon einai pws leitourgei ayto to systhma :)
(apospasma apo to procmail mini-faq[1])

To prwto rule panta epitygxanei, giati den exei kanena periorismo. Etsi
loipon, to formail analambanei na koita3ei ta headers (h flag) tou
mynhmatos pou tou pasarei to procmail kai na gyrisei kapoio error code (W
flag).. To formail loipon, koitaei sto arxeio msgid.cache pou exei to poly
8192 eggrafes, an to msgid yparxei hdh[2]. To synithismeno einai na MHN
yparxei, ki etsi to formail apantaei "lypamai megale, den mporw na kanw
tipota" opote to procmail anagkastika synexizei sta epomena rules gia to
mail.. Sthn periptwsh pou to formail BREI to msgid mesa sto cache file,
tote to procmail pisteyei oti to mynhma epa8e oti tou a3ize apo to formail
kai de synexizei.. To mynhma bebaia paei sto /dev/null kai de ftanei
tipota sto mailbox :-)

Sotiris.
[0] man procmailex
[1] http://www.ling.helsinki.fi/users/reriksso/procmail/mini-faq.html
[2] To MSGID se ka8e diaforetiko mail einai monadiko..

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list