[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maybe OT - Relaying question
From: |
patrick main |
Subject: |
Re: Maybe OT - Relaying question |
Date: |
Sun, 3 Oct 2004 02:54:52 -0500 |
User-agent: |
Internet Messaging Program (IMP) 3.2.5 |
i would also add the relay domain to the relay-domains
list/table in /etc/mail for most recent linux setups (redhat)
never tried to use mailertable without an equivalent entry in
the relay-domains list. Of course mailertable entry for a domain
should imply an automatic relay-domain entry. I've just never
tested whether it is a requirement, saw no need actually to test.
-Patrick Main-
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?
> >
> > I am thinking I may need to set up a bogus DNS server on the SA +
> > spamass-milter box to fake it into sending to the ISP's server.
>
> 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
> address@hidden
>
>
> _______________________________________________
> Spamass-milt-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/spamass-milt-list
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.