{"id":67060,"library":"teamwork-spamc","title":"Spamc","description":"Package spamc is a client library for SpamAssassin's spamd daemon.","status":"active","version":"0.0.0-20200109085853-a4e0c5c3f7a0","language":"go","source_language":null,"source_url":"https://github.com/Teamwork/spamc","tags":["spamassassin","spam","email","client"],"install":[{"cmd":"go get github.com/Teamwork/spamc","lang":"bash","label":"Install github.com/Teamwork/spamc"}],"dependencies":[],"imports":[{"symbol":"spamc","correct":"github.com/Teamwork/spamc"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"github.com/Teamwork/spamc\"\n)\n\nfunc main() {\n\tclient := spamc.New(\"localhost\", 783)\n\tmsg := strings.NewReader(\"Subject: test\\n\\nHello\")\n\treport, err := client.Report(msg, nil)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(report.Score)\n}","lang":"go","description":"Check a message against SpamAssassin and print its spam score."},"warnings":[{"fix":"Use Header.Set() instead of directly setting the map to ensure correct capitalization.","message":"Content-length header must be lowercase 'l' in 'length'.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'client':6,16 'daemon':12 'email':15 'librari':7 'packag':2 'spam':14 'spamassassin':9,13 'spamc':1,3 'spamd':11","created_at":"2026-06-17T17:32:23.454741+00:00","updated_at":"2026-06-17T17:32:23.454741+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Teamwork/spamc","github":"https://github.com/Teamwork/spamc","docs":"https://pkg.go.dev/github.com/Teamwork/spamc#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}