LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-12-2008, 04:47 PM   #1
halvorls
Member
 
Registered: Jun 2008
Posts: 78

Rep: Reputation: 15
Aliases.db failure!


Hi!

In the mail log i get follow line:

Dec 12 02:05:01 localhost postfix/smtpd[5830]: warning: database /etc/aliases.db is older than source file /etc/aliases

How can i fix it?

Ideas?

Thanks for help!
 
Old 12-12-2008, 04:50 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
/usr/bin/newaliases
 
Old 12-12-2008, 04:56 PM   #3
halvorls
Member
 
Registered: Jun 2008
Posts: 78

Original Poster
Rep: Reputation: 15
Hi!

Whay do you mean?
 
Old 12-12-2008, 05:19 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
execute the command
/usr/bin/newaliases
 
Old 12-12-2008, 05:57 PM   #5
halvorls
Member
 
Registered: Jun 2008
Posts: 78

Original Poster
Rep: Reputation: 15
Were? In terminal? or?
 
Old 12-12-2008, 05:59 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
open a terminal
become root (su or sudo)
type
/usr/bin/newaliases
 
Old 12-17-2008, 01:33 AM   #7
WW125599
LQ Newbie
 
Registered: Sep 2008
Posts: 12

Rep: Reputation: 0
copy the file /etc/aliases to /etc/aliases.db ur alias database

And restart the service
dovecot,sendmail/postfix

....!!!
 
Old 12-17-2008, 01:43 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by WW125599 View Post
copy the file /etc/aliases to /etc/aliases.db ur alias database

And restart the service
dovecot,sendmail/postfix

....!!!
You are joking aren't you? The correct answer has already been given. Please don't offer advice that is blatantly wrong. If you don't know what to do, there's no need to provide a response.

You shouldn't need to restart postfix for an update in aliases to take effect, although you may choose to reload to be certain. And dovecot doesn't use aliases.

By the way, there is an alternative (just for completeness)

#postalias /etc/aliases

will do the same a newaliases

Last edited by billymayday; 12-17-2008 at 01:46 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Supply failure or Motherboard failure? neilthereildeil Linux - Hardware 3 06-09-2008 05:47 PM
is this a disk failure msg - hdc: request senense failure walterj Linux - Hardware 3 03-26-2008 12:01 AM
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 08:59 PM
wrap lines at 80 for long aliases in .aliases.csh jhwilliams Linux - Software 0 07-26-2007 08:49 AM
sendmail and NIS databases (aliases, mail.aliases) - what kind of databases? cotton213 Linux - Software 0 03-14-2006 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration