Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Bryce Nesbitt (bryce2obviously.com)
Date: Thu Mar 26 2009 - 19:23:09 CDT
Noel Jones wrote:
> You can't pipe to newaliases.
> You can use a proto file with comments and some script to create the
> input file that newaliases requires. This seems a natural for a
> -- Noel Jones
I was aiming for something that was "no mistakes" proof for other system
1) /etc/aliases would be the file to edit (not some other file).
2) "newaliases" would still be the command to run.
The hack I came up with was /etc/aliases has comments. /etc/newaliases
is my script. Strips comments to a temporary file. It then calls
"sendmail -I" to process the aliases. Then it deletes the temp file.
Not so elegant.
Would anyone else appreciate end of line comments, as an extension to
/etc/aliases and *.pcre? What character should introduce such comments?