nmh-workers
[Top] [All Lists]

Patch to persuade NMH-0.27 to honour QMAILUSER environment variable.

1998-08-05 10:05:43
Last Thursday our mail system committed suicide when it's root disk
failed mechanically. The resurrected system was missing the patch to
persuade Qmail to rewrite From: lines for MH/nmh users into the
correct form and so I've developed the following little hack to
persuade nmh's post to honour the QMAILUSER variable.

Whilst this appears to be a fairly simple patch, please note that I've
*only* tested that it fixes the address returned by adrsprintf() which
post(8) uses to construct the From: line it sends.

NB: Note that it only changes the behaviour if you #def'd QMAIL somehow
    when building nmh.

For more info on NMH see:

                http://www.math.gatech.edu/nmh/

Chris
-- 
 Christopher Samuel        +44 1684 894644        
C(_dot_)Samuel(_at_)eris(_dot_)dera(_dot_)gov(_dot_)uk
 N-115,  Defence Evaluation & Research Agency, St Andrews Road, Malvern, UK
 DISCLAIMER: The views expressed above are entirely those of the author and
  do not represent the views, policy or understanding of any other entity.

Attachment: nmh-qmail-patch
Description: nmh-qmail-patch

<Prev in Thread] Current Thread [Next in Thread>
  • Patch to persuade NMH-0.27 to honour QMAILUSER environment variable., Christopher Samuel <=