Re: sendmail: why do text maps not work?
On Wed, 21 Apr 1999, Nils Rennebarth wrote:
> Running sendmailconfig, and answering yes to the Mailertable question
> creates and entry like this:
>
> FEATURE(mailertable, `text /etc/mail/mailertable')dnl
>
> which doesn't work.
>
> FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl
>
> however does work, if the maps are there and made with makemap.
> Adding an -o in the text case does not help.
> Are text maps not supported? Is this a bug? Is the format of text maps
> different? Mine looks like this (whitespace is tab)
> --------------------------------snip--------------------------------------
> tabaluga.ipe.uni-stuttgart.de smtp:[tabaluga.ipe.uni-stuttgart.de]
> ipesun.e-technik.uni-stuttgart.de smtp:[ipesun.ipe.uni-stuttgart.de]
> ipesun.ipe.uni-stuttgart.de smtp:[ipesun.ipe.uni-stuttgart.de]
> --------------------------------snip--------------------------------------
ouch.. this is a (very old - back to 8.8.8) bug - thanks !
to keep it a text file, it would have to read something like (untested,
but should do the trick):
FEATURE(mailertable, `text -k0 -v1 /etc/mail/mailertable')dnl
>
> btw: What are the different map types, and where are they all documented?
The O'Reilly Sendmail book (the bat book) is about the only place
you'll find this information
--
Rick Nelson
C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL
Reply to: