Sendmail mailertable troubles

Al Cooper alc at TLYNX.COM
Sat Nov 22 03:50:16 GMT 2003


Here's my setup:

In sendmail.cf
Kmailertable hash /etc/mail/mailertable
FR-o /etc/mail/relay-domains

In /etc/mail/mailertable
alc.org         smtp:[172.16.0.76]  (172.16.0.76 is the server I am trying
to rely to. The server this is configured on is 172.17.0.75)

In /etc/mail/relay-domains
alc.org

I ran "makemap hash /etc/mail/mailertable < /etc/mail/mailertable" to create
the mailtable.db file (is this what you mean by "hash the mailertable"?

re-start MS and ..... no forwarding. (MX loops)

What am I missing?

Al

PS. alc.org is a made-up domain that I am routing via internal DNS servers.
I don't own that domain.



-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Mike Kercher
Sent: Friday, November 21, 2003 8:28 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Sendmail mailertable troubles


Here's an example of one of the domains I scan and forward for:

in /etc/mail/mailertable:

farfalle.com            esmtp:postal.farfalle.com

in /etc/mail/relay-domains:

farfalle.com

That's it!  I hash the mailertable and restart MailScanner.  When you stop
mailscanner, are all of your sendmail process in fact stopping?

Mike



> -----Original Message-----
> From: MailScanner mailing list
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Al Cooper
> Sent: Friday, November 21, 2003 9:14 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Sendmail mailertable troubles
>
> I will take all the suggestions.  Yes I have been restarting
> MS and there is the FR-o /etc/mail/relay-domains entry in the
> sendmail.cf file.
>
> Al
>
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Mike Kercher
> Sent: Friday, November 21, 2003 8:09 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Sendmail mailertable troubles
>
>
> It should not be this difficult.
>
> Silly question...did you restart your MS process after
> modifying /etc/mail/relay-domains?
> Does your sendmail.cf have an entry for relay-domains?
> Something such as:
>
> FR-o /etc/mail/relay-domains
>
> Mike
>
>
> > -----Original Message-----
> > From: MailScanner mailing list
> > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Al Cooper
> > Sent: Friday, November 21, 2003 8:59 PM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: Sendmail mailertable troubles
> >
> > Thanks for the suggestion, but the domains I need to relay
> are not in
> > the local-hosts-names file.
> >
> > This should not be this difficult....should it?
> >
> > Al
> >
> >
> > -----Original Message-----
> > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > Behalf Of Stephen Swaney
> > Sent: Friday, November 21, 2003 7:49 PM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: Sendmail mailertable troubles
> >
> >
> > You might try taking the domain you relaying for out of the
> > local-hosts-names file
> >
> > Stephen Swaney
> > President
> > Fortress Systems Ltd.
> > steve.swaney at fsl.com
> >
> > > -----Original Message-----
> > > From: MailScanner mailing list
> > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> > > Behalf Of Anders Andersson, IT
> > > Sent: Friday, November 21, 2003 7:32 PM
> > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > Subject: SV: Sendmail mailertable troubles
> > >
> > > > -----Ursprungligt meddelande-----
> > > > Från: Al Cooper [mailto:alc at TLYNX.COM]
> > > > Skickat: den 22 november 2003 01:29
> > > > Till: MAILSCANNER at JISCMAIL.AC.UK
> > > > Ämne: Re: Sendmail mailertable troubles
> > > >
> > > >
> > > > Still having the same results, sendmail is looking at the
> > MX records
> > > > instead of the Mailertable to get the addresss to forward to.
> > >
> > > Correct me if Im wrong all you pro's but isnt there an option in
> > > sendmail.mc that you can comment out so it doesnt use MX
> > for internal
> > > dilivery. Cant access my comps from here but gona try from other
> > > computer
> > >
> > > >
> > > > Here is the maillog entry:
> > > >
> > > > Nov 21 17:22:39 web1 sendmail[7894]: hAM0MdB07894:
> > > > from=<user at fromdomain.com>, size=646, class=0, nrcpts=1,
> > > > msgid=<HIEJIEFOKKEJNODJNBDNIEJIDGAA.user at fromdomain.com>,
> > > > proto=ESMTP, daemon=MTA, relay=[172.16.0.110] Nov 21 17:22:39
> > > > web1 sendmail[7896]: hAM0MdB07894: SYSERR(root): MX list for
> > > > todomain.com. points back to (cobalt box) Nov 21 17:22:39
> > > > web1 sendmail[7896]: hAM0MdB07894: to=<user at todomain.com>,
> > > > delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30646,
> > > > relay=todomain.com., dsn=5.3.5, stat=Local configuration
> > error Nov
> > > > 21 17:22:39 web1 sendmail[7896]: hAM0MdB07894:
> > > > hAM0MdB07896: DSN: Local configuration error
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: MailScanner mailing list
> > [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > > > Behalf Of Raymond Dijkxhoorn
> > > > Sent: Friday, November 21, 2003 5:12 PM
> > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > Subject: Re: Sendmail mailertable troubles
> > > >
> > > >
> > > > Hi!
> > > >
> > > > > sendmail.cf has the following entry that corresponds to
> > > > relay-domains:
> > > > >
> > > > > # Hosts for which relaying is permitted ($=R) FR-o
> > > > > /etc/mail/relay-domains
> > > >
> > > > > No it is not.  In fact I do not even have a
> > relay-domains file is
> > > > /etc/mail.
> > > >
> > > > Put in the domains you relay for, one at a line...
> > > >
> > > > Bye,
> > > > Raymond.
> > > >
> >
>




More information about the MailScanner mailing list