FreeBSD Bugzilla – Attachment 37928 Details for
Bug 60186
[patch] Addition of new section to mail chapter of handbook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
chapter.diff
chapter.diff (text/plain), 3.35 KB, created by
Bill Moran
on 2003-12-12 19:10:20 UTC
(
hide
)
Description:
chapter.diff
Filename:
MIME Type:
Creator:
Bill Moran
Created:
2003-12-12 19:10:20 UTC
Size:
3.35 KB
patch
obsolete
>--- chapter.orig.sgml Sun Nov 30 19:11:42 2003 >+++ chapter.sgml Fri Dec 12 12:38:22 2003 >@@ -1278,6 +1278,82 @@ > <prompt>></prompt> <userinput>^D</userinput></screen> > </sect1> > >+ <sect1 id="outgoing-only"> >+ <sect1info> >+ <authorgroup> >+ <author> >+ <firstname>Bill</firstname> >+ <surname>Moran</surname> >+ <contrib>Contributed by </contrib> >+ </author> >+ </authorgroup> >+ </sect1info> >+ <title>Setting up to send only</title> >+ >+ <para>There are many instances where you may only want to send >+ mail through a relay. Some examples are:</para> >+ >+ <itemizedlist> >+ <listitem> >+ <para>Your computer is a desktop machine, but you'll want to use FreeBSD >+ programs such as &man.send-pr.1;. To do so, you should use your ISP's >+ mail relay.</para> >+ </listitem> >+ >+ <listitem> >+ <para>The computer is a server that does not handle mail locally, but needs >+ to pass off all mail to a relay for processing.</para> >+ </listitem> >+ </itemizedlist> >+ >+ <para>Just about any MTA is capable of filling this particular niche. >+ Unfortunately, it can be very difficult to properly configure a full- >+ featured MTA to properly handle just offloading mail. Programs such >+ as <application>sendmail</application> and >+ <application>postfix</application> are largely overkill for this use. >+ </para> >+ >+ <para>Additionally, if you're using a typical Internet access service, your >+ agreement may forbid you from running a "mail server".</para> >+ >+ <para>The easiest way to fulfill these needs is to install the >+ <filename role="package">mail/ssmtp</filename> port. Execute the >+ following commands as root:</para> >+ >+ <screen>&prompt.root; <userinput>cd /usr/ports/mail/ssmtp >+&prompt.root; make install && make replace && make clean</userinput></screen> >+ >+ <para>Once installed, <filename role="package">mail/ssmtp</filename> can >+ be configured with a four-line file in >+ <filename>/usr/local/etc/ssmtp/ssmtp.conf</filename></para> >+ >+ <programlisting> >+root=yourrealeamil@yourisp.com >+mailhub=mail.yourisp.com >+rewriteDomain=yourisp.com >+hostname=_HOSTNAME_</programlisting> >+ >+ <para>Make sure you use your real email address for >+ <literal>root=</literal>. Enter your ISP's outgoing mail relay in place >+ of <literal>mail.yourisp.com</literal> (some ISPs call this the >+ "outgoing mail server" or "smtp server").</para> >+ >+ <para>Make sure you disable <application>sendmail</application> by entering >+ <programlisting>sendmail_enable="NONE"</programlisting> in >+ <filename>/etc/rc.conf</filename>.</para> >+ >+ <para><filename role="package">mail/ssmtp</filename> has some other >+ options available. See the example config file in >+ <filename>/usr/local/etc/ssmtp</filename> or the manual page for >+ <application>ssmtp</application>.</para> >+ >+ <para>Setting up <application>ssmtp</application> in this manner will allow any >+ software on your computer that needs to send mail to function properly, >+ while not violating your ISP's usage policy or allowing your computer to >+ be hijacked for spamming.</para> >+ >+ </sect1> >+ > <sect1 id="SMTP-dialup"> > <title>Using Mail with a Dialup Connection</title>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 60186
: 37928