[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caldera, makemap, sendmail and dbm
- To: klug@xxxxxxxxxxxxxxxx
- Subject: Re: Caldera, makemap, sendmail and dbm
- From: "Adam Williams" <awilliam@xxxxxxxxxxxxx>
- Date: Mon, 5 Jul 1999 19:51:52 +0000
- In-Reply-To: Chance Ellis <ellis@westshore.cc.mi.us> "RE: Caldera, makemap, sendmail and dbm" (Jul 5, 12:56am)
- References: <E306E3610B07D211BDBD0060B0668440D23535@bdc1.westshore.cc.mi.us>
On Jul 5, 12:56am, Chance Ellis wrote:
> Subject: RE: Caldera, makemap, sendmail and dbm
> Adam,
>
> I would use m4 but I am not familiar with it and I don't have much time to
> implement this. I already have a working .cf file that sendmail uses to send
> and receive. I just need to add the virtual stuff. If I create a m4
> implementation, will it overwrite my existing config?
m4 and sendmail-cf are packages useful for generating sendmail configuration
files. All the information on configuring sendmail found at sendmail.org (and
there is alot of it) assume you are using m4 to generate your config files.
>Or can I append to the
> current config changes with m4?
Nope, it generates a whole new sendmail.cf. But even a complicated m4 file is
only like 20 lines long.
>Is it possible to just add the Kvirtuser
> line to the .cf file and make it work?
>
The documentation indicates that simply adding the Kvirtuser class will NOT
work. The default sendmail.cf does not reference the rules used for virtual
domain hosting. An m4 build cf file that contains a:
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
line will automatically have all the correct rules.
m4 is your friend. I was where you are, with V.P.'s breathing down my neck.
Only a few hours with m4 and I had sendmail dancing.
Also be sure to check your DNS if something doesn't work, I've been baffled by
sendmail problems only to discover it was doing what it was told by the DNS.
DNS and sendmail co-exist in lock-step.
> I appreciate your help. I have been on the list for a little over a year now
> and you seem to know your stuff.
Ha! Then I've fooled ya. The more you know about this stuff the more the
depth of ones own ignorance becomes apparent.