Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

learning Sendmail & sendmail.cf

Posted on 2002-03-27
8
Medium Priority
?
493 Views
Last Modified: 2013-12-17
i want to know more about Sendmail,but on sendmail.org,i could not find a suitable guideline for me as detail.my question is:

1) could you explain what files would be called as sendmail start working,(for example:sendmail would first check sendmail.cw or sendmail.cf when a mail incoming) sth
like this

2) while i know sendmail.cf is the most important, as i know,it would run "check_relay, check_mail,check_rcpt" in sequence,but i don't know the details,could you tell me more or where could i find a good guide to study ? i am very interesting in editing the "sendmail.cf" file,but quite puzzled with "R<$+>,$|, $+,$*..." sth like that.

3) if introduce sendmail.mc & its responding configuration
,extra 30~50 points would be awarded.

waiting for answers from experts,thanks.
0
Comment
Question by:wingboad
  • 4
  • 3
8 Comments
 
LVL 5

Expert Comment

by:markt9
ID: 6899101
Of course the source code would be definitative and is available.  

The best reference would be the Sendmail book
by Bryan Costales, Eric Allman

http://www.amazon.com/exec/obidos/ASIN/1565922220/104-6070654-5728769

http://www.sendmail.org/faq/ 
http://www.linuxworld.com/linuxworld/lw-2000-09/lw-09-geek_1.html
0
 

Author Comment

by:wingboad
ID: 6901289
oh,markt9:

   first,thank you for your answer,but all those i'd checke
d from the Internet,not helpful to me. and i knew that Book
,but i'd like to find what i want from Internet instead of
buy such a book
0
 
LVL 7

Expert Comment

by:HalldorG
ID: 6903616
sendmail.cf has links to other files that are used


running sendmail -bt

will enable you to test its rulesets

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:wingboad
ID: 6904109
but i even do NOT know how to edit such a ruleset as i want

so,could you please introduce the relationship with sendmail.mc & sendmail.cf,and the principle & noticement of
editing them.
0
 
LVL 5

Expert Comment

by:markt9
ID: 6904298
You are asking to know everything about sendmail.cf, but refusing to read the source code or the book.

Maybe you should give a specific example of what you want to do as your question....

Maybe you should consider a Windows solution.....you are going to have to RTFM for sendmail hacks....Of course if you can't afford the BAT book on sendmail, you can't afford Windows....

Maybe your library has the book.....really, it is the DEFINITATIVE authority on sendmail.  There is nothing equivlant on the internet (except the source code)....of course I could be wrong....I've only been looking since 1993.

Maybe you should focus on the sendmail.mc.  After all it is more readable than the .cf file....
0
 

Author Comment

by:wingboad
ID: 6909609
markt9:
   i am really new guy of sendmail,cause i want to know more about it,maybe i did not ask a clear question,say sorr
y here.
   ok,could you please introduce sth about the RULES how to
editing sendmai.mc thus to make a new sendmail.cf file by
"m4",i am not clear about the "dnl" or sth like that,i need
more details.thanks.
0
 
LVL 5

Accepted Solution

by:
markt9 earned 150 total points
ID: 6909674
0
 

Author Comment

by:wingboad
ID: 6911550
thanks,man~
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
Suggested Courses

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question