[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sendmail: why do text maps not work?



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--------------------------------------


btw: What are the different map types, and where are they all documented?

Nils

--
Plug-and-Play is really nice, unfortunately it only works 50% of the time.
To be specific the "Plug" almost always works.            --unknown source

Attachment: pgp16YKHANbgG.pgp
Description: PGP signature


Reply to: