Hi, all. I wrote some shell scripts to set up mail server on OpenBSD automatic, and it *seems* works fine now. I hope it can help administrators to set up a OpenBSD-based mail server.
The script sets are publiced as *BSD License*, you can use svn client to checkout them. Visit this wiki page for details: http://code.google.com/p/openbsdonly/wiki/OpenBSD_Mail_Server_Solution_en Feedback, suggestion, feature request are all welcome, and you can join the project to improve it too. ------------ Introduction * Based on OpenBSD 4.2 -release (i386). * Provide shell scripts to help administrators build mail server rapidly. * Shell scripts are distributed under BSD License. * We call the script sets 'OMS', which stands for 'OpenBSD Mail Server'. * Provide detailed documentations about mail server (currently, chinese version only). Features * SMTP, POP3, IMAP * Anti-Spam * spamd(8)+PF, for blacklist, greylist and whitelist. * SpamAssassin, for content filter. * Anti-Virus. amavisd will call ClamAV to do this. * Virtual Domains/Users, via OpenLDAP, with quota support. * User Quota * Domain Quota * This feature is under development, and it will be implemented in 3rd program, such as another Mail Server Manager like 'PostfixAdmin'. * Contact me or leave comment message in the wiki page if you really need this feature. * WebMail, via SquirrelMail. with several useful plugins: * Calendar (in SquirrelMail core) * Global LDAP Address Book (in SquirrelMail core) * change_ldappass * Check Quota * Select Language * Logfile analysis, via mailgraph. Components * Postfix * OpenLDAP * qmail.schema * phpLDAPadmin, with some customize templates for create new virtual domain/user. * Courier authlib (with ldap support), POP3, IMAP, Maildrop * Cyrus SASL (with ldap support) * SpamAssassin * ClamAV * Amavisd-new * PF, Spamd(8). Both are in base system. * SquirrelMail. with several extra plugins: * change_ldappass * Check Quota * Select Language -- Best Regards. Zhang Huangbin - RedHat Enterprise Linux 5 Client - OpenBSD 4.2 -release

