Mail-SpamAssassin

注意:上面我提到的 export LC_ALL=C 否则显示下面错误信息:

[root@linux Mail-SpamAssassin-2.63]# perl Makefile.PL
What email address or URL should be used in the suspected-spam report
text for users who want more information on your filter installation?
(In particular, ISPs should change this to a local Postmaster contact)
default text: [the administrator of that system]

Checking if your kit is complete...
Looks good

Warning: I could not locate your pod2man program. Please make sure,
         your pod2man program is in your PATH before you execute 'make'

Writing Makefile for Mail::SpamAssassin
Makefile written by ExtUtils::MakeMaker 6.03
[root@linux Mail-SpamAssassin-2.63]#
		

Mail-SpamAssassin模块配置过程

  1. 安装

    [root@linuxas3 src]# cd Mail-SpamAssassin-2.63
    [root@linuxas3 Mail-SpamAssassin-2.63]# export LC_ALL=C
    [root@linuxas3 Mail-SpamAssassin-2.63]# perl Makefile.PL
    [root@linuxas3 Mail-SpamAssassin-2.63]# make 
    [root@linuxas3 Mail-SpamAssassin-2.63]# make test
    [root@linuxas3 Mail-SpamAssassin-2.63]# make install (as root) 
    				

    or

    [root@linuxas3 src]# perl -MCPAN -e shell
    cpan> install Mail::SpamAssassin
    default text: [the administrator of that system]
    
    chmod 755 /usr/share/spamassassin
      /usr/bin/make install  -- OK
    
    cpan>
    				

    or

    在命令行上安装

    # perl