> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan Marsden
> Sent: 06 January 1999 01:35
> To: Linuxconf Mailing List
> Subject: [linuxconf] Re: Where? sendmail.cf source
>
>
> On 5 Jan 1999, WWH Editor writes:
>
> > I was able to get ip-less virtual emailing to work!
>
> Great!  It might be good to post the changes you made here, perhaps as
> context diffs, so others can see them, and so (if they are generic
> enough) Jacques can consider including them in a future version of
> Linuxconf.

Actually in grepping /usr/lib/linuxconf I noticed the neccessary fragments
already existed! They were just not being added to sendmail.cf

As I don't know how to control which fragments I used I edited the fragments
that were used to contain those that weren't.

I included rulesets.parse1.virtuser.cf (which is the neccessary ruleset) at
the top of rulesets.parse1.middle.cf

Then in stdmacros.cf just after

>>># a class with just a left bracket (for identifying domain literals)
>>>C[[

I inserted

#SAMFIX
# Virtual user table (maps incoming users)
Kvirtuser hash /etc/virtusertable

> > NOTE to others: I had to use "hash" instead of "dbm" in "Kvirtuser
> > hash /etc/virtusertable"
>
> Hmmm.  That *should* work either way.  What happens if you switch to
> dbm, delete the old hash database files, and rebuild things from
> Linuxconf?

Sendmail complains it doesn't know about dbm, and so does makemap

> > 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.
>
> Agreed.  Sounds like a bug?

Does to me.  When I removed them linuxconf gave out errors (or badly phrased
warnings)

> Grin... call me a wizard... I still sometimes find hacking .cf files
> easier than using the m4 stuff, because I've been doing it for longer!
> But I agree it would be good if one day Linuxconf moved to using m4
> based sendmail setup.  Most people *do* find that easier than editing
> .cf files!

You're a wizard

Where does the very top of sendmail.cf come from?

I have to keep adding

Fwsendmail.cw each time I rebuild.

(I have a lot of domains I accept mail for locally)

Sam


---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to