How to install MailScanner on Ubuntu Dapper

I would like to have MailScanner on a Ubuntu Dapper server for internal server. There are many receipts including a good one at wiki. Anyway, I add a few modification to make it more easier to debug. Follow me.

  1. Install Postfix

    sudo apt-get install postfix
    
  2. Add below line to /etc/postfix/main.cf

    header_checks = regexp:/etc/postfix/header_checks
    
  3. Create file /etc/postfix/header_checks

    /^Received:/ HOLD
    
  4. Generate its map

    sudo /etc/postfix/header_checks
    
  5. Install MailScanner and companions

    sudo apt-get install mailscanner tnef unrar unzip pyzor razor dcc-client
    
  6. Change /etc/MailScanner/MailScanner.conf as you need

    %org-name% = your-site
    %org-long-name% = your-long-site
    %web-site% = www.your-site.com
    
    Run As User = postfix
    Run As Group = postfix
    
    Incoming Queue Dir = /var/spool/postfix/hold
    Outcoming Queue Dir = /var/spool/postfix/incoming
    MTA = postfix
    
    Spam Actions = deliver header "X-Spam-Status: Yes"
    High Scoring Spam Actions = delete
    
    Syslog Facility = local0
    Log Spam = yes
    SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin
    
  7. Change /etc/MailScanner/spam.assassin.prefs.conf

    bayes_path /var/spool/MailScanner/spamassassin
    razor_config /var/lib/MailScanner
    
  8. Edit /etc/default/mailscanner

    run_mailscanner=1
    
  9. Create directory and change permission

    sudo mkdir /var/spool/MailScanner/spamassassin
    sudo chown -R postfix:postfix /var/spool/MailScanner
    sudo chown -R postfix:postfix /var/lib/MailScanner
    sudo chown -R postfix:postfix /var/run/MailScanner
    sudo chown -R postfix:postfix /var/lock/subsys/MailScanner
    
  10. Edit /etc/syslog.conf

    local0.* -/var/log/mailscanner.log
    
  11. Restart mailscanner

    sudo /etc/init.d/syslogd restart
    sudo /etc/init.d/mailscanner restart
    sudo /etc/init.d/postfix restart
    

All done. If you have questions about postfix, please read the wiki for more details.

Tags: , ,

YHxFmXgQvGmS

Welcome friends! , amateur messy facial, [url="http://www.webmonkey.com/user/profile/m10w2"]amateur messy facial[/url], http://www.webmonkey.com/user/profile/m10w2 amateur messy facial, free porn movie gallery, [url="http://free-porn-movie.weebly.com/"]free porn movie gallery[/url], http://free-porn-movie.weebly.com/ free porn movie gallery, girls squirting girls, [url="http://forums.vogue.com.au/member.php?u=84519"]girls squirting girls[/url], http://forums.vogue.com.au/member.php?u=84519 girls squirting girls,

.ing199.net/"

.ing199.net/" rel="nofollow">情趣用品,情趣用品,情趣用品,情趣用品,情趣用品,情趣,情趣,情趣,情趣,情人歡愉用品,情惑用品性哥,情人用品性哥,情趣用品,AIO交友愛情館,情人歡愉用品,美女視訊,情色交友,情人用品性哥,視訊交友,辣妹視訊,美女交友,性愛,嘟嘟成人網,按摩棒,震動按摩棒,微調按摩棒,情趣按摩棒,逼真按摩棒,G點,跳蛋,跳蛋,跳蛋,性感內衣,飛機杯,充氣娃娃,情趣娃娃,角色扮演,性感睡衣,後庭區,SM,潤滑液,情趣禮物,威而柔,香水,精油,芳香精油,自慰,自慰套,性感吊帶襪,情趣用品加盟,情人節禮物,情人節,吊帶襪,辣妹視訊,美女交友,情色交友,成人交友,視訊聊天室,美女視訊,視訊美女,情色視訊,免費視訊聊天,視訊交友,視訊聊天,AIO交友愛情館,嘟嘟成人網,成人貼圖,成人網站,AIO交友愛情館,情色,情色貼圖,情色文學,情色交友,色情聊天室,色情小說,七夕情人節,色情,A片,A片下載,免費A片,免費A片下載,情色視訊,情色電影,色情網站,辣妹視訊,視訊聊天室,情色視訊,免費視訊聊天,視訊聊天,美女視訊,視訊美女,美女交友,美女,情色交友,成人交友,自拍,本土自拍,情人視訊網,視訊交友90739,生日禮物,情色論壇,正妹牆,正妹,成人網站,A片,免費A片,A片下載,免費A片下載,AV女優,成人影片,色情A片,成人論壇,情趣,免費成人影片,成人電影,成人影城,愛情公寓,色情影片,保險套,舊情人,微風成人,成人,成人遊戲,成人光碟,色情遊戲,跳蛋,按摩棒,一夜情,男同志聊天室,肛交,口交,性交,援交dzgt

FLV Converter Mac is a

FLV Converter Mac is a powerful FLV Converter for Mac software which can convert FLV video files to all popular video formats and convert FLV to popular audio formats for Mac OS X users. FLV Converter Mac OS X softwrare supports all video popular formats indcluding FLV, MPG, MPEG1, MPEG2, MP4, 3GP, 3G2, MOV, AVI, Mpeg TS/TP (for HD Video), etc. The Mac FLV Converter can also convert FLV to MP3, WAV, OGG, 3GP, AAC and M4A, AC3, APE, etc audio.a
How to download YouTube videos for Mac and convert the .FLV files on Mac OS? Here are the easy-to-use and top-user-rating YouTube Video Grabber Mac and Mac FLV converter tools. It is safe to install and no spyware or adware guarenteed.
With the YouTube Video Grabber Mac application, you can easily download youtube for mac and convert YouTube videos on your Mac OS. It can automatically detect the YouTube video files from the YouTube web pages you have opened and download multiple files once a time. YouTube Video Grabber Mac is a totally free download youtube videos for mac, because if you don’t want to convert downloaded videos to your mobile players, you don’t have to pay for it.

assembly line

飞驰生产线将始终遵循“诚信、务实、创新”的企业精神和“用户至上,诚信为本, 质量合格”的经营宗旨,为您提供高品流水线以及完善的售后服务.

Post new comment

The content of this field is kept private and will not be shown publicly.