Re: how to change host name in greeting string based on listen IP/hostname?



Patch? Why?

Per Hedeland told you the solution to use without a patch.

Don't forget to change your received header also:

define(`_REC_BY_', `$.by $?{if_name}${if_name}$|$j$. ($v/$Z)$?r with $r
$. id $i$?{tls_version}')dnl

the problem is that sendmail still connects to the remote host always
using default machine IP address.

it should be:

socket(..)
bind(..)
connect(..)
....

ie not like now:

socket(..)
connect(..)
....

(sendmail does not explicitly bind the created socket to the listen
socket address of the client connection)

my patch (which rebinds local address) works unless the delivery is
deferred (ie when remote server returns error like:
"Too many connections - try again later")

so i still have the problem with deferred delivery - sendmail always
rollbacks back to default machine IP...

thanks for _REC_NY_ hint - this is what I needed too.


dmitry

.



Relevant Pages

  • sendmail 8.14.4 available
    ... Sendmail, Inc., and the Sendmail Consortium announce the availability ... Patch inspired ... Patch from John Gardiner Myers ... Fix handling of `b' modifier for DaemonPortOptions on little ...
    (comp.mail.sendmail)
  • Re: [Full-disclosure] Re: SendGate: Sendmail Multiple Vulnerabilities (Race Condition DoS, Memor
    ... So in one sentence you say that the ISS bug is only a DoS and now ... massive exploitation of Sendmail servers. ... many issues addressed in the Sendmail patch. ... by fixing an issue and releasing a patch? ...
    (Full-Disclosure)
  • Summary: Sun patches cluster broke sendmail
    ... a patch broke my sendmail. ... All told me the reason was because there was a sendmail package original ... in the main host and 2nd in a linux box which only handles amavis ...
    (SunManagers)
  • Attachment corruption with patched 8.12.11 (and patch fuzz)
    ... proceed to apply the released patch to our installation of sendmail ... patch and that didn't seem normal to us so my first question is whether ... affect it (both 260K and 8M attachments are affected). ... Here is some details about how it is built: ...
    (comp.mail.sendmail)
  • Re: Mail relay issue
    ... the 8.12 patch, but the 8.11 patch is completely untested. ... >> A) Microsoft Exchange SMTP server ... >> Server "A" appends a default domain, if one is not given on the RCPT TO ... >> Now, server B (sendmail), apparently understands this sintax ...
    (Vuln-Dev)