We have a machine with a few virtual domains handled by 'sendmail'.
All works ok, however we are looking for a 'mail handler' that can
handle mail seperated out based on domain name using the
'domainaliases' function in 'sendmail'.
I have seen this in action on a couple of sites. The administrator for
a domain has a '.domains' file in their home directory which decides
how mail is filtered or redirected. The mail handler they use is a 'c'
program called 'spcl' which could have been developed by themselves
(I'm not sure).
The contents of the '.domains' file looks something similar to the
The '#' directive tells the mail handler to pass over function to
'MReply' which is used to handle mail lists. Otherwise the mail is
redirected to the account on the right. The last line indicates that
any other mail should be sent through to the specified user.
This is exactly what we would like to do on our small network here,
but after a couple of weeks searching the net and reading all the
available FAQs are no nearer finding a solution.
Any help would be VERY appreciated.