[Top][All Lists]

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

Re: [Nmh-workers] 1.5 release, minor nits, and an open call to Jerry Pee

From: Lyndon Nerenberg
Subject: Re: [Nmh-workers] 1.5 release, minor nits, and an open call to Jerry Peek
Date: Fri, 3 Feb 2012 11:23:33 -0800

On 2012-02-03, at 10:59 AM, Ken Hornstein wrote:

> I thought about this ... but that would mean we ditch the installed
> system components files completely, and it's not clear what we do
> for existing users.

I would use the system-side components as the template to populate the user's 
components file. Then again, I've never found the system components file to be 
useful at any of the sites I've deployed MH into, since the people actually 
using MH invariably set up their own customized components. But I could also be 
persuaded to go with getpwnam(getuid())->address@hidden().

This really all comes down to getting the domain part of the address right. 
Perhaps the above getpwnam... hack with the ability to override the RHS. E.g., 
if /usr/local/nmh/etc/MailDomain exists, use its contents rather than calling 
gethostname() when building the implicit default From: header. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]