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 offers flexible options to meet your unique needs. Our Open Source staffing solutions are perfect for:
  • Assignments over one month in length.
  • Onsite work
  • Business needs analysis
  • Existing project, with sizable team in place
  • Long-term application maintenance and support
  • Security sensitive projects
  • Lower cost
As an alternative to our staffing solutions, please review our project-based offerings.
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.