etc_aliases_restore.pl
You've lost /etc/aliases and need it back tool.

Philip Mikal, Partner & Co-Founder

Did you blow out Sendmail's /etc/aliases? Where did it go? Restore from the aliases.db file with this handy and simple script.

./etc_aliases_restore.pl > /etc/aliases


use strict;
use warnings;
use DB_File;

our (%h, $k, $v);

my $db = "/etc/mail/aliases.db";

tie %h, "DB_File", 
	$db, 
	O_RDWR|O_CREAT, 
	0666, 
	$DB_HASH or die 
	"Can't open $db: $!";

while (($k, $v) = each %h) { 
	chop($k); 
	chop($v); 
	print "$k: $v\n" 
}

untie %h;

Open Source Consulting strongly believes in sharing knowledge through publication. Below you'll find articles from our consultants on the topics of development, strategy and implementation of technical solutions using open source.

Articles

Tony Hansmann To Address Goldman Sachs Investor Conference. (10/28/05)
Andrew Larsen hired as Vice President, Business Development. (03/21/05)
Level Acuity merges with Precept Consulting and relaunches as Open Source Consulting, LLC (11/01/04)
Level Acuity aquires employment website DBAJobs.com. (06/01/04)
Level Acuity sponsors January's meeting of the San Francisco Perl Mongers. (01/02/04)
Marketing campaign launched featuring ads on Perl.com and Google. (11/13/03)
Level Acuity, LLC announces the launch of their website. (11/11/03)

Contact us today!
+1-877-490-6030 (o)
+1-415-294-4429 (o)
+1-415-358-5887 (f)

Copyright © 2003-2005 Open Source Consulting, LLC. All rights reserved.