{"id":17272586,"url":"https://github.com/rubyist/rgte","last_synced_at":"2025-03-26T12:45:22.049Z","repository":{"id":422412,"uuid":"42329","full_name":"rubyist/rgte","owner":"rubyist","description":"Email Filter","archived":false,"fork":false,"pushed_at":"2008-08-13T15:13:55.000Z","size":100,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T14:21:55.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rubyi.st/rgte","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubyist.png","metadata":{"files":{"readme":"README","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-08-13T15:13:24.000Z","updated_at":"2019-08-13T13:31:32.000Z","dependencies_parsed_at":"2022-08-16T10:25:11.404Z","dependency_job_id":null,"html_url":"https://github.com/rubyist/rgte","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Frgte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Frgte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Frgte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Frgte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyist","download_url":"https://codeload.github.com/rubyist/rgte/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245658982,"owners_count":20651520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T08:48:59.380Z","updated_at":"2025-03-26T12:45:22.026Z","avatar_url":"https://github.com/rubyist.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= RGTE: An email filter\n\nRGTE is a small, opinionated email filter which processes and filters incoming email into Maildirs.\n\n== License\n\nRGTE is copyright 2008 Scott Barron.  It is licensed under the MIT license.  See the included MIT-LICENSE file for details.\n\n== Installation\n\n$ [sudo] gem install --source http://rubyi.st/gems/ rgte\n\nOne of these days I'll register a Rubyforge project for the gem, but that's such a pain.\n\nAnd don't forget that trailing slash - otherwise it doesn't go.\n\n== Usage\n\nSet up whatever processes your incoming mail to pipe through rgte.  Examples:\n\nUsing .forward:\n\n  $ cat ~/.forward\n  \"|exec /usr/local/bin/rgte\"\n\n\nUsing procmail:\n\n  $ cat ~/.procmail\n  :0:\n  | /usr/local/bin/rgte\n\n\nUsing fetchmail:\n\n  $ cat ~/.fetchmailrc\n  poll myaccount.email.com protocol imap:\n    user \"foo@example.com\" there has password \"blah\" ssl\n    is \"foo\" here and wants mda \"/usr/local/bin/rgte\"\n\n\nWrite your filters in ~/.rgte\n  \n  # Set up some configuration\n  config :maildir_root =\u003e '/home/scott/Maildir', :maildir_backup =\u003e '/home/scott/Mail-backup'\n\n  # Keep a copy of every email in :maildir_backup\n  backup\n\n  # sets up an alias, :me, containing my addresses\n  group :me, 'scott@elitists.net', 'scott@somewhereelse.com'\n\n  # Mark every message that's From the :me alias as read\n  from(:me).read\n\n  # Pipe the mail through spamprobe, file it into @spam if it's a hit and halt processing\n  pipe('/usr/bin/spamprobe train', /^SPAM/, '@spam').halt\n\n  # Put every message From this address into archive and mark it read\n  from('automail@easydraft.com', 'archive').read\n\n  # Email lists - list is a shorthand that matches To, Cc, and From\n  list 'homebrew@hbd.org',                        'lists/hbd'\n  list 'ruby-core@ruby-lang.org',                 'lists/rubycore'\n  list 'dtrace-discuss@opensolaris.org',          'lists/dtrace'\n\n== Contact\n\nSend questions or feedback to Scott Barron (scott@elitists.net).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyist%2Frgte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyist%2Frgte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyist%2Frgte/lists"}