Subject: Re: F'up: /etc/rc.d/sendmail weirdness: more info
To: Martin S. Weber <Ephaeton@gmx.net>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 08/27/2004 22:53:56
On Fri, Aug 27, 2004 at 10:37:24PM +0200, Martin S. Weber wrote:
>On Fri, Aug 27, 2004 at 08:45:43AM -0400, Andrew Brown wrote:
>> >$ makemap -vu hash genericstable.db
>> >root Ephaeton@gmx.net
>> >@ @
>> >phaeton Ephaeton@gmx.net
>> >$
>> >
>> >Sendmail likes this very much :p
>>
>> that rebuilds it as if it were an aliases database, so you get the
>> extra record. how is the genericstable defined in your sendmail.cf?
>> can you show the output of grep genericstable /etc/mail/sendmail.cf,
>> please?
>
>Thanks for the explanation...
>
>$ grep genericstable /etc/mail/sendmail.cf
>
>##### Id: genericstable.m4,v 8.21 2001/03/16 00:51:26 gshapiro Exp #####
>##### $NetBSD: genericstable.m4,v 1.4 2003/06/01 14:06:46 atatat Exp $ #####
>Kgenerics hash /etc/mail/genericstable
> ^^^^
>$
>
>I suppose the 'hash' is causing the trouble.
no, that's to be expected. the syntax for a map is
Kfoo bar wibble
where "foo" is the name used in the $(foo$) stuff on the right hand
side of rules, "bar" is the type of map (eg syslog, arith, hash, ldap,
etc), and wibble is zero or more arguments to the map.
>Well. Just wondering wether I went off trails with my config and it bit
>me now, or wether I followed the guide's steps and it bit me... I cannot
>check as I lost my .mc, sadly..
>
>Some more info: If I follow the guide, copy the skeleton provided there,
>I'm ending up with that:
>
>$ m4 guide.mc > bla.cf
>$ grep genericstable bla.cf
>##### Id: genericstable.m4,v 8.21 2001/03/16 00:51:26 gshapiro Exp #####
>##### $NetBSD: genericstable.m4,v 1.4 2003/06/01 14:06:46 atatat Exp $ #####
>Kgenerics hash /etc/mail/genericstable
> ^^^^
>Just wondering ... won't it bite other guide-trustworthy ppl like me ? ...
>Or is it sth different ?
still fine.
see my other (out of order) reply on this thread. :)
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
werdna@squooshy.com * "information is power -- share the wealth."