forked from Shirakumo/courier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule.lisp
26 lines (24 loc) · 910 Bytes
/
module.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#|
This file is a part of Courier
(c) 2019 Shirakumo http://tymoon.eu ([email protected])
Author: Nicolas Hafner <[email protected]>
|#
(in-package #:modularize-user)
(define-module #:courier
(:use #:cl #:radiance)
(:shadow #:trigger #:delete-file #:file #:make-sequence #:sequence)
(:export)
(:local-nicknames
(#:dns #:org.shirakumo.dns-client)
(#:feeder #:org.shirakumo.feeder)
(#:markless #:org.shirakumo.markless)
(#:components #:org.shirakumo.markless.components)))
(in-package #:courier)
(define-trigger startup ()
(defaulted-config "Courier Mailing" :title)
(defaulted-config "Shirakumo" :copyright)
(defaulted-config (make-random-string 32) :private-key)
(defaulted-config (make-random-string 32) :salt)
(defaulted-config 3 :send-queue :retry-backoff-exponent)
(defaulted-config 10 :send-queue :retry-attempts)
(defaulted-config 60 :send-queue :poll-interval))