On Thu, 2003-06-05 at 03:29, Cowles, Steve wrote:
> > -----Original Message-----
> > From: Patrick Nelson
> > Sent: Wednesday, June 04, 2003 8:32 PM
> > Subject: sendmail relay a domain
> >
> 
> [snip...]
>  
> > It seems that this is what the mailertable is for, but I can't seem to
> > get it working...  Anyone understand this better?  O'Reily Sendmail is
> > somewhat crytic on an answer.
> 
> Based on your post, using the mailertable should be the proper solution.
> 
> 1) How are you entering your mailertable entries? Please show examples.
> For reference:
> 
> thisdomian.com        esmtp:mail.thisdomain.com
>     -or- by IP address
> thisdomain.com        esmtp:[192.168.1.5]

local to the sendmail server is thisdomain.com and I want to send
thisdomain.org to another sever.

my entries are like:

 thisdomain.org  esmtp:[mailserver2.neatech.com]

I've also tried:

 thisdomain.org  esmtp:[<server.ip>]

> 2) Did you create a new mailertable database after your added entries? i.e.
> mailertable.db

Yes I did a make mailertable.db in the /etc/mail subdir with no errors
and the date and/or time changes.

> 3) Does your sendmail.cf file support the use of the mailertable feature?
> The first part of your sendmail.cf file should list all features.

Yes I have an entry in the mc file like:

  FEATRUE(`mailertableq',`hash -o /etc/mail/mailertable.db')dnl

> 4) What do your logfiles show?

Testing a manual inbound mail with telnet I get an error like:

  550 5.7.1 [EMAIL PROTECTED] Relaying denied.  IP name lookup
failed [<External Interface IP of mailserver1q>]

mailserver1 is the server I'm doing the mailertable entries on. That is
what keeps happening.  The log shows about the same info like:

 Jun  5 11:02:24 mailserver1 sendmail[12343]: h55I21412343:
ruleset=check_rcpt, [EMAIL PROTECTED], relay=[<External
Interface IP of mailserver1q>], reject=550 5.7.1
[EMAIL PROTECTED] Relaying denied. IP name lookup failed
[<External Interface IP of mailserver1q>]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to