(add-hook 'gnus-select-group-hook 'tfheen-set-fill-prefix)
(add-hook 'gnus-exit-group-hook 'tfheen-set-fill-prefix)
+(defun tfheen-forward-to-is-admin-rpl-ticket (&optional prefix ticketno)
+ "Forwards the current article (or articles) to is-admin RT @ RPL"
+ (interactive "p\nnTicket number? ")
+ (gnus-summary-mail-forward nil)
+ (message-narrow-to-head)
+ (goto-char (point-min))
+ (search-forward "To: " (point-max) t)
+ (insert "linpro-is-admin" (char-to-string 64) "support.linpro.no")
+ (goto-char (point-min))
+ (search-forward "Subject:" (point-max) t)
+ (insert (format "[Linpro #%d]" ticketno))
+ (widen))
+
(defun tfheen-send-approved-mail ()
"Sends email to gullkorn@usenet.no when approving an article"
(if (string-equal gnus-newsgroup-name "nnml:drift.news.nag.submissions")
(cw/for-host "qurzaw"
(setq tfheen-spam-folder (lambda () (if (string-match "nnimap\\+mail\\.err\\.no" gnus-newsgroup-name)
(format-time-string "nnimap+mail.err.no:spam.%Y-%m")
- (format-time-string "INBOX/spam.%Y")))))
+ (format-time-string "spam.%Y")))))
(defun tfheen-mark-as-spam ()
(interactive)