Source string Read only

(itstool) path: info/title
16/160
Context English State
Finally, start the saslauthd daemon:
<prompt>#</prompt> <userinput>service saslauthd start</userinput>
This daemon serves as a broker for <application>Sendmail</application> to authenticate against the FreeBSD <citerefentry><refentrytitle>passwd</refentrytitle><manvolnum>5</manvolnum></citerefentry> database. This saves the trouble of creating a new set of usernames and passwords for each user that needs to use <acronym>SMTP</acronym> authentication, and keeps the login and mail password the same.
Next, edit <filename>/etc/make.conf</filename> and add the following lines:
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDADD=/usr/local/lib/libsasl2.so
These lines provide <application>Sendmail</application> the proper configuration options for linking to <package>cyrus-sasl2</package> at compile time. Make sure that <package>cyrus-sasl2</package> has been installed before recompiling <application>Sendmail</application>.
Recompile <application>Sendmail</application> by executing the following commands:
<prompt>#</prompt> <userinput>cd /usr/src/lib/libsmutil</userinput>
<prompt>#</prompt> <userinput>make cleandir &amp;&amp; make obj &amp;&amp; make</userinput>
<prompt>#</prompt> <userinput>cd /usr/src/lib/libsm</userinput>
<prompt>#</prompt> <userinput>make cleandir &amp;&amp; make obj &amp;&amp; make</userinput>
<prompt>#</prompt> <userinput>cd /usr/src/usr.sbin/sendmail</userinput>
<prompt>#</prompt> <userinput>make cleandir &amp;&amp; make obj &amp;&amp; make &amp;&amp; make install</userinput>
This compile should not have any problems if <filename>/usr/src</filename> has not changed extensively and the shared libraries it needs are available.
After <application>Sendmail</application> has been compiled and reinstalled, edit <filename>/etc/mail/freebsd.mc</filename> or the local <filename>.mc</filename>. Many administrators choose to use the output from <citerefentry><refentrytitle>hostname</refentrytitle><manvolnum>1</manvolnum></citerefentry> as the name of <filename>.mc</filename> for uniqueness. Add these lines:
dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
These options configure the different methods available to <application>Sendmail</application> for authenticating users. To use a method other than <application>pwcheck</application>, refer to the <application>Sendmail</application> documentation.
Finally, run <citerefentry><refentrytitle>make</refentrytitle><manvolnum>1</manvolnum></citerefentry> while in <filename>/etc/mail</filename>. That will run the new <filename>.mc</filename> and create a <filename>.cf</filename> named either <filename>freebsd.cf</filename> or the name used for the local <filename>.mc</filename>. Then, run <command>make install restart</command>, which will copy the file to <filename>sendmail.cf</filename>, and properly restart <application>Sendmail</application>. For more information about this process, refer to <filename>/etc/mail/Makefile</filename>.
To test the configuration, use a <acronym>MUA</acronym> to send a test message. For further investigation, set the <option>LogLevel</option> of <application>Sendmail</application> to <literal>13</literal> and watch <filename>/var/log/maillog</filename> for any errors.
For more information, refer to <link xlink:href="http://www.sendmail.org/~ca/email/auth.html"> <acronym>SMTP</acronym> authentication</link>.
Mail User Agents
<personname> <firstname>Marc</firstname> <surname>Silver</surname> </personname> <contrib>Contributed by </contrib>
<primary>Mail User Agents</primary>
A <acronym>MUA</acronym> is an application that is used to send and receive email. As email <quote>evolves</quote> and becomes more complex, <acronym>MUA</acronym>s are becoming increasingly powerful and provide users increased functionality and flexibility. The <literal>mail</literal> category of the FreeBSD Ports Collection contains numerous <acronym>MUA</acronym>s. These include graphical email clients such as <application>Evolution</application> or <application>Balsa</application> and console based clients such as <application>mutt</application> or <application>alpine</application>.
<command>mail</command>
<citerefentry><refentrytitle>mail</refentrytitle><manvolnum>1</manvolnum></citerefentry> is the default <acronym>MUA</acronym> installed with FreeBSD. It is a console based <acronym>MUA</acronym> that offers the basic functionality required to send and receive text-based email. It provides limited attachment support and can only access local mailboxes.
Although <command>mail</command> does not natively support interaction with <acronym>POP</acronym> or <acronym>IMAP</acronym> servers, these mailboxes may be downloaded to a local <filename>mbox</filename> using an application such as <application>fetchmail</application>.
In order to send and receive email, run <command>mail</command>:
<prompt>%</prompt> <userinput>mail</userinput>
The contents of the user's mailbox in <filename>/var/mail</filename> are automatically read by <command>mail</command>. Should the mailbox be empty, the utility exits with a message indicating that no mail could be found. If mail exists, the application interface starts, and a list of messages will be displayed. Messages are automatically numbered, as can be seen in the following example:
Mail version 8.1 6/6/93. Type ? for help.
"/var/mail/marcs": 3 messages 3 new
&gt;N 1 root@localhost Mon Mar 8 14:05 14/510 "test"
N 2 root@localhost Mon Mar 8 14:05 14/509 "user account"
N 3 root@localhost Mon Mar 8 14:05 14/509 "sample"
Messages can now be read by typing <keycap>t</keycap> followed by the message number. This example reads the first email:
&amp; <userinput>t 1</userinput>
Message 1:
From root@localhost Mon Mar 8 14:05:52 2004
X-Original-To: marcs@localhost
Delivered-To: marcs@localhost
To: marcs@localhost
Subject: test
Date: Mon, 8 Mar 2004 14:05:52 +0200 (SAST)
From: root@localhost (Charlie Root)

This is a test message, please reply if you receive it.
As seen in this example, the message will be displayed with full headers. To display the list of messages again, press <keycap>h</keycap>.
If the email requires a reply, press either <keycap>R</keycap> or <keycap>r</keycap> <command>mail</command> keys. <keycap>R</keycap> instructs <command>mail</command> to reply only to the sender of the email, while <keycap>r</keycap> replies to all other recipients of the message. These commands can be suffixed with the mail number of the message to reply to. After typing the response, the end of the message should be marked by a single <keycap>.</keycap> on its own line. An example can be seen below:
&amp; <userinput>R 1</userinput>
To: root@localhost
Subject: Re: test

<userinput>Thank you, I did get your email.
.</userinput>
EOT

Loading…

No matching activity found.

Browse all component changes

Things to check

Multiple failing checks

The translations in several languages have failing checks

Reset

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: info/title
Flags
read-only
Source string location
book.translate.xml:52499
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 8559