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 "j" macro thus: Dj$w.$m, and then start<br>
sendmail with the -d0.4 option, j is displayed as having<br>
the contents "$w.$m" - 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 "j" 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>
<br>
1. Macros are not expanded in sendmail.cf. For example,<br>
if I set the "j" macro thus: Dj$w.$m, and then start<br>
sendmail with the -d0.4 option, j is displayed as having<br>
the contents "$w.$m" - 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 "j" 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>