/[ddp]/manuals/trunk/quick-reference/debian-reference.raw.xml
ViewVC logotype

Diff of /manuals/trunk/quick-reference/debian-reference.raw.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7421 by osamu, Sun Jun 20 11:15:44 2010 UTC revision 7430 by osamu, Sun Jun 27 08:58:29 2010 UTC
# Line 14962  $ sudo postmap hush:/etc/postfix/sasl_pa Line 14962  $ sudo postmap hush:/etc/postfix/sasl_pa
14962          <tip>          <tip>
14963            <simpara>The contents of "<literal>/etc/mailname</literal>" is used by many non-MTA programs for their default behavior. For <literal>mutt</literal>, set "<literal>hostname</literal>" and "<literal>from</literal>" variables in <literal>~/muttrc</literal> file to override the <emphasis role="strong">mailname</emphasis> value.  For programs in the <literal>devscripts</literal> package, such as <literal>bts</literal>(1) and <literal>dch</literal>(1), export environment variables "<literal>$DEBFULLNAME</literal>" and "<literal>$DEBEMAIL</literal>" to override it.</simpara>            <simpara>The contents of "<literal>/etc/mailname</literal>" is used by many non-MTA programs for their default behavior. For <literal>mutt</literal>, set "<literal>hostname</literal>" and "<literal>from</literal>" variables in <literal>~/muttrc</literal> file to override the <emphasis role="strong">mailname</emphasis> value.  For programs in the <literal>devscripts</literal> package, such as <literal>bts</literal>(1) and <literal>dch</literal>(1), export environment variables "<literal>$DEBFULLNAME</literal>" and "<literal>$DEBEMAIL</literal>" to override it.</simpara>
14964          </tip>          </tip>
14965            <tip>
14966              <simpara>The <literal>popularity-contest</literal> package normally send mail from root account with FQDN.  You need to set <literal>MAILFROM</literal> in <literal>/etc/popularity-contest.conf</literal> as described in the <literal>/usr/share/popularity-contest/default.conf</literal> file.  Otherwise, your mail will be rejected by the smarthost SMTP server. Although this is tedious, this approach is safer than rewriting the source address for all mails from root by MTA and should be used for other daemons and cron scripts.</simpara>
14967            </tip>
14968          <simpara>When setting the <emphasis role="strong">mailname</emphasis> to "<literal>hostname -f</literal>", the spoofing of the source mail address via MTA can be realized by the following.</simpara>          <simpara>When setting the <emphasis role="strong">mailname</emphasis> to "<literal>hostname -f</literal>", the spoofing of the source mail address via MTA can be realized by the following.</simpara>
14969          <itemizedlist>          <itemizedlist>
14970            <listitem>            <listitem>

Legend:
Removed from v.7421  
changed lines
  Added in v.7430

  ViewVC Help
Powered by ViewVC 1.1.5