浏览代码

Webmail spam handling

Bob Mottram 11 年前
父节点
当前提交
5e9c59b6c2
共有 1 个文件被更改,包括 13 次插入1 次删除
  1. 13
    1
      beaglebone.txt

+ 13
- 1
beaglebone.txt 查看文件

@@ -872,6 +872,11 @@ mkdir -m 700 /etc/skel/Maildir/sent
872 872
 mkdir -m 700 /etc/skel/Maildir/sent/tmp
873 873
 mkdir -m 700 /etc/skel/Maildir/sent/cur
874 874
 mkdir -m 700 /etc/skel/Maildir/sent/new
875
+mkdir -m 700 /etc/skel/.learn-spam
876
+mkdir -m 700 /etc/skel/.learn-spam/cur
877
+mkdir -m 700 /etc/skel/.learn-spam/new
878
+mkdir -m 700 /etc/skel/.learn-spam/tmp
879
+ln -s /etc/skel/.learn-spam /etc/skel/spam
875 880
 #+END_SRC
876 881
 
877 882
 If you're starting from scratch and don't already have a /Maildir/ directory in your home directory, then create one as follows:
@@ -886,6 +891,11 @@ mkdir -m 700 /home/$MYUSERNAME/Maildir/sent
886 891
 mkdir -m 700 /home/$MYUSERNAME/Maildir/sent/cur
887 892
 mkdir -m 700 /home/$MYUSERNAME/Maildir/sent/tmp
888 893
 mkdir -m 700 /home/$MYUSERNAME/Maildir/sent/new
894
+mkdir -m 700 /home/$MYUSERNAME/Maildir/.learn-spam
895
+mkdir -m 700 /home/$MYUSERNAME/Maildir/.learn-spam/cur
896
+mkdir -m 700 /home/$MYUSERNAME/Maildir/.learn-spam/new
897
+mkdir -m 700 /home/$MYUSERNAME/Maildir/.learn-spam/tmp
898
+ln -s /home/$MYUSERNAME/Maildir/.learn-spam /home/$MYUSERNAME/Maildir/spam
889 899
 chown -R $MYUSERNAME:$MYUSERNAME /home/$MYUSERNAME/Maildir
890 900
 #+END_SRC
891 901
 
@@ -1782,7 +1792,9 @@ rm -rf /var/www/$HOSTNAME/htdocs/mail/installer
1782 1792
 
1783 1793
 Now with a browser navigate to https://mydomainname.com/mail and log in.
1784 1794
 
1785
-You'll notice that you may not be able to see any mailing list folders which you may have created earlier using the /mailinglistrule/ script.  To make folders visible click on the cog-like settings icon at the bottom left of the screen then select *manage folders*.  You will then be able to select which folders you wish to become visible.
1795
+You'll notice that you may not be able to see any mailing list folders which you may have created earlier using the /mailinglistrule/ script.  To make folders visible click on the cog-like settings icon at the bottom left of the screen then select *manage folders*.  You will then be able to select which folders you wish to become visible.  Make sure that the *sent* and *spam* folders are selected.
1796
+
1797
+Click on the *Mail* icon to go back to your main mail screen then click on the *Settings* icon at the top right of the screen and select *special folders*. Set *Sent* to (lower case) *sent* and *Junk* to *spam*.
1786 1798
 
1787 1799
 *** Thunderbird
1788 1800