Source string Read only

(itstool) path: step/screen
Context English State
SMTP Authentication
<personname> <firstname>James</firstname> <surname>Gorham</surname> </personname> <contrib>Written by </contrib>
Configuring <acronym>SMTP</acronym> authentication on the <acronym>MTA</acronym> provides a number of benefits. <acronym>SMTP</acronym> authentication adds a layer of security to <application>Sendmail</application>, and provides mobile users who switch hosts the ability to use the same <acronym>MTA</acronym> without the need to reconfigure their mail client's settings each time.
Install <package>security/cyrus-sasl2</package> from the Ports Collection. This port supports a number of compile-time options. For the SMTP authentication method demonstrated in this example, make sure that <option>LOGIN</option> is not disabled.
After installing <package>security/cyrus-sasl2</package>, edit <filename>/usr/local/lib/sasl2/Sendmail.conf</filename>, or create it if it does not exist, and add the following line:
pwcheck_method: saslauthd
Next, install <package>security/cyrus-sasl2-saslauthd</package> and add the following line to <filename>/etc/rc.conf</filename>:
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
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/</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
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></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></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=""> <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>.
<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>:


No matching activity found.

Browse all component changes

Things to check

Multiple failing checks

The translations in several languages have failing checks



English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: step/screen
no-wrap, read-only
Source string location
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 8866