LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2009, 06:28 AM   #1
homyangcha
Member
 
Registered: Jun 2008
Posts: 31

Rep: Reputation: 15
database relay_domains.db is older than source file relay_domains


hi
i am getting this problem in the maillog file for postfix:

warning: database /etc/postfix/relay_domains.db is older than source file /etc/postfix/relay_domains

can anyone help me solve this problem

thanks in advance.
 
Old 01-01-2009, 11:02 PM   #2
enyawix
Member
 
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 399

Rep: Reputation: 32
Enjoy hope this helps you

http://discuss.joyent.com/viewtopic.php?id=21809
 
Old 01-01-2009, 11:29 PM   #3
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
When you change any of these database files, you need to re-create the database version (.db) or postfix complains based on the assumption that you probably want to use the latest version.

To correct this, run

postmap relevant_file

so in this case

postmap /etc/postfix/relay_domains

Remember to do the same for aliases as well, using either

newaliases

or

postalias /etc/aliases
 
Old 01-01-2009, 11:33 PM   #4
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 enyawix View Post
That's a really useless link by the way. Did you post it because it was the first thing google threw up?
 
Old 01-01-2009, 11:48 PM   #5
enyawix
Member
 
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 399

Rep: Reputation: 32
Quote:
Originally Posted by billymayday View Post
That's a really useless link by the way. Did you post it because it was the first thing google threw up?
I did scroll down to see if it looked like the users issue was fixed. The last thing posted was
Quote:
Originally Posted by BrantonB
That did it.
 
Old 01-01-2009, 11:51 PM   #6
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
You mean
Quote:
That did it. I changed the hostname to www.domain.com and emails to feedback@domain.com are now being relayed.
There is a reference to the error in the OP, but it is far from central to the thread.
 
Old 01-02-2009, 12:10 AM   #7
enyawix
Member
 
Registered: Sep 2003
Location: ky
Distribution: gentoo
Posts: 399

Rep: Reputation: 32
Quote:
Originally Posted by billymayday View Post
You mean

There is a reference to the error in the OP, but it is far from central to the thread.
Now you are being a trool. 5k post in only two years you have no life. I did not just start using Linux. Many users will not read the manuals and do not try google. I obviously did something correctly because my postfix install works correctly.
 
Old 01-05-2009, 04:12 AM   #8
homyangcha
Member
 
Registered: Jun 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
When you change any of these database files, you need to re-create the database version (.db) or postfix complains based on the assumption that you probably want to use the latest version.

To correct this, run

postmap relevant_file

so in this case

postmap /etc/postfix/relay_domains

Remember to do the same for aliases as well, using either

newaliases

or

postalias /etc/aliases
thanks billymayday ... this seems to help... but what is that aliases file for and why do i have to do:
newaliases
or
postaliases /etc/aliases

can you explain further..
 
Old 01-05-2009, 04:35 AM   #9
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
Have look at the alias file for a start, but the alias file maps nonexistent "users" to real users (for example postmaster to you) or unused mail accounts to used ones (such as root to you) or can even map one "user" to several.

Postfix can use normal text files, but they aren't as efficient as the database files that newaliases creates, so database files are generally used. Running newaliases creates aliases.db from aliases.

That's about it.
 
Old 02-11-2009, 02:44 AM   #10
ashish_810
LQ Newbie
 
Registered: Feb 2009
Posts: 1
Blog Entries: 3

Rep: Reputation: 0
Post

Quote:
Originally Posted by homyangcha View Post
hi
i am getting this problem in the maillog file for postfix:

warning: database /etc/postfix/relay_domains.db is older than source file /etc/postfix/relay_domains

can anyone help me solve this problem

thanks in advance.
Dear Sir,

You use this step

#postmap hash:/etc/postfix/relay_domains

And postfix service restart

contact:- ashish.club10@gmail.com
 
  


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
how to get the source and install older udev? beatles1823 Linux - Laptop and Netbook 3 05-30-2007 06:37 AM
linking to older file bhert Linux - General 2 02-08-2007 03:14 PM
Desktop from Source for Older computers shepper Slackware 8 10-29-2005 03:07 PM
find files older than another file bmeckle Linux - Software 2 10-21-2004 11:50 AM
Installing older kernel source Amras Linux - Newbie 2 05-31-2004 11:23 AM


All times are GMT -5. The time now is 10:29 PM.

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