Hi Steve,
> > > > I've been trying to get the CLIENT_OPTIONS feature working in
> the > > sendmail.mc > with: > > CLIENT_OPTIONS(`Family=inet, > >
> Address=xxx.xxx.xxx.xxx, Name=MTA')dnl > DAEMON_OPTIONS(`Port=smtp,
> > > Name=MTA')dnl > > on a multi-homed server. > > > > What
> exactly are you trying to accomplish? > > What I'm trying to do is
> force the outbound SMTP connection to another remote > MTA to
> present itself as a another IP, not the IP of the server it's
> running on. > > That is, the host has about 60 IP addresses on it,
> and when it communicates to > another remote MTA, it presents
> itself as it's machine IP (eg. 1.2.3.4) and I > want it to present
> itself as one of its alias IP's (eg. 5.6.7.8).
>
> Fair enough.
>
> > > > When I add the above (where xxx.xxx.xxx.xxx is the IP of one
> of > > the alias > interfaces on the server) into sendmail.mc, run
> make (to > > make the sendmail.cf) > check that the
> ClientPortOptions is in the > > sendmail.cf, then restart sendmail,
> > I then perform a: > > $ > > telnet another.smtp.server 25 > > I
> only get: >
> > > > Nov 24 23:29:51 server sendmail[31548]: nAOCTlL3031548: some.server.com
> > > > [xxx.xxx.xxx.xxx] did not issue MAIL/EXPN/VRFY/ETRN during
> > > connection to MTA > > in the "anther.smtp.server" maillogs.
> > >
> > > What are you expecting? What addrs do another.smtp.server and
> > > some.server.com have??
> >
> > If I setup in sendmail.mc:
> >
> > CLIENT_OPTIONS(`Family=inet, Address=5.6.7.8')dnl
> >
> > on my server some.server.com, which is known as IP 1.2.3.4 (and
> 5.6.7.8 is an > alias on some.server.com), then when sendmail talks
> to the remote MTA, I want > the remote MTA to see the connection
> coming from 5.6.7.8, not from 1.2.3.4.
>
> ...ummm... you didn't test the outbound connection with sendmail--you
> tested it with telnet!!?! Try...
>
> echo testing | sendmail -v [log in to unmask]
Spot on, you hit the nail on the head. Once I tried a "proper" test it works.
> > > > I've searched the web and as far as I can tell, this should
> work > > with the > sendmail version I run, yet it doesn't. > > Is
> the > > sendmail in SL4.8 compiled to support this option? > > > >
> What does "Compiled with:" via > > sudo /usr/sbin/sendmail
> -C/etc/mail/sendmail.cf -d0.1 > > ^C > > say?? > > Version 8.13.1
> > Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG
> MAP_REGEX > MATCHGECOS MILTER MIME7TO8 MIME8TO7
> NAMED_BIND NETINET NETINET6 > NETUNIX NEWDB NIS
> PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS >
> TCPWRAPPERS USERDB USE_LDAP_INIT
>
> I'm guessing CLIENT_OPTIONS support is just a mc file thing--not
> a compile option. I just tried...
>
> CLIENT_OPTIONS(`Family=inet, Address=128.104.29.250, Name=MTA')dnl
>
> on nod.hep.wisc.edu which has three addresses and it worked. But
> that wasn't with stock sendmail--nod is sl43 w/ sendmail-8.13.4
> build in '06.
>
> Maybe CLIENT_OPTIONS() is working for you but your testing isn't
> appropiate, as per above?
Yes, telnet wasn't a valid test. I spent the entire night on this issue last
night before emailing the list for help, only to wake up this morning to your
spot on "telnet is not a valid test" reply :)
All is working fine now and a big problem is resolved. Thank you very much,
it's much appreciated.
Michael.
> steve
> --
------- End of Original Message -------
|