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

undefining m4 macro in sendmail.mc (fwd)



answering my own question ... doh.  i couldn't find documentation for this
anywhere but the obvious works.  in order to undefine a previously defined
m4 variable just put this in the local /etc/mail/sendmail.mc:

undefine(`confHOST_STATUS_DIRECTORY')dnl

easy.  duh.

adam.

---------- Forwarded message ----------
Date: Mon, 4 Dec 2000 11:52:40 -0800 (PST)
From: Adam Shand <larry@spack.org>
To: Debian User List <debian-user@lists.debian.org>
Subject: undefining m4 macro in sendmail.mc


hey.

i just ran into a sendmail problem i haven't had to deal with before.  
the hoststatus stuff is messing with my laptop (it check when my laptop
isn't connected and remembers that it can't get to hosts even after i plug
the ethernet in <grr> i just forced about 20 messages from over the last
two days off my laptop that i hadn't noticed were stuck in the queue).

so here's my question.  this is included in .../ostype/debian.m4:

define(`confHOST_STATUS_DIRECTORY', `/var/lib/sendmail/host_status')dnl

without modifing the debian.m4 file (which i don't want to do because my
chagnes will get overwritten next time i upgrade) how do i underfine the
confHOST_STATUS_DIRECTORY setting in my /etc/mail/sendmail.mc?

just setting it to `' doesn't do it.

adam.




Reply to: