Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
System name in SMTP messages and virtual hosting.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
D. Stussy  
View profile  
 More options Nov 2 2009, 4:01 pm
Newsgroups: comp.mail.sendmail
From: "D. Stussy" <spam+newsgro...@bde-arc.ampr.org>
Date: Mon, 2 Nov 2009 13:01:00 -0800
Subject: System name in SMTP messages and virtual hosting.
I have noted how to (and do) change the name in my initial greeting banner,
replacing $j by ${if_name} (confSMTP_LOGIN_MSG).  However, after the HELO
line is received and processed, sendmail replies with what it thinks is its
hostname  (250 -MyHostName- hello -CurSmtpClient-, pleased to meet you).
Is the variable "MyHostName" set by $j?  Can it be changed during M4 call
"check_relay"?  Using ${if_name}(or ${if_ptr}) instead of $j is common for
virtual hosting (where each VH listens on a separate IP address and
sendmail binds to the default [0.0.0.0] or [::]), but having the second
response reply with a different hostname breaks the continuity of the
virtual host (unless the incoming connection is to the main hostname).

It doesn't appear as if this is possible in an unmodified Sendmail 8.14.3.

In sendmail/srvrsmtp.c, subroutine smtp(), it appears that an envelope
variable already exists (as it is passed in as "e"), so replacing
"MyHostName" with a reference to the "$j" macro seems possible.  Setting
"$j" to "${if_name}" in the check_relay ruleset is possible with a storage
map directive.  Does anyone see a reason why this won't work?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »