>I'm currently tasked with a project of creating a spam server which will
>receive \
>email for all of our customers, filter it for spam and relay clean mail onto
>the \
>final destination. The challenge is that it needs to be manageable by someone
>who \
>doesn't know Linux.
>
>Is there a way to add additional domains without the need to login through SSH?
>
If you like Ubuntu or Debian, I have a doc where you can build a relay server
from bare metal in about an hour or so using a recent SVN snapshot (SVN 1575)
of Maia Mailguard, which recently added SQL fields to store relay domain and
transport info for individual domains. You get a spam quarantine management and
a number of other features from Maia Mailguard if desired.
http://www200.pair.com/mecham/spam/ubuntu1104-maia-fast.html
To use the relay domain and transport fields, here are example settings that
appear to work for me when I tried it:
contents of /etc/postfix/mysql_relay_domains.cf:
hosts = 127.0.0.1
dbname = maia
user = maia
password = maia_password
query = SELECT routing_domain FROM maia_domains WHERE routing_domain='%s'
contents of /etc/postfix/mysql_virtual_transport.cf:
hosts = 127.0.0.1
dbname = maia
user = maia
password = maia_password
query = SELECT transport FROM maia_domains WHERE routing_domain='%s'
In main.cf:
transport_maps = mysql:/etc/postfix/mysql_virtual_transport.cf
relay_domains = mysql:/etc/postfix/mysql_relay_domains.cf
There have been a lot of changes recently to the Maia Mailguard code, so the
Maia documentation is not up to date:
http://maiamailguard.com/maia/wiki
If you wanted to install a version of Maia (SVN 1518) that more closely
reflects the current documentation (in other words you would use what would be
considered the last 'stable' build), you could find some others here:
http://www200.pair.com/mecham/spam/
Gary V