I have a linux machine (Red Hat, if it matters) running Sendmail
8.9.3. It's being used as a sort of mail hub for our faculty and
staff - i.e. I've created aliases for about 500 users. This machine
is *also* scanning incoming email for viruses using Amavis and McAfee.
Well, I was just informed that my boss's boss would like to start
scanning incoming *student* mail for viruses and then have them sent
to the student server. That's about 10,000 accounts and I *really*
don't want to have to do that by hand (or even with a script, which
would have to be run every day). So, I did some research and I think
that FEATURE(mailertable) is what I want.
So, I've used m4 to configure the sendmail file so that I can use
mailertable and created a mailertable.db file using:
mail.purduenc.edu smtp:[mail.purduenc.edu]
I set up my DNS so that the server running sendmail is the main MX
record for mail:
mail IN MX 1 server.running.linux
However, even though I put square brackets around the servername in my
mailertable (which, from what I read is supposed to ignore mx records
for the server name and just deliver straight to the server), I'm
still getting:
----- Transcript of session follows -----
554 MX list for mail.purduenc.edu. points back to
linux.server.purduenc.edu
554 <user...@mail.purduenc.edu>... Local configuration error
Has anyone come across this before or can anyone point me in another
direction to go? I don't get a chance to check newsgroups very often,
so if you *do* have an answer for me, would you mind CCing it to my
regular email address, too?
Thanks so much!
-Jen Harless
UNIX Specialist
Information Services
Purdue University North Central
Seems like your mailertable isn't being used.
1) Make sure the m4 FEATURE doesn't use '-o'.
2) Make sure you actually use the sendmail.cf produced by running m4.
3) Test it:
sendmail -bt
> /map mailertable mail.purduenc.edu
> 3,0 user...@mail.purduenc.edu
> I don't get a chance to check newsgroups very often,
>so if you *do* have an answer for me, would you mind CCing it to my
>regular email address, too?
Done.
--Per Hedeland
p...@bluetail.com