Real comments below; first GREAT thanks to Jonathan Marsden.
I was able to get ip-less virtual emailing to work!
And I still don't know how sendmail works!
I used
http://www.harker.com/cgi-bin/gen.sendmail.cf/make.sendmail.html.cgi/index
to generate the required files, then I viewed the results and compared to my
own sendmail.cf
I then examined the surrounding lines and grep'd in
/usr/lib/linuxconf/mailconf to find which files I should likely change
I copied them to /etc/mail/mailconf, changed them and then used linuxconf to
regenerate my sendmail.cf
And it worked!
I just wish linuxconf support this directly (even instead of the IP
requiring virtual hosting).
NOTE to others: I had to use "hash" instead of "dbm" in "Kvirtuser hash
/etc/virtusertable"
Only one problem, if I remove some files from /etc/mail/mailconf, then
linixconf does NOT revert back to the /usr/lib/linuxconf/mailconf files.
This is not good.
Sam
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan Marsden
> Sent: 05 January 1999 17:52
> To: Linuxconf Mailing List
> Subject: [linuxconf] Re: Where? sendmail.cf source
>
> > Do you know what chunks these are? I am not certain of anything the
> > instructions in the sendmail.cf say, because the source files are
> > not found where it says they should be, nor does it name the source
> > files.
>
> /usr/lib/linuxconf/mailconf has them all, at least on my RH 5.2
> installation. Where does 'it say' they should be located? And where
> is the 'it' doing the 'say'ing Maybe we just need to change the docs??
the sendmail.cf itself says at the top:
# Generated by linuxconf 1.12
# This file is built out of files in
/tmp/linuxconf-root/usr/lib/linuxconf/mailc
onf
[SAMS NOTE] But its not, there are nor files there, not even immediatly
after linuxconf rebuilds sendmail.cf
# If you want to do manual modifications to one file
# do not modify files in /tmp/linuxconf-root/usr/lib/linuxconf/mailconf,
instead
# copy the file in /etc/mail/mailconf/
[SAMS NOTE] /etc/mail/mailconf does not exist
# and do the modification there.
# Linuxconf will use your file from now on.
# It will even find out that the sendmail.cf
# must be rebuilt.
So I'm not sure if I copy what files to copy /etc/mail/mailconf.
I thought they were m4 files, but from what you say they are not, which
makes things clearer, as they are a load of cf files.
How linuxconf knows which order to assemble them I don't know.
So I guess, as for changing the docs; if it had the right dir for the
source, and mentioned that the source files were .cf files that you had to
be a wizard to be able to adjust, then the docs would be complete.
Sam
---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]