(cw/for-host "yiwaz\\|arabella"
- (setq gnus-select-method '(nntp "localhost")
+ (setq gnus-select-method '(nntp "news")
+;gnus-select-method '(nntp "localhost")
gnus-secondary-select-methods '((nnml "")))
(add-to-list 'gnus-secondary-select-methods '(nntp "news.hardware.no"))
)
(setq nnmail-split-methods
(list '("junk.2003" "^From:.*Cron")
'("spam" "^From:.*lifeminders.com")
+ '("spam" "^From:.*ibd@inbox-deal.com")
'("spam" "^From:.*@link2buy.com")
'("spam" "^Subject: =\\?ks_c_5601-1987")
'("spam" "^Subject:.*Boost Your Windows Reliability!")
'("spam" "^Content-Type:.*charset=.*BIG5")
'("spam" "^Content-Type:.*charset=.*GB2312")
'("spam" "^Subject:.*±¤°í")
+ '("spam" "^Subject:.*±¤°í")
; Hand-moderated lists over automatic spam detection
'("bugtraq.2003" "^Delivered-To:.*bugtraq@securityfocus.com")
'("maybe-spam" "^X-Spam-Status: Yes")
'("linux.progeny.pgi-workers" "^List-Id.*pgi-workers.lists.progeny.com")
'("linux.progeny.discover-workers" "^List-Id.*discover-workers.lists.progeny.com")
+ '("linux.debian.apache-cvs.2003" "^To.*debian-apache@lists.raw.no")
'("linux.debian.hurd-testdrive" "List-Id.*hurd-testdrive.moneybags.cs.uml.edu")
'("linux.debian.dwn.2003" "^Delivered-To.*dwn@debian.org")
'("linux.debian.cd.2003" "^X-Mailing-List.*debian-cd")
(setq gnus-treat-display-smileys nil)
(cw/requiring-package (deuglify))
+
+(defun tfheen-mark-as-spam ()
+ (interactive)
+ (gnus-summary-pipe-message "sa-learn --spam --single")
+ (gnus-summary-move-article nil "nnml:spam"))
+
+(cw/for-host "yiwaz"
+ (define-key gnus-summary-backend-map "s" 'tfheen-mark-as-spam))