Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 29th January 2006, 21:24
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default

Looks like I had sendmail and postfix both running at boot,
so I stopped sendmail and now I get those errors
Code:
Jan 29 12:20:40 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
Jan 29 12:20:54 m5-fedora4-04 postfix/smtpd[1885]: fatal: match_list_parse: open file /etc/postfix/local-host-names: No such file or directory
Jan 29 12:20:55 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 1885 exit status 1
Jan 29 12:20:55 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 29 12:21:40 m5-fedora4-04 postfix/pickup[1886]: fatal: match_list_parse: open file /etc/postfix/local-host-names: No such file or directory
Jan 29 12:21:40 m5-fedora4-04 postfix/qmgr[1887]: fatal: match_list_parse: open file /etc/postfix/local-host-names: No such file or directory
Jan 29 12:21:41 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/pickup pid 1886 exit status 1
Jan 29 12:21:41 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
Jan 29 12:21:41 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/qmgr pid 1887 exit status 1
Jan 29 12:21:41 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
Jan 29 12:21:55 m5-fedora4-04 postfix/smtpd[1888]: fatal: match_list_parse: open file /etc/postfix/local-host-names: No such file or directory
Jan 29 12:21:56 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 1888 exit status 1
Jan 29 12:21:56 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 29 12:22:41 m5-fedora4-04 postfix/pickup[1892]: fatal: match_list_parse: open file /etc/postfix/local-host-names: No such file or directory
Jan 29 12:22:41 m5-fedora4-04 postfix/qmgr[1893]: fatal: match_list_parse: open file /etc/postfix/local-host-names: No such file or directory
Jan 29 12:22:42 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/pickup pid 1892 exit status 1
Jan 29 12:22:42 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/pickup: bad comm
Reply With Quote
Sponsored Links
  #12  
Old 29th January 2006, 21:36
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by falko
It might take up to 72 hours until the changes propagate.


You seem to have Sendmail installed. The things I posted above are for Postfix... Now which Mail server is really installed on your system?
Sorry about that you were faster now I have only postfix, sendmail is not running anymore,

here's the netstat -tap screenshot
Reply With Quote
  #13  
Old 29th January 2006, 21:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

First create /etc/postfix/local-host-names:
Code:
touch /etc/postfix/local-host-names
Then post /etc/postfix/main.cf here.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 29th January 2006, 21:58
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default

Ok, local-host-names is created

here's the attached main.cf
Attached Files
File Type: zip main.zip (8.5 KB, 436 views)
Reply With Quote
  #15  
Old 29th January 2006, 22:07
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default

Here's my error log again if it can help solve my problem,
Code:
Jan 29 13:01:41 m5-fedora4-04 pop3-login: Login: user1 [67.171.7.xxx]
Jan 29 13:02:35 m5-fedora4-04 postfix/smtpd[2198]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Jan 29 13:02:36 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 2198 exit status 1
Jan 29 13:02:36 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 29 13:03:36 m5-fedora4-04 postfix/smtpd[2214]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Jan 29 13:03:37 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 2214 exit status 1
Jan 29 13:03:37 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 29 13:04:37 m5-fedora4-04 postfix/smtpd[2239]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Jan 29 13:04:38 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 2239 exit status 1
Jan 29 13:04:38 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 29 13:05:38 m5-fedora4-04 postfix/smtpd[2240]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Jan 29 13:05:39 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 2240 exit
Reply With Quote
  #16  
Old 29th January 2006, 22:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by micko_escalade
Here's my error log again if it can help solve my problem,
Code:
Jan 29 13:01:41 m5-fedora4-04 pop3-login: Login: user1 [67.171.7.xxx]
Jan 29 13:02:35 m5-fedora4-04 postfix/smtpd[2198]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Does /etc/postfix/virtusertable exist? If so, run
Code:
postmap /etc/postfix/virtusertable
and restart Postfix.

Can you post your main.cf directly to this forum instead of as an attachment? This makes it easier for everyone to read it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 29th January 2006, 22:28
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default

Quote:
Can you post your main.cf directly to this forum instead of as an attachment? This makes it easier for everyone to read it.
I tried that first time but then it gave error that it is too long
Quote:
The text that you have entered is too long (26463 characters). Please shorten it to 10000 characters long.
Quote:
Does /etc/postfix/virtusertable exist?
No, it doesn't exist, this is what's in postfix folder screenshot

but then like 10 minutes ago I rebooted VPS, and those errors are gone,
Code:
Jan 29 13:04:38 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 2239 exit status 1
Jan 29 13:04:38 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 29 13:05:38 m5-fedora4-04 postfix/smtpd[2240]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Jan 29 13:05:39 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 2240 exit status 1
Jan 29 13:05:39 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 29 13:06:39 m5-fedora4-04 postfix/smtpd[2249]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Jan 29 13:06:40 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 2249 exit status 1
Jan 29 13:06:40 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 29 13:07:40 m5-fedora4-04 postfix/smtpd[2250]: fatal: open database /etc/postfix/virtusertable.db: No such file or directory
Jan 29 13:07:41 m5-fedora4-04 postfix/master[1625]: warning: process /usr/libexec/postfix/smtpd pid 2250 exit status 1
Jan 29 13:07:41 m5-fedora4-04 postfix/master[1625]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 29 13:08:30 m5-fedora4-04 postfix/postfix-script: stopping the Postfix mail system
Jan 29 13:08:30 m5-fedora4-04 postfix/master[1625]: terminating on signal 15
Jan 29 13:08:31 m5-fedora4-04 dovecot: Killed with signal 15
Jan 29 13:14:27 m5-fedora4-04 dovecot: Dovecot starting up
Jan 29 13:14:29 m5-fedora4-04 postfix/postfix-script: starting the Postfix mail system
Jan 29 13:14:29 m5-fedora4-04 postfix/master[1625]: daemon started -- version 2.2.2, configuration /etc/postfix
Jan 29 13:23:58 m5-fedora4-04 pop3-login: Login: user1 [67.171.7.xxx]
Jan 29 13:24:48 m5-fedora4-04 pop3-login: Login: user1 [67.171.7.xxx]
Jan 29 13:26:00 m5-fedora4-04 last message repeated 2 times
btw, falko I really appreciate your help!
Reply With Quote
  #18  
Old 30th January 2006, 04:32
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default

Some additonal info,

I followed instruction Testing Postfix
here
when I try to telnet from windows command prompt to my vps ip
Code:
telnet 207.210.228.XX 25
I get no responde, but when I SSH to my vps using putty and use
Code:
telnet localhost 25
I get welcome message
Code:
220 m5-fedora4-04.myxen.com ESMTP Postfix
and I was able to send test email to yahoo account as instructed in above link
Reply With Quote
  #19  
Old 30th January 2006, 08:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,981
Thanks: 825
Thanked 5,371 Times in 4,218 Posts
Default

If your vps is behind a router, you will have to forward port 25 to your vps.

Otherwise i guess your provider blocks connections on port 25 or your windows or linux firewall blocks the connections.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #20  
Old 30th January 2006, 08:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by micko_escalade
I tried that first time but then it gave error that it is too long
Leave out all the comments in the file, then it should fit without problems.

Quote:
Originally Posted by micko_escalade
I followed instruction Testing Postfix
here
when I try to telnet from windows command prompt to my vps ip
Code:

telnet 207.210.228.XX 25

I get no responde,
In the netstat output I saw that Postfix is listening only on localhost, so I guess you haven't set inet_interfaces to all in /etc/postfix/main.cf (that's why I asked for it). Please set
Code:
inet_interfaces = all
in /etc/postfix/main.cf and restart Postfix.


BTW, when I ask you for some output of some command, please post it as plain text here, not as screenshot. This makes it easier for us to see what is wrong.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Setup Behind a Router/Firewall/Cable Modem kisong Installation/Configuration 2 1st August 2010 17:05
configure as a secondary mail server xma General 6 15th February 2006 13:46
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
Mail server jas_esp Server Operation 1 7th December 2005 18:17
Can't get MX for external mail server to work semmelbroesel Installation/Configuration 4 25th November 2005 17:48


All times are GMT +2. The time now is 19:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.