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!

When I try to enable allmasquerade I get errors

Status
Not open for further replies.

baileyscrossroads

Technical User
Nov 20, 2002
4
US
All,
I added the following lines to my sendmail.mc file because my server is running on Comcast and Comcast is on the rbl list so I have to make my server send through the comcast smtp server. Here's the lines:

define('SMART_HOST','smtp.comcast.net')dnl
MASQUERADE_AS(comcast.net)dnl
FEATURE('allmasquerade')dnl
FEATURE('masquerade_envelope')dnl

When I run the m4 macros I get the following error msgs:

Cannot open /usr/share/sendmail-cf/feature/'allmasquerade.m4'

I have checked the features directory and it is there. It has the correct permissions set as well.

I fixed it. I found out that if I removed the ' character from sendmail.mc FEATURE(allmasquerade) instead of FEATURE('allmasquerade') Is this an unusual problem? I got it to compile correctly but maybe theres a diff problem that I should be aware of? Any hints or help are appreciated

paulbunyan

 
Hi Baileyscrossroads

The error you've seen is due to the fact that the ' character you put in at the start is the wrong one. the m4 config is thinking its a single quote. The one you are after is ` which on the ASCII chart is ALT-96. Its's next to my 1 key on my keyboard but with different keyboards it may be in a different location.

So what you should have had would be:

FEATURE(`allmasquerade')dnl

Note the ` at the start and the ' at the end.

Hope this helps you in the future.

~ Remember - Nothing is Fool Proof to a Talented Fool ~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top