Sendmail: help with main.mc

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Sendmail: help with main.mc
# 1  
Old 03-25-2009
Sendmail: help with main.mc

We compile the sendmail.cf file using main.mc. I have managed to place all of our configuration options in main.mc without a problem, with the exception of one.

I want to have the HelpFile commented out by default in sendmail.cf. How can I instruct main.mc to place an entry for HelpFile in sendmail.cf, but leave it commented out, like so:

Quote:
#O HelpFile=/etc/mail/helpfile
# 2  
Old 04-15-2009
I don't think this is possible, and it won't help because I think that is the default which will be used if none is specified. (That's an educated guess). However, you can simply set the HelpFile to /dev/null using like this (tested):
Code:
define(`HELP_FILE', `/dev/null')dnl

Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

2. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

3. Shell Programming and Scripting

$? and main return value

It seems $? can only contain one byte. see below: int main() { return 0x12345678; } After I run the code and check the $? value it output 120, obviously it is the decimal of the last byte of 0x12345678. And if I return a value less than 255, the $? value seems right. Why? and... (3 Replies)
Discussion started by: vistastar
3 Replies

4. Programming

main function

Is it possible to execute any function before main() function in C or C++. (6 Replies)
Discussion started by: arun.viswanath
6 Replies

5. UNIX for Dummies Questions & Answers

main makefile

hello everyone.. am having problem with my so-called main makefile all my files are in the same folder, i was planning to make a single makefile that would make two executable but I got some errors so I separated them and used now i was wondering if I could create a single makefile... (6 Replies)
Discussion started by: ideur
6 Replies

6. Programming

Main Resursive is it possible

Friends I am Trying this code to call main Recursively But It is showing segmentation errot #include<stdio.h> int main() { int i; for(i=0;i<10;i++) { if(i==5) { exit(0); } else { main(); } } } (7 Replies)
Discussion started by: krishna_sicsr
7 Replies

7. HP-UX

How to go to main prompt

Hi: I am new to HP-UX. After the system starts up, it is written in the documents that press any key within 10 sec to interrupt, and go to the main prompt, where I can select the boot device or boot from CD to recover system. However if I interrupt boot, it goes straight to HPUX> prompt. Please... (2 Replies)
Discussion started by: amitra123
2 Replies
Login or Register to Ask a Question