Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

using mailertable to forward messages to another host

53 views
Skip to first unread message

Jen Harless

unread,
Oct 2, 2001, 9:06:27 AM10/2/01
to
I've looked through the DejaNews archives regarding this question, but
I haven't seen anyone with exactly the problem I'm having... I hope
someone can help. :)

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?

jhar...@purduenc.edu

Thanks so much!

-Jen Harless
UNIX Specialist
Information Services
Purdue University North Central

Per Hedeland

unread,
Oct 2, 2001, 4:53:01 PM10/2/01
to
In article <7a6fdfbc.01100...@posting.google.com>

jhar...@purduenc.edu (Jen Harless) writes:
>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?

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

0 new messages