Actually update mailman.
This commit is contained in:
parent
52332035ec
commit
d836149759
1 changed files with 12 additions and 14 deletions
|
@ -139,23 +139,21 @@
|
|||
|
||||
;; Adds given email to given listname
|
||||
(define (add-email-to-mailman-list listname email)
|
||||
(if #t
|
||||
(print "Add " email " to " listname ".")
|
||||
(let ((result
|
||||
(get-mailman-output-lines
|
||||
"add_members" "-r" "-" listname
|
||||
(sprintf "<<<\"~A\"" email))))
|
||||
(print result))))
|
||||
(print "Add " email " to " listname ".")
|
||||
(let ((result
|
||||
(get-mailman-output-lines
|
||||
"add_members" "-r" "-" listname
|
||||
(sprintf "<<<\"~A\"" email))))
|
||||
(print result)))
|
||||
|
||||
;; Removes given email from given listname
|
||||
(define (remove-email-from-mailman-list listname email)
|
||||
(if #t
|
||||
(print "Remove " email " from " listname ".")
|
||||
(let ((result
|
||||
(get-mailman-output-lines
|
||||
"remove_members" (car listname)
|
||||
(sprintf "\"~A\"" email))))
|
||||
(print result))))
|
||||
(print "Remove " email " from " listname ".")
|
||||
(let ((result
|
||||
(get-mailman-output-lines
|
||||
"remove_members" (car listname)
|
||||
(sprintf "\"~A\"" email))))
|
||||
(print result)))
|
||||
|
||||
;; Ensures given email is in given ML
|
||||
(define (mailman-ensure-member ml email)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue