spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maybe OT - Relaying question


From: Jack L. Stone
Subject: Re: Maybe OT - Relaying question
Date: Sun, 03 Oct 2004 08:08:48 -0500

At 02:54 AM 10.3.2004 -0500, patrick main wrote:
>Quoting Dan Nelson <address@hidden>:
>
>> In the last episode (Oct 02), Thomas Cameron said:
>> > I have a client with two mail servers - one that a big ISP manages
>> > and the one that will run SA 3.0.0 and spamass-milter-0.2.0+cvs-3.
>> > My plan is to remove the ISP's mail server from the customer's DNS
>> > zone and send all mail to the SA + spamass-milter box, then have it
>> > relay to the ISP's mail server.
>> >
>> > Question is, how to I tell sendmail to do this?  If DNS points to the
>> > SA + spamass-milter box, then how do I tell sendmail to forward the
>> > mail to the ISP's server?  Doesn't sendmail look to DNS to determine
>> > where to send its messages?

>> You want to use the mailertable file.  It lets you force a next-hop
>> address for outgoing mail.  Something like this:
>>
>> clientdomain.com     esmtp:bigisp.com
>>
>> Will make sendmail forward emails addresses to clientdomain.com to
>> bigisp.com (using the standard MX lookup rules for the 'bigisp.com'
>> domain), no matter what the MX records for clientdomain.com are.  I use
>> a combination of mailertable and alias entries to funnel mail through
>> the email servers at work. More info at
>> http://www.sendmail.org/m4/mailertables.html .
>>
>> --
>>      Dan Nelson

I've also desired this setup, but could never get it to work. Something is
just not getting through to me.

My desired setup was to use the Gateway to forward the emails, so setup the
mailertable there and with it to point to the appropriate mailserver. It's
probably a DNS setup thingy. In my case should the DNS point to the gateway
or the mailerver? I was told the mailserver, but the GW has a firewall and
sent the mail right on through to the mailserver, ignoring sendmail and
that port 25.

Best regards,
Jack L. Stone,
Administrator

Sage American
http://www.sage-american.com
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]