Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with macro expansion and hostnames & addresses

Status
Not open for further replies.

dstanley

Technical User
Jan 18, 2000
1
GB
I am trying to configure sendmail v8.9.3 on Solaris 7 (SunOS 5.7) machine, and I've got two problems:<br>
<br>
1. Macros are not expanded in sendmail.cf. For example,<br>
if I set the &quot;j&quot; macro thus: Dj$w.$m, and then start<br>
sendmail with the -d0.4 option, j is displayed as having<br>
the contents &quot;$w.$m&quot; - ie, w & m have not been expanded.<br>
<br>
2. The system has two IP addresses and corresponding <br>
hostnames, configured on one network interface. One IP<br>
corresponds to the actual local hostname, while the other<br>
is a gateway that I specifically want sendmail to use <br>
to initiate any SMTP connections. However, all SMTP <br>
traffic is going out on the other interface (the inter-<br>
face corresponding to the local hostname), even if, in<br>
sendmail.cf, I set &quot;j&quot; to the fully qualified canonical<br>
name of the interface that I want sendmail to use.<br>
<br>
Can anybody please help?<br>
<br>
Cheers,<br>
Dave<br>

 
Hi Dave,<br><br>Do you have two NIC cards or one NIC card with two addresses? I had a similar<br>problem with a Sun ultra 1 where I had two NIC cards and two distinct addresses. I intalled the second card and began to have problems, but then I just rebuilt sendmail from scratch and it worked fine.&nbsp;&nbsp;This was a shotgun approach, but it worked.<br><br>best,<br><br>sapsan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top