Make all mailman operations a no-op.
This commit is contained in:
parent
2c80787fd8
commit
d634debd3e
1 changed files with 14 additions and 10 deletions
|
@ -123,19 +123,23 @@
|
||||||
|
|
||||||
;; Adds given email to given listname
|
;; Adds given email to given listname
|
||||||
(define (add-email-to-mailman-list listname email)
|
(define (add-email-to-mailman-list listname email)
|
||||||
|
(if #t
|
||||||
|
(print "Add " email " to " listname ".")
|
||||||
(let ((result
|
(let ((result
|
||||||
(get-mailman-output-lines
|
(get-mailman-output-lines
|
||||||
"add_members" "-r" "-" listname
|
"add_members" "-r" "-" listname
|
||||||
(sprintf "<<<\"~A\"" email))))
|
(sprintf "<<<\"~A\"" email))))
|
||||||
(print result)))
|
(print result))))
|
||||||
|
|
||||||
;; Removes given email from given listname
|
;; Removes given email from given listname
|
||||||
(define (remove-email-from-mailman-list listname email)
|
(define (remove-email-from-mailman-list listname email)
|
||||||
|
(if #t
|
||||||
|
(print "Remove " email " from " listname ".")
|
||||||
(let ((result
|
(let ((result
|
||||||
(get-mailman-output-lines
|
(get-mailman-output-lines
|
||||||
"remove_members" (car listname)
|
"remove_members" (car listname)
|
||||||
(sprintf "\"~A\"" email))))
|
(sprintf "\"~A\"" email))))
|
||||||
(print result)))
|
(print result))))
|
||||||
|
|
||||||
;; Ensures given email is in given ML
|
;; Ensures given email is in given ML
|
||||||
(define (mailman-ensure-member ml email)
|
(define (mailman-ensure-member ml email)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue