cvs commit: hints scp-before-relay.txt

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Sun Oct 12 18:14:04 PDT 2003


tushar      03/10/12 19:14:04

  Modified:    .        scp-before-relay.txt
  Log:
  Updated Hint: scp-before-relay
  
  Revision  Changes    Path
  1.4       +22 -5     hints/scp-before-relay.txt
  
  Index: scp-before-relay.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/scp-before-relay.txt,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- scp-before-relay.txt	11 Oct 2003 15:56:29 -0000	1.3
  +++ scp-before-relay.txt	13 Oct 2003 01:14:04 -0000	1.4
  @@ -6,10 +6,11 @@
   
   SYNOPSIS: An alternative to the pop-before-relay scheme
   
  -DESCRIPTION: This hint describes the setup for remote
  -users that exists on the LFS server.
  +DESCRIPTION: This hint describes a way to dynamically configure an SMTP
  +server such as Postfix to allow your specific (dynamic) IP address to use
  +it as a relay server.
   
  -PREREQUISITES: Installed Mail Server.
  +PREREQUISITES:	Working SMTP server (tested with Postfix).
   
   HINT:
   
  @@ -132,8 +133,18 @@
   seconds since January 1970. This makes it easier to calculate when it's
   supposed to expire.
   
  -Now, if there is no file gwaihir-ip present on shadowfax, it usually is
  -caused by one of the following:
  +In order for Postfix to actually use this file, edit the main.cf
  +configuration file and edit the "mynetworks" variable. It probably already
  +contains the "$mydestination" value. Modify it as follows:
  +
  +	mynetworks = hash:/etc/postfix/gwaihir-ip $mydestination
  +
  +The mynetwork variable defines trusted SMTP clients within Postfix. These
  +clients will have more privileges such as being able to relay through this
  +server.
  +
  +Back to the scripts. If there is no file gwaihir-ip present on shadowfax,
  +it usually is caused by one of the following:
   
   1) both scripts were run at the same time. There will always be a point in
   time where both systems will be running the scripts at the exact same
  @@ -229,5 +240,11 @@
   	update of the IP address in the relay database when necessary.
   
   CHANGELOG:
  +[2003-10-11]
  +	* Updated pre-requisites section.
  +
  +	* Added an important missing piece of information: configuring
  +	  Postfix to use the file containing the IP address.
  +
   [2003-10-09]
   	* Converted to comply with the new hint format.
  
  
  



More information about the hints mailing list