diff options
-rw-r--r-- | Bastillefile | 6 | ||||
-rw-r--r-- | usr/local/etc/rss2email.cfg | 89 | ||||
-rw-r--r-- | var/cron/tabs/root | 2 |
3 files changed, 95 insertions, 2 deletions
diff --git a/Bastillefile b/Bastillefile index a8a6b4c..60947b2 100644 --- a/Bastillefile +++ b/Bastillefile @@ -1,4 +1,8 @@ # Simple rss2email jail PKG py38-rss2email -SERVICE cron onerestart +OVERLAY usr +OVERLAY var +CMD mkdir -p /var/rss +FSTAB /zroot/rss /var/rss nullfs rw 0 0 +SERVICE cron restart diff --git a/usr/local/etc/rss2email.cfg b/usr/local/etc/rss2email.cfg new file mode 100644 index 0000000..10be1c2 --- /dev/null +++ b/usr/local/etc/rss2email.cfg @@ -0,0 +1,89 @@ +[DEFAULT] +from = user@rss2email.invalid +user-agent = rss2email/__VERSION__ (__URL__) +use-8bit = False +force-from = False +use-publisher-email = False +name-format = {feed-title}: {author} +to = atc@53hor.net +proxy = +feed-timeout = 60 +same-server-fetch-interval = 0 +active = True +digest = False +date-header = False +date-header-order = modified, issued, created, expired +bonus-header = +trust-guid = True +trust-link = False +reply-changes = False +encodings = US-ASCII, ISO-8859-1, UTF-8, BIG5, ISO-2022-JP +post-process = +digest-post-process = +html-mail = False +multipart-html = False +use-css = False +css = h1 { + font: 18pt Georgia, "Times New Roman"; + } + body { + font: 12pt Arial; + } + a:link { + font: 12pt Arial; + font-weight: bold; + color: #0000cc; + } + blockquote { + font-family: monospace; + } + .header { + background: #e0ecff; + border-bottom: solid 4px #c3d9ff; + padding: 5px; + margin-top: 0px; + color: red; + } + .header a { + font-size: 20px; + text-decoration: none; + } + .footer { + background: #c3d9ff; + border-top: solid 4px #c3d9ff; + padding: 5px; + margin-bottom: 0px; + } + #entry { + border: solid 4px #c3d9ff; + } + #body { + margin-left: 5px; + margin-right: 5px; + } + +unicode-snob = False +links-after-each-paragraph = False +inline-links = True +wrap-links = True +body-width = 0 +email-protocol = sendmail +sendmail = /usr/sbin/sendmail +sendmail_config = +smtp-auth = False +smtp-username = username +smtp-password = password +smtp-server = smtp.example.net +smtp-port = 465 +smtp-ssl = False +imap-auth = False +imap-username = username +imap-password = password +imap-server = imap.example.net +imap-port = 143 +imap-ssl = False +imap-mailbox = INBOX +maildir-path = ~/Maildir +maildir-mailbox = INBOX +verbose = info + diff --git a/var/cron/tabs/root b/var/cron/tabs/root index c178238..96b7c88 100644 --- a/var/cron/tabs/root +++ b/var/cron/tabs/root @@ -1 +1 @@ -0 * * * * echo +0 * * * * r2e --config /usr/local/etc/rss2email.cfg --data /var/rss/rss2email.json run |