[3776] in RedHat Linux List

home help back first fref pref prev next nref lref last post

qmail with variable hostnames

daemon@ATHENA.MIT.EDU (bilker@bigfoot.com)
Sun Nov 10 19:46:22 1996

Date: Sun, 10 Nov 1996 16:33:14 -0800
To: redhat-list@redhat.com
From: bilker@bigfoot.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

-----BEGIN PGP SIGNED MESSAGE-----

I've read with interest the glowing endorsements of qmail in this list,
and having thrashed in ignorance against sendmail since 1984, decided to
try it.  Following the instructions in the INSTALL file, I came across
this passage in the file INSTALL.ctl:

 -------
 There's one big exception. You MUST tell qmail your hostname. The easy
 way to do this is to run the qmail-makectl script:

    # ./qmail-makectl

 qmail-makectl finds your fully-qualified hostname in DNS and puts it
 into control/me. It also selects good defaults for a few other controls.
 -------

This is a problem for me.  My home machine has no local net (I've got a
3com card pending purchase of a second box), and my fully-qualified
hostname is assigned dynamically by my ISP.  In other words, my hostname
varies with each PPP connection.

Does anybody have any suggestions for qmail configuration in this environment?


[ additional info that may or may not be useful:

  I currently have a custom `ppp-on' script that initiates the PPP connection,
  and after it has been established uses the resolver to determine my new
  FQDN, which I set dynamically into the system via the sethostname(2) syscall.
  Once `pppd' terminates, the script resets the hostname to an unqualified
  name ("sludge").

  The `ppp-on' script also sets /etc/resolv.conf to be a symbolic link
  to a file appropriate to my ISP _before_ starting the PPP link, and
  resets it to be a symlink to an "empty" resolv.conf file on pppd 
  termination.
]
Thanks,
 ------------------------------------------------------------
 Bill Kerr         bilker@bigfoot.com     PGP KeyID: 0F806229
 Fingerprint: 03 6C D4 78 10 FD A0 83 BA 41 8D 2D 4D FD F1 5F
 ------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMoZ0DvurvFkPgGIpAQGkOgP+L9ie03AKx2URufoEfn703cim17QhGemV
1RcgWcL1HdHvPxYmTbE+3OMc0hyRijI51bwPuRInXt696tDEEOQRH75Dw63upar4
XM9fbVMtZsseH15HerOmyRhAmfZs+fA//KMU7xkzCvwNg6LCIm5bx9qd+p/Vurpy
ih9jwnoYbZA=
=/86J
-----END PGP SIGNATURE-----


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post