LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   About sendmail? (https://www.linuxquestions.org/questions/linux-newbie-8/about-sendmail-697663/)

your_shadow03 01-16-2009 01:22 AM

About sendmail?
 
I was reading a simple sendmail setup from http://kbase.redhat.com/faq/docs/DOC-9962 redhat official link.
I am confused about the line:

Code:

dnl # DAEMON_OPTIONS ('Port=smtp, Addr=127.0.0.1, Name=MTA')
Should we remove dnl # or keep it for Sendmail to send and receive mail to other hosts other than localhost.

What the line states?

Pls help

your_shadow03 01-16-2009 02:13 AM

In another doc it says :
Code:

To enable SMTP authentication, uncomment the following in /etc/mail/sendmail.mc by removing the dnl at the beginning of the line:

define(`confAUTH_OPTIONS', `A p')dnl
...
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
...
DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl

Should we uncomment or comment out for the process to make it happen

saagar 01-19-2009 01:49 PM

you should comment it

with dnl # DAEMON OPTIONS----

your_shadow03 01-19-2009 10:07 PM

Do You Mean I should write:
Code:

dnl #DAEMON_OPTIONS ('Port=smtp, Addr=127.0.0.1, Name=MTA')
But its simply commented.What Does it mean then?


All times are GMT -5. The time now is 10:14 PM.