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!

multiple sendmail.cw files?

Status
Not open for further replies.

ruttiger

Programmer
Nov 16, 2000
24
US
anybody know of a way to use multiple sendmail.cw files?
i really would like to have two, but sendmail.cf didn't seem to like that idea. perhaps is there a linux trick of symbolic link to two files? i doubt it, but that would be great!

thanks in advance,
blake.
 
why do you want to use 2 configuration files? it is possible if the securities are right (probably have to be root) but what do you need it for?
 
i'm goin to have a perl script add to the temp cw file without my input. both will be active, but i'll move all the entries from the temp cw file to the main one. this way the most data i could lose as a result of the perl file is the work i haven't saved, still in the temp file.

btw, the sendmail.cw file lists all the domains it'll accept. i want my customers to be able to add domains at any time, w/o my input - just tryin to be extra safe about it :)

thanks,
blake
 
you can change it without restarting sendmail?
hmm ... I always have changed all configs manually of all types ... guess i'm not trusting enough of computers ... :)
 
sure, you can change the .cw file w/o restarting Sendmail.
you can't change the .cf file w/o that tho...you gotta restart in that case.

btw, with my script, i'm just goin to lock the file, then append to it...not goin to do any deleting. i trust my coding, but still don't wanna risk it, ya know?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top