Solved

learning Sendmail & sendmail.cf

Posted on 2002-03-27
8
451 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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 50 total points
ID: 6909674
0
 

Author Comment

by:wingboad
ID: 6911550
thanks,man~
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

786 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