LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-21-2004, 01:39 AM   #1
jacky
LQ Newbie
 
Registered: May 2004
Posts: 21

Rep: Reputation: 15
Arrow Create sendmail.mc from sendmail.cf


Hi
Can any one tell me how to regenerate sendmail.mc file from sendmail.cf
 
Old 05-21-2004, 04:33 AM   #2
eccles23
Member
 
Registered: Jun 2003
Location: Australia
Distribution: Gentoo/kernel 2.6.2
Posts: 45

Rep: Reputation: 15
well yeah... I think that the command is something like "m4 sendmail.cf > sendmail.mc" but I think I might have left a bit out. the proper command will be in the header of one or the other of those files, so just open them and take a look
 
Old 05-21-2004, 05:48 AM   #3
jacky
LQ Newbie
 
Registered: May 2004
Posts: 21

Original Poster
Rep: Reputation: 15
the command
m4 sendmail.mc > sendmail.cf
is for generating the .cf file .. I want it in reverse...

i have a sendmail.cf in my system but no sendmail.cf ..
what is the command to recreate sendmail.mc file from sendmail.cf
 
Old 08-25-2020, 04:49 PM   #4
Hiram_A
LQ Newbie
 
Registered: Aug 2020
Posts: 12

Rep: Reputation: Disabled
Quote:
Originally Posted by jacky View Post
the command
m4 sendmail.mc > sendmail.cf
is for generating the .cf file .. I want it in reverse...

i have a sendmail.cf in my system but no sendmail.cf ..
what is the command to recreate sendmail.mc file from sendmail.cf
Yes, it's been here 16 years, but better late than never...

No tool that I've found to do this, but I did come up with a workaround.
Create a new sendmail.cf from the default sendmail.mc but name it something different like:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.test

Download the sendmail.cf and the sendmail.test to your workstation and use something like WinMerge to compare the two. The differences will be obvious and you should be able to determine where to make the changes in your sendmail.mc.

Last edited by Hiram_A; 08-25-2020 at 04:50 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
create sendmail.cf file... jsheffie Solaris / OpenSolaris 2 04-18-2005 07:57 AM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration