Remus Anca wrote: > > se poate face cumva conversia din formatul mailurilor din > /var/spool/mail/ > > in cele din > Maildir/ > > ? > > thx > > Remus
vezi $attachment mbox2dir.awk mboxfile sau mbox2dir.awk <mboxfile sau mbox2dir.awk -v template=NUME mboxfile se genereaza mbox-0001, mbox-0002, etc. sau NUME-0001, ... -- Paul Chitescu [EMAIL PROTECTED] http://pchitescu.null.ro/ ICQ:22641673 Any spammers will be painfully squeezed into /dev/null -- Attached file included as plaintext by Listar -- #!/bin/awk -f BEGIN { ftemplate="mbox"; if (template && (template != "")) ftemplate=template; findex=0; ftemplate=ftemplate "-%04d"; fname=sprintf(ftemplate,findex); } { gsub("\r*$",""); } match($0,"^From [[:alnum:]._-]*@") { close(fname); fflush(); findex++; fname=sprintf(ftemplate,findex); } { print >fname; } END { close(fname); fflush(); } --- Pentru dezabonare, trimiteti mail la [EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'. REGULI, arhive si alte informatii: http://www.lug.ro/mlist/
