• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 506
  • Last Modified:

learning Sendmail & sendmail.cf

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
wingboad
Asked:
wingboad
  • 4
  • 3
1 Solution
 
markt9Commented:
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
 
wingboadAuthor Commented:
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
 
HalldorGCommented:
sendmail.cf has links to other files that are used


running sendmail -bt

will enable you to test its rulesets

0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
wingboadAuthor Commented:
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
 
markt9Commented:
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
 
wingboadAuthor Commented:
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
 
wingboadAuthor Commented:
thanks,man~
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now