skip to navigation
skip to content

foaftmda 0.1

Integration of FOAF into TMDA

Downloads ↓

Put something like this in cron:

0 0 * * * cat ~/.tmda/lists/whitelist ~/.tmda/lists/confirmed | mboxlist2foaf -m http://example.org/foaf#me -b http://example.org/whitelist > ~/public_html/whitelist.rdf
0 0 * * * cat ~/.tmda/lists/whitelist ~/.tmda/lists/confirmed | mboxlist2foaf -m http://example.org/foaf#me -b http://example.org/whitelist -f n3 > ~/public_html/whitelist.n3

And if you have an RDF file, perhaps built from various sources that you whant to check to authorize mail, you can do put the following in your ~/.tmda/filters/incoming:

pipe-headers "checkfoaf -i /some/where/bigwhitelist.rdf" accept
 
File Type Py Version Uploaded on Size # downloads
foaftmda-0.1.tar.gz (md5) Source 2010-10-20 2KB 334