LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-24-2019, 11:41 AM   #1
jeirvon
LQ Newbie
 
Registered: Jan 2019
Posts: 4

Rep: Reputation: Disabled
Postfix Server not Working


I am having issues with being able to send and receive emails. It was working and then is stop suddenly. I have emails that are stuck in a queue and I want to resend them. Looking at the logs the error messages read as followed:

an 24 11:08:08 mail postfix/cleanup[2202]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:08:08 mail postfix/cleanup[2202]: fatal: host not found: localhost:12345
Jan 24 11:09:08 mail postfix/cleanup[2935]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:09:08 mail postfix/trivial-rewrite[2936]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:09:08 mail postfix/cleanup[2938]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:10:16 mail postfix/cleanup[3027]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:11:37 mail postfix/postalias[3371]: fatal: open /var/lib/mailman/data/aliases: No such file or directory
Jan 24 11:12:21 mail postfix/cleanup[3554]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:13:37 mail postfix/cleanup[3891]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:14:52 mail postfix/cleanup[4208]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:16:52 mail postfix/cleanup[4789]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:18:37 mail postfix/cleanup[5244]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:19:52 mail postfix/cleanup[5559]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:21:23 mail postfix/cleanup[6006]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:23:37 mail postfix/cleanup[6256]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:24:46 mail postfix/cleanup[6262]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:25:59 mail postfix/cleanup[6392]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:27:40 mail postfix/submission/smtpd[6494]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:28:29 mail postfix/cleanup[6581]: error: open database /etc/postfix/vitual.db: No such file or directory
Jan 24 11:28:38 mail postfix/cleanup[6598]: error: open database /etc/postfix/vitual.db: No such file or directory
 
Old 01-24-2019, 03:40 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Looks like a typo in the configuration. vitual instead of virtual.
 
Old 01-30-2019, 04:10 PM   #3
jeirvon
LQ Newbie
 
Registered: Jan 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Where do I find the Configuration details

Where would I go on the server to correct the misspelling? I am new to Postfix never used it before.
 
Old 01-30-2019, 05:38 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I don't know for sure, but according to the documentation, it's probably the line
Code:
virtual_alias_maps = hash:/etc/postfix/virtual
in config file /etc/postfix/main.cf.

My server also has a line
Code:
virtual_alias_domains = hash:/etc/postfix/virtual
To be certain, I would search all files under /etc/postfix for the string "vitual" and correct any occurrences.

Don't forget to restart Postfix afterwards.
 
Old 02-01-2019, 07:18 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jeirvon View Post
Where would I go on the server to correct the misspelling? I am new to Postfix never used it before.
So then how did you set it up to begin with?
 
Old 02-03-2019, 11:10 PM   #6
jeirvon
LQ Newbie
 
Registered: Jan 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Question Emails no longer in queue

Thank you bernbausch I made the change and my emails that was in queue are no longer there. How do I verify the email went to were they were supposed to go?
 
Old 02-03-2019, 11:23 PM   #7
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by jeirvon View Post
Thank you bernbausch I made the change and my emails that was in queue are no longer there. How do I verify the email went to were they were supposed to go?
I suggest you create a new question. I know very little about Postfix (and only answered your question because the error was rather obvious to me).
 
Old 02-03-2019, 11:37 PM   #8
jeirvon
LQ Newbie
 
Registered: Jan 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you

I appreciate your honesty.
 
Old 02-04-2019, 12:49 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by jeirvon View Post
Thank you bernbausch I made the change and my emails that was in queue are no longer there. How do I verify the email went to were they were supposed to go?
You should check the logs (usually /var/log/maillog or /var/log/mail.log).
 
  


Reply



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
Postfix 2.6.6 postfix/cleanup and postfix/master errors Pummelmuffin Linux - Server 2 11-22-2020 12:50 PM
Why is my hosted e-mail server's postfix server not working properly? sinisterporpoise Debian 2 04-16-2017 03:02 PM
[SOLVED] Postfix smtpd_recipient_restrictions not working (postfix, amavis, SA, BSD) andrewggrant *BSD 2 08-29-2012 11:41 AM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM
move postfix mails from server to another postfix server onetwo Linux - Software 2 03-18-2003 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:57 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
Open Source Consulting | Domain Registration