cvs commit: BLFS/packages/p postfix-config.xml

markh at linuxfromscratch.org markh at linuxfromscratch.org
Sun Apr 7 16:28:05 PDT 2002


markh       02/04/07 16:28:05

  Modified:    chapter01 changelog.xml
               packages/p postfix-config.xml
  Log:
  postfix update from Larry
  
  Revision  Changes    Path
  1.60      +4 -0      BLFS/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/chapter01/changelog.xml,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- changelog.xml	7 Apr 2002 23:17:59 -0000	1.59
  +++ changelog.xml	7 Apr 2002 23:28:05 -0000	1.60
  @@ -10,6 +10,10 @@
   
   <itemizedlist>
   
  +<listitem><para>April 7th, 2002 [markh]: Chapter 08 - Postfix update
  +from Larry and fix script to use spaces instead of
  +tabs.</para></listitem>
  +
   <listitem><para>April 7th, 2002 [markh]: Chapter 05 - Applied fcron
   updates (two of them) from Larry.  Moves to fcron-2.9.0 with a few
   fixes.</para></listitem>
  
  
  
  1.3       +17 -12    BLFS/packages/p/postfix-config.xml
  
  Index: postfix-config.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/packages/p/postfix-config.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- postfix-config.xml	7 Apr 2002 23:23:03 -0000	1.2
  +++ postfix-config.xml	7 Apr 2002 23:28:05 -0000	1.3
  @@ -17,22 +17,27 @@
   # End /etc/aliases
   <userinput>EOF</userinput></screen></para>
   
  -<para>The /etc/aliases file that was just created and the main.cf must
  -be personalized for your system. aliases needs your non-root login
  -identity in order for all mail to root to be forwarded to you at the
  -user level.  main.cf needs your fully qualified hostname.  Both of these
  -edits can be done with sed commands entered into the console with
  -appropriate substitutions of your non-root login name for [user] and
  -your fully qualified hostname for [localhost.localdomain]. These edits
  -will create a single host mail system, other edits are necessary to
  -perform the many other functions available.  You will find the main.cf
  -file is self documenting, so load it into your favorite editor to make
  -the changes you need for your situation.</para>
  +<para>The /etc/aliases file that was just created, the main.cf and the 
  +master.cf must be personalized for your system. The aliases file needs your 
  +non-root login identity so mail addressed to root can be forwarded to 
  +you at the user level.  The main.cf file needs your fully qualified 
  +hostname.  The master.cf needs to be modified to prevent your machine from 
  +becoming a relay for unauthorized entities.  All of these edits can be done 
  +with sed commands entered into the console with appropriate substitutions of 
  +your non-root login name for [user] and your fully qualified hostname for 
  +[localhost.localdomain]. These edits will create a single host mail system, 
  +other edits are necessary to perform the many other functions available.  
  +You will find the main.cf file is self documenting, so load it into your editor to make the changes you need for your situation.</para>
   
   <para><screen><userinput>cp /etc/aliases /etc/aliases.bak
   cp /etc/postfix/main.cf /etc/postfix/main.cf.bak
  +cp /etc/postfix/master.cf /etc/postfix/master.cf.bak
   sed "s/LOGIN/[user]/" /etc/aliases.bak > /etc/aliases
  -sed "s/#myhostname = host.domain.name/myhostname = [localhost.localdomain]/" /etc/postfix/main.cf.bak /etc/postfix/main.cf
  +sed "s/#myhostname = host.domain.name/myhostname = \ 
  +	[localhost.localdomain]/" \
  +	/etc/postfix/main.cf.bak /etc/postfix/main.cf
  +sed "71 s/inet/unix/" /etc/postfix/master.cf.bak > \
  +	/etc/postfix/master.cf
   /usr/bin/newaliases
   /usr/sbin/postfix start</userinput></screen></para></sect4>
   
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-book' in the subject header of the message



More information about the blfs-book mailing list