|
Lines 68-74
Link Here
|
| 68 |
<listitem> |
68 |
<listitem> |
| 69 |
<para>How to use SMTP with UUCP.</para> |
69 |
<para>How to use SMTP with UUCP.</para> |
| 70 |
</listitem> |
70 |
</listitem> |
| 71 |
|
71 |
|
|
|
72 |
<listitem> |
| 73 |
<para>How to set up the system to send mail only.</para> |
| 74 |
</listitem> |
| 75 |
|
| 72 |
<listitem> |
76 |
<listitem> |
| 73 |
<para>How to use mail with a dialup connection.</para> |
77 |
<para>How to use mail with a dialup connection.</para> |
| 74 |
</listitem> |
78 |
</listitem> |
|
Lines 1320-1328
Link Here
|
| 1320 |
service, your agreement may forbid you from running a |
1324 |
service, your agreement may forbid you from running a |
| 1321 |
<quote>mail server</quote>.</para> |
1325 |
<quote>mail server</quote>.</para> |
| 1322 |
|
1326 |
|
| 1323 |
<para>The easiest way to fulfill those needs are to install the |
1327 |
<para>The easiest way to fulfill those needs is to install the |
| 1324 |
<filename role="package">mail/ssmtp</filename> port. Execute |
1328 |
<filename role="package">mail/ssmtp</filename> port. Execute |
| 1325 |
the following commands as root:</para> |
1329 |
the following commands as <username>root</username>:</para> |
| 1326 |
|
1330 |
|
| 1327 |
<screen>&prompt.root; <userinput>cd /usr/ports/mail/ssmtp</userinput></screen> |
1331 |
<screen>&prompt.root; <userinput>cd /usr/ports/mail/ssmtp</userinput></screen> |
| 1328 |
<screen>&prompt.root; <userinput>make install replace clean</userinput></screen> |
1332 |
<screen>&prompt.root; <userinput>make install replace clean</userinput></screen> |
|
Lines 1332-1356
Link Here
|
| 1332 |
with a four-line file located at |
1336 |
with a four-line file located at |
| 1333 |
<filename>/usr/local/etc/ssmtp/ssmtp.conf</filename>:</para> |
1337 |
<filename>/usr/local/etc/ssmtp/ssmtp.conf</filename>:</para> |
| 1334 |
|
1338 |
|
| 1335 |
<programlisting>root=yourrealeamil@yourisp.com |
1339 |
<programlisting>root=your_real_email |
| 1336 |
mailhub=mail.yourisp.com |
1340 |
mailhub=mail.your_isp.com |
| 1337 |
rewriteDomain=yourisp.com |
1341 |
rewriteDomain=your_isp.com |
| 1338 |
hostname=_HOSTNAME_</programlisting> |
1342 |
hostname=_HOSTNAME_</programlisting> |
| 1339 |
|
1343 |
|
| 1340 |
<para>Make sure you use your real email address for |
1344 |
<para>Make sure you use your real email address for |
| 1341 |
<username>root</username>. Enter your ISP's outgoing mail relay |
1345 |
<username>root</username>. Enter your ISP's outgoing mail relay |
| 1342 |
in place of <literal>mail.yourisp.com</literal> (some ISPs call |
1346 |
in place of <literal>mail.your_isp.com</literal> (some ISPs call |
| 1343 |
this the <quote>outgoing mail server</quote> or |
1347 |
this the <quote>outgoing mail server</quote> or |
| 1344 |
<quote>smtp server</quote>).</para> |
1348 |
<quote>smtp server</quote>).</para> |
| 1345 |
|
1349 |
|
| 1346 |
<para>Make sure you disable <application>sendmail</application> by |
1350 |
<para>Make sure you disable <application>sendmail</application> by |
| 1347 |
setting <option>sendmail_enable=</option><quote>"NONE"</quote> |
1351 |
setting <option>sendmail_enable=</option><quote>NONE</quote> |
| 1348 |
in <filename>/etc/rc.conf</filename>.</para> |
1352 |
in <filename>/etc/rc.conf</filename>.</para> |
| 1349 |
|
1353 |
|
| 1350 |
<para><filename role="package">mail/ssmtp</filename> has some |
1354 |
<para><filename role="package">mail/ssmtp</filename> has some |
| 1351 |
other options available. See the example config file in |
1355 |
other options available. See the example config file in |
| 1352 |
<filename>/usr/local/etc/ssmtp</filename> or the manual page for |
1356 |
<filename>/usr/local/etc/ssmtp</filename> or the manual page for |
| 1353 |
<application>ssmtp</application> some examples and more |
1357 |
<application>ssmtp</application> to some examples and more |
| 1354 |
information.</para> |
1358 |
information.</para> |
| 1355 |
|
1359 |
|
| 1356 |
<para>Setting up <application>ssmtp</application> in this manner |
1360 |
<para>Setting up <application>ssmtp</application> in this manner |