ソスソスソス[ソスソスソスTソス[ソスoソス[ソスナスソスpソスソスソス`ソスFソスbソスN(Postfix+SpamAssassin+milter-manager+spamass-milter)

ソスナ終ソスXソスVソスソスソスF 2021.07.31

ソスソスソスTソスv

SpamAssassinソスソスソスgソスpソスソスソストソスソス[ソスソスソスTソス[ソスoソス[ソスソスソスナソスソス[ソスソスソスノ対ゑソスソスソスXソスpソスソスソス`ソスFソスbソスNソスソスソスsソスソスソスB
ソスソスソス[ソスソスソスTソス[ソスoソス[(Postfix)ソスソスSpamAssassinソスニの連ソスgソスソスmilter-managerソスソスspamass-milterソス利用ソスソスソスト行ソスネゑソスソスB
ソスソスソスソスソスナは、ソスソスソスソスTソス[ソスoソス[ソスノ構ソスzソスソスソスソスソスソスソス[ソスソスソスTソス[ソスoソス[ソスノ外ソスソスソスソスソス迹暦ソスソスソストゑソスソスソスソスソスソス[ソスソスソスフスソスpソスソスソス`ソスFソスbソスNソスソスソスsソスネゑソスソスAソスXソスpソスソスソスソスソス[ソスソスソスナゑソスソスソスニ費ソスソスfソスソスソスソスソス鼾ソスAソスソスMソスソスソス[ソスソスソスTソス[ソスoソス[ソスソスIMAPソスフ場合ソスソスProcmailソスソスソスgソスpソスソスソストスソスpソスソスソスソスソス[ソスソスソスソスpソスフソスソス[ソスソスソス{ソスbソスNソスXソスヨ配ソスソスソスソスソスソス謔、ソスノゑソスソスAソスソスMソスソスソス[ソスソスソスTソス[ソスoソス[ソスソスPOPソスフ場合ソスヘソスソス[ソスソスソス\ソスtソスgソスナ振ソスソスソスソスソスソスソスソス謔、ソスノソスソス[ソスソスソスソスソスソスソスノ「***SPAM***ソスvソスニゑソスソスソスソスソスソスソスソスソスソスtソスソスソスソスソスソス謔、ソスノゑソスソスソスB

ソスソスソスソスソス[ソスソスソスTソス[ソスoソス[ソス導難ソスソスマでゑソスソス驍アソスソス


ソスソスSpamAssassinソスEspamass-milterソスCソスソスソスXソスgソス[ソスソス

EPELソスソスソス|ソスWソスgソスソスソスソスソスソス(EPEL)ソスソスソスQソスニゑソスソスソスEPELソスソスソス|ソスWソスgソスソスソス導難ソスソスソスソスソス

[root@centos ~]# yum -y install spamassassin spamass-milter-postfixソス@ソスソスソス@SpamAssassinソスEspamass-milterソスCソスソスソスXソスgソス[ソスソス

ソスソスSpamAssassinソスNソスソス

[root@centos ~]# systemctl start spamassassinソス@ソスソスソス@SpamAssassinソスNソスソス

ソスソスSpamAssassinソスン抵ソス

SpamAssassinソスフ擾ソスソスソスソスン抵ソスナは難ソスソス{ソスソスフスソスpソスソスソスソスソス[ソスソスソスノ対会ソスソスソスソストゑソスソスネゑソスソスソスソス゚、Webソスソスナ鯉ソスソスJソスソスソスソストゑソスソスソスソスソスソス{ソスソスフスソスpソスソスソスソスソス[ソスソスソスノ対会ソスソスソスソスソスSpamAssassinソスン抵ソスtソス@ソスCソスソスソスソスソスZソスbソスgソスAソスbソスvソスソスソスソスB
[root@centos ~]# vi /etc/mail/spamassassin/v310.preソス@ソスソスソス@v310.preソスメ集
# TextCat - language guesser
#
loadplugin Mail::SpamAssassin::Plugin::TextCatソス@ソスソスソス@ソスsソスソスソスソス#ソスソスソス除ソスソスソストコソスソスソスソスソスgソスソスソスソス(TextCatソスvソスソスソスOソスCソスソスソスLソスソスソスソス)
ソスソスSpamAssassinソスン抵ソスtソス@ソスCソスソスok_languagesソスIソスvソスVソスソスソスソスソスソスLソスソスソスノゑソスソス驍スソスソス

[root@centos ~]# vi /etc/cron.daily/spamassassin-updateソス@ソスソスソス@SpamAssassinソスン抵ソスtソス@ソスCソスソスソスソスソスソスソスナ新ソスソスソスXソスNソスソスソスvソスgソス成
#!/bin/bash

# SpamAssassinソスン抵ソスtソス@ソスCソスソスソスナ新ソスナダソスEソスソスソスソスソス[ソスh
cd /etc/mail/spamassassin

wget -q https://github.com/kittyfreak/spamassassin_user_prefs/archive/refs/heads/main.zip
[ $? -ne 0 ] && exit

unzip main.zip >/dev/null 2>&1
[ $? -ne 0 ] && exit
rm -f main.zip

mv spamassassin_user_prefs-main/user_prefs .
rm -rf spamassassin_user_prefs-main

# ソスン抵ソスtソス@ソスCソスソスソスXソスVソスソスソスフゑソスSpamAssassinソスト起ソスソス
diff user_prefs user_prefs.org > /dev/null 2>&1
if [ $? -ne 0 ]; then
    cp user_prefs local.cf

    # ソスXソスpソスソスソスソスソスfソスソスソスソスソスソスソス[ソスソスソスソスYソスtソス`ソスソスソスノゑソスソスネゑソスソス謔、ソスノ設抵ソス
    echo "report_safe 0" >> local.cf

    # ソスXソスpソスソスソスソスソスfソスソスソスソスソスソスソス[ソスソスソスフ鯉ソスソスソスソスノ「***SPAM***ソスvソスソスtソスソスソスソスソスソス謔、ソスノ設抵ソスソスソスソスソスMソスソスソス[ソスソスソスTソス[ソスoソス[ソスソスPOPソスフ場合ソスフゑソス
    echo "rewrite_header Subject ***SPAM***" >> local.cf

    # SpamAssassinソスト起ソスソス
    if [ -f /etc/rc.d/init.d/spamassassin ]; then
        /etc/rc.d/init.d/spamassassin restart > /dev/null
    else
        systemctl restart spamassassin > /dev/null
    fi
fi
cp user_prefs user_prefs.org

[root@centos ~]# chmod +x /etc/cron.daily/spamassassin-updateソス@ソスソスソス@SpamAssassinソスン抵ソスtソス@ソスCソスソスソスソスソスソスソスナ新ソスソスソスXソスNソスソスソスvソスgソスヨ趣ソスソスsソスソスソスソスソスtソスソス

[root@centos ~]# /etc/cron.daily/spamassassin-updateソス@ソスソスソス@SpamAssassinソスン抵ソスtソス@ソスCソスソスソスソスソスソスソスナ新ソスソスソスXソスNソスソスソスvソスgソスソスソスs

[root@centos ~]# vi /etc/cron.d/sa-updateソス@ソスソスソス@SpamAssassinソスソスソス[ソスソスソスソスソスソスソスXソスVcronソスン抵ソスtソス@ソスCソスソスソスメ集
10 4 * * * root /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.logソス@ソスソスソス@ソスsソスソスソスソス#ソスソスソス除(ソスRソスソスソスソスソスgソスソスソスソス)
ソスソスソスソスソスLソスソスCRONソスソスソスソスArgument "1.39_01" isn't numeric in subroutine entry at /usr/bin/sa-update line 81.ソスニゑソスソスソスソスGソスソスソス[ソスソスソス[ソスソスソスソスソスソスソスソスソストゑソスソスソス鼾ソスフ対擾ソス(ソスQソスl)
[root@centos ~]# vi /usr/lib/perl5/vendor_perl/5.8.8/Archive/Tar.pmソス@ソスソスソス@Tar.pmソスメ集
$VERSION                = "1.39_01";
$VERSION                = eval $VERSION;ソス@ソスソスソス@ソスヌ会ソス

ソスソスspamass-milterソスNソスソス

[root@centos ~]# systemctl start spamass-milterソス@ソスソスソス@spamass-milterソスNソスソス

[root@centos ~]# systemctl enable spamass-milterソス@ソスソスソス@spamass-milterソスソスソスソスソスNソスソスソスン抵ソス

ソスソスmilter-managerソスCソスソスソスXソスgソス[ソスソスソスソスソスソスソスノ難ソスソスソスソスマの場合ソスヘ不ソスv

[root@centos ~]# curl -s https://packagecloud.io/install/repositories/milter-manager/repos/script.rpm.sh | bashソス@ソスソスソス@milter-manager_reposソスソスソス|ソスWソスgソスソスソスヌ会ソス

[root@centos ~]# yum -y install milter-managerソス@ソスソスソス@milter-managerソスCソスソスソスXソスgソス[ソスソス

ソスソスmilter-managerソスNソスソスソスソスソスソスソスノ難ソスソスソスソスマの場合ソスヘ不ソスv

[root@centos ~]# systemctl start milter-managerソス@ソスソスソス@milter-managerソスNソスソス

[root@centos ~]# systemctl enable milter-managerソス@ソスソスソス@milter-managerソスソスソスソスソスNソスソスソスン抵ソス

ソスソスmilter-managerソスン抵ソス

[root@centos ~]# vi /etc/milter-manager/defaults/redhat.confソス@ソスソスソス@milter-managerソスン抵ソスtソス@ソスCソスソスソスメ集
  [
    "spamass-milter",
    [
      #"Remote Network",ソス@ソスソスソス@ソスsソスソスソスソス#ソスソスヌ会ソスソスソスソストコソスソスソスソスソスgソスAソスEソスg(ソスソスソス[ソスJソスソスソスソスソスソスフソスソス[ソスソスソスソスソスXソスpソスソスソス`ソスFソスbソスNソスソスソスsソスソス)ソスソスFetchmailソスナ趣ソス闕橸ソスだソスソス[ソスソスソスフスソスpソスソスソス`ソスFソスbソスNソスソスソスsソスソスソス鼾ソスフゑソス
      "Unauthenticated",
      "No Stress",
    ],
  ],

[root@centos ~]# systemctl restart milter-managerソス@ソスソスソス@milter-managerソスト起ソスソス

ソスソスPostfixソスEmilter-managerソスAソスgソスン抵ソスソスソスソスソスソスノ難ソスソスソスソスマの場合ソスヘ不ソスv

[root@centos ~]# vi /etc/postfix/main.cfソス@ソスソスソス@Postfixソスン抵ソスtソス@ソスCソスソスソスメ集
ソスソスソスLソスソスヌ会ソス
milter_protocol = 6
milter_default_action = tempfail
milter_mail_macros = {auth_author} {auth_type} {auth_authen}
smtpd_milters = unix:/var/run/milter-manager/milter-manager.sock

[root@centos ~]# usermod -G milter-manager -a postfixソス@ソスソスソス@milter-managerソスOソスソスソス[ソスvソスソスpostfixソスソスソス[ソスUソス[ソスソスヌ会ソス

[root@centos ~]# systemctl reload postfixソス@ソスソスソス@Postfixソスン定反ソスf

ソスソスmilter-managerソスEspamass-milterソスAソスgソスン抵ソス

[root@centos ~]# usermod -G postfix -a milter-managerソス@ソスソスソス@postfixソスOソスソスソス[ソスvソスソスmilter-managerソスソスソス[ソスUソス[ソスソスヌ会ソス

[root@centos ~]# systemctl restart milter-managerソス@ソスソスソス@milter-managerソスト起ソスソス

ソスソスProcmailソスン抵ソス

[root@centos ~]# vi /etc/procmailrcソス@ソスソスソス@procmailソスン抵ソスtソス@ソスCソスソスソス成
SHELL=/bin/bash
PATH=/usr/bin:/bin
DROPPRIVS=yes
MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/
LOGFILE=$HOME/.procmail.log # ソスソスソスOソスoソスヘ撰ソス
VERBOSE=ON # ソスレ細ソスソスOソスoソスソス

# SpamAssassinソスノゑソス阡サソス閧ウソス黷スSpam-Levelソスソスソスソスソスl(ソスソスソスソスソスナゑソス20)ソスネ擾ソスフ場合ソスヘ削除
# ソスソスソスKソスvソスネソスソス[ソスソスソスソスソス除ソスソスソスソストゑソスソスワゑソスソスツ能ソスソスソスソスソスソスソス驍アソスニに暦ソスソスモゑソスソス驍アソスソス
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
/dev/null

[root@centos ~]# vi /etc/logrotate.d/procmailソス@ソスソスソス@procmailソスソスソスOソスソスソス[ソスeソス[ソスVソスソスソスソスソスン抵ソスtソス@ソスCソスソスソス成
/home/*/.procmail.log {
    missingok
    nocreate
    notifempty
}

ソスソスPostfixソスEProcmailソスAソスgソスン抵ソス

[root@centos ~]# vi /etc/postfix/main.cfソス@ソスソスソス@Postfixソスン抵ソスtソス@ソスCソスソスソスメ集
# The mailbox_command parameter specifies the optional external
# command to use instead of mailbox delivery. The command is run as
# the recipient with proper HOME, SHELL and LOGNAME environment settings.
# Exception:  delivery for root is done as $default_user.
#
# Other environment variables of interest: USER (recipient username),
# EXTENSION (address extension), DOMAIN (domain part of address),
# and LOCAL (the address localpart).
#
# Unlike other Postfix configuration parameters, the mailbox_command
# parameter is not subjected to $parameter substitutions. This is to
# make it easier to specify shell syntax (see example below).
#
# Avoid shell meta characters because they will force Postfix to run
# an expensive shell process. Procmail alone is expensive enough.
#
# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
#
#mailbox_command = /some/where/procmail
#mailbox_command = /some/where/procmail -a "$EXTENSION"
mailbox_command = /usr/bin/procmailソス@ソスソスソス@ソスヌ会ソス(Procmailソスニ連ソスgソスソスソスソス謔、ソスノゑソスソスソス)

[root@centos ~]# systemctl reload postfixソス@ソスソスソス@Postfixソスン定反ソスf

ソスソスソスXソスpソスソスソスソスソス[ソスソスソスUソスソスソスソスソスン抵ソス(ソスソスMソスソスソス[ソスソスソスTソス[ソスoソス[ソスソスIMAPソスフ場合ソスフゑソス)

SpamAssassinソスノゑソス閭ソス[ソスソスソスwソスbソス_ソスノスソスpソスソスソスソスソス[ソスソスソスフ茨ソスソスtソスソスソスソス黷スソスソスソス[ソスソスソスヘスソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソスヨ、ソスソスソスフ托ソスソスフソスソス[ソスソスソスヘ通擾ソスヌゑソスソスソスフソスソス[ソスソスソス{ソスbソスNソスXソスヨ配ソスソスソスソスソスソス謔、ソスノゑソスソスソスB

ソスiソスPソスjソスXソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソス成
ソスソスソスソスソスソスソス[ソスUソス[ソスノつゑソスソストは、ソスソスソス[ソスソスソス{ソスbソスNソスXソスノスソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソスソスヌ会ソスソスソスソスソスB
ソスワゑソスソスAソスVソスKソスソスソス[ソスUソス[ソスノつゑソスソストは、ソスソスソス[ソスUソス[ソスヌ会ソスソスソスソスノ趣ソスソスソスソスナスソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソスソスソス成ソスソスソスソスソス謔、ソスノゑソスソスソス ソスB
ソスyソスソスソスソスソスソスソス[ソスUソス[ソスホ擾ソスソスz
[root@centos ~]# vi spamfolder-createソス@ソスソスソス@ソスXソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソス成ソスXソスNソスソスソスvソスgソス成
#!/bin/bash

for user in `ls /home`
do
    id -u $user > /dev/null 2>&1
    if [ $? -eq 0 ] && [ ! -d /home/$user/Maildir/.Spam/new ]; then
        mkdir -p /home/$user/Maildir/.Spam/new
        mkdir -p /home/$user/Maildir/.Spam/cur
        mkdir -p /home/$user/Maildir/.Spam/tmp
        chmod -R 700 /home/$user/Maildir/.Spam
        chown -R $user. /home/$user/Maildir/.Spam
        echo $user
    fi
done

[root@centos ~]# sh spamfolder-createソス@ソスソスソス@ソスXソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソス成ソスXソスNソスソスソスvソスgソスソスソスs
user
ソスE
ソスE
ソスE
user

[root@centos ~]# rm -f spamfolder-createソス@ソスソスソス@ソスXソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソス成ソスXソスNソスソスソスvソスgソス除

ソスyソスVソスKソスソスソス[ソスUソス[ソスホ擾ソスソスz
[root@centos ~]# mkdir -p /etc/skel/Maildir/.Spam/{new,cur,tmp}ソス@ソスソスソス@ソスVソスKソスソスソス[ソスUソス[ソスヌ会ソスソスソスソスノ趣ソスソスソスソスナスソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソス成(1/2)

[root@centos ~]# chmod -R 700 /etc/skel/Maildir/.Spamソス@ソスソスソス@ソスVソスKソスソスソス[ソスUソス[ソスヌ会ソスソスソスソスノ趣ソスソスソスソスナスソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソス成(2/2)

ソスiソスQソスjソスXソスpソスソスソスソスソス[ソスソスソスUソスソスソスソスソスン抵ソス
SpamAssassinソスソスソスXソスpソスソスソスソスソス閧オソスソスソスソスソス[ソスソスソスヘスソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスXソスヨ配ソスソスソスソスソスソス謔、ソスノゑソスソスソスB
[root@centos ~]# vi /etc/procmailrcソス@ソスソスソス@procmailソスン抵ソスtソス@ソスCソスソスソスメ集
ソスネ会ソスソスソスソスナ鯉ソスソスソスヨ追会ソス
# SpamAssassinソスソスソスXソスpソスソスソスソスソス閧オソスソスソスソスソス[ソスソスソスヘスソスpソスソスソスソスpソスソスソス[ソスソスソス{ソスbソスNソスX(/home/xxxx/Maildir/.Spam)ソスヨ配ソスソス
:0
*^X-Spam-Flag: YES
$HOME/Maildir/.Spam/

ソスソスソスソスソス[ソスソスソス\ソスtソスgソスン抵ソス(ソスソスMソスソスソス[ソスソスソスTソス[ソスoソス[ソスソスPOPソスノゑソスソスソス鼾)

SpamAssassinソスノゑソス閭ソス[ソスソスソスソスソスソスソスノ「***SPAM***ソスvソスソスtソスソスソスソス黷スソスソスソス[ソスソスソスヘスソスpソスソスソスソスソス[ソスソスソスpソスtソスHソスソスソス_ソスヨ保托ソスソスソスソスソス謔、ソスノゑソスソスソス

ソスiソスPソスjソスXソスpソスソスソスソスソス[ソスソスソスpソスtソスHソスソスソス_ソス成
ThunderbirdソスソスソスNソスソスソスソスソスAソスソスソスjソスソスソス[ソスフ「ソスtソス@ソスCソスソスソスvソスヒ「ソスVソスKソス成ソスvソスヒ「ソスtソスHソスソスソス_ソス[ソスvソスナ「ソスソスソスOソスvソスソス"Spam"ソスニ難ソスソスヘゑソスソスト「ソスtソスHソスソスソス_ソス[ソスソスソス成ソスvソス{ソス^ソスソスソスソスソスソス



ソスiソスQソスjソスXソスpソスソスソスソスソス[ソスソスソスUソスソスソスソスソスソスソス[ソスソスソスヌ会ソス
ThunderbirdソスソスソスNソスソスソスソスソスAソスソスソスjソスソスソス[ソスフ「ソスcソス[ソスソスソスvソスヒ「ソスソスソスbソスZソス[ソスWソスtソスBソスソスソス^ソス[ソスvソスナ「ソスVソスKソスv






ソスuソスtソスBソスソスソス^ソス[ソスソスソスvソスノ任ソスモの厄ソスソスO(ソスソス:"SpamソスUソス阨ェソスソス")ソスソスソスソスソス
ソスuソスソスソスラての擾ソスソスソスソスノ茨ソスvソスvソスソスIソスソス
ソスuソスソスソスソスソスvソスAソスuソスノ趣ソスソスソスソスワむ」ソスソスIソスソスソスソスソストテソスLソスXソスgソス{ソスbソスNソスXソスソス"***SPAM***"ソスニ難ソスソスソス
ソスuソスネ会ソスソスフ難ソスソスソスソスソスソスソスsソスソスソスソスvソスナ「ソスソスソスbソスZソス[ソスWソスソスソスレ難ソスソスソスソスソスvソスAソス成ソスソスソスソスソスXソスpソスソスソスソスソス[ソスソスソスpソスtソスHソスソスソス_ソスソスIソスソス
ソスuOKソスvソス{ソス^ソスソスソスソスソスソス

ソスソスspamass-milterソスmソスF

ソスソスソスソスソスソスソスgソスノ空メーソスソスソス送ゑソスソストみて、ソスソスMソスソスソスソスソスソスソス[ソスソスソスフヘソスbソス_ソスノ以会ソスソスフソスソスbソスZソス[ソスWソスソスソスtソスソスソスソスソスソストゑソスソス驍アソスソス
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on centossrv.com

ソスソスソスXソスpソスソスソス`ソスFソスbソスNソスmソスF

ソスソスソスソスソスソスソスgソスノテソスXソスgソスXソスpソスソスソスソスソス[ソスソス(ソスソスソス[ソスソスソス{ソスソスソスソスソスuXJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34Xソスvソスフソスソス[ソスソス)ソス送ゑソスソストみて、ソスソスMソスソスソス[ソスソスソスTソス[ソスoソス[ソスハに以会ソスソスフようソスノなるこソスソス
ソスソスソスeソスXソスgソスXソスpソスソスソスソスソス[ソスソスソスヘスソスpソスソスソスXソスRソスAソスソスソスソスソスソスソスA/etc/procmailrcソスフ「SpamAssassinソスノゑソス阡サソス閧ウソス黷スSpam-Levelソスソスソスソスソスl(ソスソスソスソスソスナゑソス20)ソスネ擾ソスフ場合ソスヘ削除ソスvソスフソスソス[ソスソスソスソスLソスソスソスノゑソスソストゑソスソスソスニサソス[ソスoソス[ソスソスソスナ削除ソスソスソスソストゑソスソスワゑソスソスフで、SpamソスtソスHソスソスソス_ソスヨの配ソスソスソスソスソスmソスFソスソスソスソスロは難ソスソスYソスソスソス[ソスソスソスソスソス齊橸ソスIソスノコソスソスソスソスソスgソスAソスEソスgソスソスソストゑソスソスソスmソスFソスソスソス驍アソスソス

ソスyソスソスMソスソスソス[ソスソスソスTソス[ソスoソス[ソスソスPOPソスフ場合ソスz
ソスソスソス[ソスソスソスソスソスソスソスノ「***SPAM***ソスvソスソスソスtソスソスソスソスソスソスソスSpamソスtソスHソスソスソス_ソスヨ配ソスソスソスソスソスソストゑソスソス驍アソスソス

ソスyソスソスMソスソスソス[ソスソスソスTソス[ソスoソス[ソスソスIMAPソスフ場合ソスz
SpamソスtソスHソスソスソス_ソスヨ配ソスソスソスソスソスソストゑソスソス驍アソスソス

ソスソスソスXソスpソスソスソスソスソス[ソスソスソスwソスK(ソスソスMソスソスソス[ソスソスソスTソス[ソスoソス[ソスソスIMAPソスフ場合ソスフゑソス)

SpamAssassinソスソスソスソスソスソスト撰ソスソスメソス[ソスソスソスソスソスXソスpソスソスソスソスソス[ソスソスソスニ費ソスソスfソスソスソスソスソスソスAソスtソスノスソスpソスソスソスソスソス[ソスソスソス正常メソス[ソスソスソスニ費ソスソスfソスソスソストゑソスソスワゑソスソスソスソス鼾ソスAソスネ鯉ソスフ鯉ソスFソスソスソスソスhソス~ソスソスソス驍スソス゚ゑソスSpamAssassinソスノ学ソスKソスソスソスソスソスソスソスAソス`ソスFソスbソスNソスソスソスxソスソスソス繧ーソスソスB

ソスソスソスソスソスナは、ソスソスMソスgソスソスソスCソスフ奇ソスソスヌソスソス[ソスソスソス正常メソス[ソスソスソスニゑソスソスト、SpamソスtソスHソスソスソス_ソスフ奇ソスソスヌソスソス[ソスソスソスソスソスXソスpソスソスソスソスソス[ソスソスソスニゑソスソスト、ソスソスソスソスIソスソスSpamAssassinソスノ学ソスKソスソスソスソスソスソス謔、ソスノゑソスソスソスB
ソスソスSpamAssassinソスソスソスソスソスソスト配ソスソスソスソスソスソスソスソスソス[ソスソスソスヘ、ソスソスソス[ソスUソス[ソスソスソスgソスフ托ソスソスソスノゑソス關ウソスメソス[ソスソスソスネゑソスソスMソスgソスソスソスCソスヨ、ソスXソスpソスソスソスソスソス[ソスソスソスネゑソスSpamソスtソスHソスソスソス_ソスヨ移難ソスソスソスソストゑソスソスソスソスソスソスソス
(ソスソスソスuソスソスソストゑソスソスソスソスニ撰ソスソスメソス[ソスソスソスソスソスXソスpソスソスソスソスソス[ソスソスソスニゑソスソスト学ソスKソスソスソスソスソスソスAソスtソスノスソスpソスソスソスソスソス[ソスソスソス正常メソス[ソスソスソスニゑソスソスト学ソスKソスソスソストゑソスソスワゑソス)

[root@centos ~]# yum -y install tmpwatchソス@ソスソスソス@tmpwatchソスCソスソスソスXソスgソス[ソスソスソスソスソステゑソスソスXソスpソスソスソスソスソス[ソスソスソスソスソス除ソスソスソス驍スソスソス

[root@centos ~]# vi /etc/cron.daily/spamassassin-learnソス@ソスソスソス@SpamAssassinソスソスソスソスソスwソスKソスXソスNソスソスソスvソスgソス成
#!/bin/bash

PATH=/usr/sbin:/usr/bin:/bin

for user in `ls /home/`
do
    # ソスソスソスメソス[ソスソスソスwソスK
    # ソスソスソスメソス[ソスソスソスソスSpamAssassinソスノ学ソスKソスソスソスソスソスソス
    hammail=/home/$user/Maildir/cur
    [ -d "$hammail" ] && \
    su $user -s "/bin/bash" -c "sa-learn --ham $hammail | \
    logger -p mail.info -t 'sa-learn for $user'"
    hammail=/home/$user/Maildir/.Trash/cur
    [ -d "$hammail" ] && \
    su $user -s "/bin/bash" -c "sa-learn --ham $hammail | \
    logger -p mail.info -t 'sa-learn for $user'"

    # ソスXソスpソスソスソスソスソス[ソスソス
    spammail=/home/$user/Maildir/.Spam/cur

    # ソスXソスpソスソスソスソスソス[ソスソスソスwソスK
    if [ -d "$spammail" ]; then
        # ソスXソスpソスソスソスソスソス[ソスソスソスソスSpamAssassinソスノ学ソスKソスソスソスソスソスソス
        su $user -s "/bin/bash" -c "sa-learn --spam $spammail | \
        logger -p mail.info -t 'sa-learn for $user'"

        # ソスソスMソスソス黹厄ソスソスソスoソス゚ゑソスソスソスソスXソスpソスソスソスソスソス[ソスソスソスソスソス除
        tmpwatch -m 720 $spammail
    fi
done

[root@centos ~]# chmod +x /etc/cron.daily/spamassassin-learnソス@ソスソスソス@SpamAssassinソスソスソスソスソスwソスKソスXソスNソスソスソスvソスgソスノ趣ソスソスsソスソスソスソスソスtソスソス
ソスソスソスXソスpソスソスソスソスソス[ソスソスソスwソスKソスソスソスハのソスソスOソスソス/var/log/maillogソスノ記ソス^ソスソスソスソスソス


ソスソスソスヨ連ソスRソスソスソスeソスソスソスc

<!ソス\ソスeソスLソスXソスgソスフみゑソス4ソスsソス\ソスソスソスノ追会ソスソスソスCソスソスソスソスソスソス\>



ソスソスソスソスソスフペソス[ソスWソスフトソスbソスvソスヨ戻ゑソス

ソスvソスソスソスCソスoソスVソス[ソス|ソスソスソスVソス[
centossrv.com