Book
- Basic setup of a SOHO server
- SoHo - Software repositories
- SoHo - Alias of loopback interface
- SoHo - IPtables configuration example
- SoHo - Webmin
- SoHo - DNS
- SoHo - VMWare
- SoHo - Windows
- SoHo - OpenVPN
- SoHo - Remote Desktop
- Nameserver on Windows XP forwarding to public DNS with private zones
- SoHO - NTP
- SoHo - SSH
- SoHo - Ubuntu prerequisites
- How to strengthen SSH
- Fixing Nessus complaints
- Java installation on RHEL 4
- Installing vsFTPd on CentOS
- How to setup CA (certificate authority)
- Installation of VIM X11 and archivers on RHEL 4 x86_64
- SoHo - MS & Open-Office
- User management
- CommuniGate Pro
- Backup
- Issue tracking for small groups
- Jabber setup and configuration
- Monitoring & Statistics
- Printing in SOHO
- Faxes in SOHO
- T38 Modem
- PostScript fonts for faxes
- Installing Brother MFU drivers on Ubuntu
- Installing Hylafax client on RHEL4 and Fedora
- Installing Hylafax server on RHEL4
- Installing Hylafax server on Ubuntu
- Integrating Hylafax with CUPS
- Integrating Hylafax with CommuniGate
- Managing Hylafax from Ubuntu client
- Sending and receiving faxes over internet (links)
- How to test faxing
- Drivers for Brother MFUs
- Brand new idea about faxing
- External faxing resources
- Antivirus & Antispam
- External SOHO References
- Supplementary SOHO procedures
SpamAssassin accessibility
Table of Contents
1. Automatic SA learning
Users shall be able to teach spamassassin that some mail IS spam either by forwarding it to spam@ourdom.com or by putting in the Общий Спам folder. Similarly, users shall be able to teach spamassassin that another mailis NOT spam either by forwarding it to notspam@ourdom.com or by putting in the Общий Неспам folder.
- Create public folders for spam/notspam: log in webmail as public and create the PublicSpam and PublicNotSspam folders.
- Set access rights as:
#pubadmin = Lookup, Select, Seen, Flags, Insert, Post, Create, Delete, Admin anyone@ = Lookup, Select, Seen, Flags, Insert, Post, Create, Delete
- Switch back to admin interface, go to Users/Domains/ourdom.com/Objects/Template and create Initial Mailbox Aliases:
Общий Спам - ~public/PublicSpam Общий Неспам - ~public/PublicNotSpam
- Create these aliases manually for all existing users via their web interface.
- Download the /etc/localsite/cgpro/cgp2sa script
- Add mail router rules for pipe:
<spam@*> = "queue[SPAM] [STDERR] cgp2sa spam"@pipe <notspam@*> = "queue[SPAM] [STDERR] cgp2sa ham"@pipe
- Add spam,spam@*,notspam,notspam@* to the site-wide local groups rule
- Install the spam folder cron script
- Download /etc/localsite/cgpro/folders2sa and make the script executable.
- Install Net::IMAP::Simple and Net::IMAP::Simple::SSL using cpan2rpm or cpan.
- Configure server settings in the script.
- Create link to this script in /etc/cron.hourly.
- Add a few rules in local.cf so that internal CGP headers are not taken into account by auto-learner
- Restart spamd
service spamassassin restart
2. PHP interface for spam preferences
- Install PHP files:
cp -r /usr/share/cgpav/php /var/www/spamprefs
- Edit configuration in /var/www/spamprefs/config.php:
cgpro_admin = postmaster cgpro_admin_password = password DSN = mysql://spamassassin:spampass@localhost/spamassassin
- Add descriptor in /etc/httpd/vhosts/admin.conf
Alias /spamprefs /var/www/spamprefs <Location /spamprefs> Include vhosts/authorize.inc DirectoryIndex index.php </Location>
- Restart Apache
service httpd restart
- Configure wiki links for spam preferences.

Comments
Post new comment