Commit 7853c126 authored by Hiro's avatar Hiro 🏄
Browse files

Update how Gettor processes emails

parent dd799fd5
"platforms": ["linux", "osx", "windows"],
"dbname": "gettor.db",
"email_parser_logfile": "email_parser.log",
"dbname": "/srv/",
"email_parser_logfile": "/srv/",
"email_requests_limit": 5,
"sendmail_interval": 10,
"sendmail_addr": "email@addr",
......@@ -9,14 +9,15 @@
# :license: This is Free Software. See LICENSE for license information.
import sys
sys.path.insert(0, '..')
import os
from twisted.python import log
from twisted.internet import defer, reactor
from gettor import EMAIL_PARSER_LOGFILE
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from import EmailParser, AddressError, DKIMError
def process_email(message):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment