Presentation is loading. Please wait.

Presentation is loading. Please wait.

Homework 04 Mail System. Computer Center, CS, NCTU 2 Architecture SMTP POP3/IMAP domain.tld Internet Users sub.domain.tld Mail Server.

Similar presentations


Presentation on theme: "Homework 04 Mail System. Computer Center, CS, NCTU 2 Architecture SMTP POP3/IMAP domain.tld Internet Users sub.domain.tld Mail Server."— Presentation transcript:

1 Homework 04 Mail System

2 Computer Center, CS, NCTU 2 Architecture SMTP POP3/IMAP domain.tld Internet Users sub.domain.tld Mail Server

3 Computer Center, CS, NCTU 3 Requirement (1/4)  Get you own domain http://nctucs.net Add a MX record for your mail server  Build a mail system Anti-spam Anti-virus  SMTP Server Postfix SASL Authentication SSL and TLS support  SMTPs

4 Computer Center, CS, NCTU 4 Requirement (2/4)  POP3/IMAP Server Dovecot SSL and TLS support  POP3s/IMAPs  MTA filter Amavisd-new  SpamAssassin  ClamAV  MDA filter Procmail Record all log to /var/log/procmail.log Drop the mail whose subject contains keyword “ 安安你好 ”

5 Computer Center, CS, NCTU 5 Requirement (3/4)  Greylisting An anti-spam measure Postgrey  Transport The next-hop destination of nasa.cs.nctu.edu.tw would be nahw4.nctucs.net  Alias demo  demo@nasa.cs.nctu.edu.tw  Rewriting Redirect user+XYZ@domain.tld to user@domain.tld  Address masquerading From user@domain.tld instead of user@sub.domain.tlduser@domain.tld All users except root

6 Computer Center, CS, NCTU 6 Requirement (4/4)  Sender address verification Disconnect suspicious SMTP clients Deny from dynamic host  For example, 211-76-240-234.dynamic.ntcu.net Real-time Blackhole List (RBL)  http://www.spamhaus.org/ http://www.spamhaus.org/ Whitelist  http://www.spamhauswhitelist.com http://www.spamhauswhitelist.com  http://www.dnswl.org/ http://www.dnswl.org/  DKIM signature and verification  SPF record and check sid-milter A SPF record for your server  http://www.mailradar.com/spf/ http://www.mailradar.com/spf/

7 Computer Center, CS, NCTU 7 Bonus – Web-based interface  Webmail Horde Roundcube Squirrelmail

8 Computer Center, CS, NCTU 8 Hand-in  Due 6/12  Demo TBA


Download ppt "Homework 04 Mail System. Computer Center, CS, NCTU 2 Architecture SMTP POP3/IMAP domain.tld Internet Users sub.domain.tld Mail Server."

Similar presentations


Ads by Google