LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2005, 10:40 AM   #1
wfernley
Member
 
Registered: Apr 2005
Posts: 65

Rep: Reputation: 15
Postfix Problem


Hello, I am trying to get postfix working but it is giving me errors. I'm not to familiar with Postfix but I tried viewing the maillog and this is what I got:


Aug 24 09:19:47 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/nqmgr pid 3943 exit status 1
Aug 24 09:19:47 webserver postfix/master[7171]: warning: /usr/libexec/postfix/nqmgr: bad command startup -- throttling
Aug 24 09:20:30 webserver postfix/smtpd[3997]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:20:31 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/smtpd pid 3997 exit status 1
Aug 24 09:20:31 webserver postfix/master[7171]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 24 09:20:44 webserver postfix/pickup[4017]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:20:45 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/pickup pid 4017 exit status 1
Aug 24 09:20:45 webserver postfix/master[7171]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
Aug 24 09:20:47 webserver postfix/nqmgr[4023]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:20:48 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/nqmgr pid 4023 exit status 1
Aug 24 09:20:48 webserver postfix/master[7171]: warning: /usr/libexec/postfix/nqmgr: bad command startup -- throttling
Aug 24 09:21:31 webserver postfix/smtpd[4076]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:21:32 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/smtpd pid 4076 exit status 1
Aug 24 09:21:32 webserver postfix/master[7171]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 24 09:21:45 webserver postfix/pickup[4093]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:21:46 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/pickup pid 4093 exit status 1
Aug 24 09:21:46 webserver postfix/master[7171]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
Aug 24 09:21:48 webserver postfix/nqmgr[4097]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:21:49 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/nqmgr pid 4097 exit status 1
Aug 24 09:21:49 webserver postfix/master[7171]: warning: /usr/libexec/postfix/nqmgr: bad command startup -- throttling
Aug 24 09:22:32 webserver postfix/smtpd[4148]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:22:33 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/smtpd pid 4148 exit status 1
Aug 24 09:22:33 webserver postfix/master[7171]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 24 09:22:46 webserver postfix/pickup[4165]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:22:47 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/pickup pid 4165 exit status 1
Aug 24 09:22:47 webserver postfix/master[7171]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
Aug 24 09:22:50 webserver postfix/nqmgr[4169]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:22:51 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/nqmgr pid 4169 exit status 1
Aug 24 09:22:51 webserver postfix/master[7171]: warning: /usr/libexec/postfix/nqmgr: bad command startup -- throttling
Aug 24 09:23:33 webserver postfix/smtpd[4223]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:23:34 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/smtpd pid 4223 exit status 1
Aug 24 09:23:34 webserver postfix/master[7171]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 24 09:23:47 webserver postfix/pickup[4243]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:23:48 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/pickup pid 4243 exit status 1
Aug 24 09:23:48 webserver postfix/master[7171]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
Aug 24 09:23:51 webserver postfix/nqmgr[4248]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:23:52 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/nqmgr pid 4248 exit status 1
Aug 24 09:23:52 webserver postfix/master[7171]: warning: /usr/libexec/postfix/nqmgr: bad command startup -- throttling
Aug 24 09:24:34 webserver postfix/smtpd[4300]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:24:35 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/smtpd pid 4300 exit status 1
Aug 24 09:24:35 webserver postfix/master[7171]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 24 09:24:48 webserver postfix/pickup[4316]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:24:49 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/pickup pid 4316 exit status 1
Aug 24 09:24:49 webserver postfix/master[7171]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
Aug 24 09:24:52 webserver postfix/nqmgr[4322]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:24:53 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/nqmgr pid 4322 exit status 1
Aug 24 09:24:53 webserver postfix/master[7171]: warning: /usr/libexec/postfix/nqmgr: bad command startup -- throttling
Aug 24 09:25:35 webserver postfix/smtpd[4373]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:25:36 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/smtpd pid 4373 exit status 1
Aug 24 09:25:36 webserver postfix/master[7171]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 24 09:25:49 webserver postfix/pickup[4392]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:25:50 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/pickup pid 4392 exit status 1
Aug 24 09:25:50 webserver postfix/master[7171]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
Aug 24 09:25:53 webserver postfix/nqmgr[4399]: fatal: match_list_parse: open file /etc/postfix/localdomains: No such file or directory
Aug 24 09:25:54 webserver postfix/master[7171]: warning: process /usr/libexec/postfix/nqmgr pid 4399 exit status 1
Aug 24 09:25:54 webserver postfix/master[7171]: warning: /usr/libexec/postfix/nqmgr: bad command startup -- throttling


Does anyone have any ideas of what the problem is?

Thanks in advance for your help

Wes
 
Old 08-24-2005, 10:58 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Post your config file and what is the contents of /var/spool/postfix or /var/spool/mail, wherever you might have postfix files needed to run properly? I believe it might be a problem with postfix running in a chroot mode and your missing files from the /var locations.
 
Old 08-24-2005, 11:18 AM   #3
wfernley
Member
 
Registered: Apr 2005
Posts: 65

Original Poster
Rep: Reputation: 15
/var/spool/mail
dan info links mysql ncrftp support wes wesftp wfernley

/var/spool/postfix
active bounce corrupt defer deferred etc flush hold incoming maildrop pid private public saved

and this is my main.cf file:

queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/libexec/postfix

mail_owner = postfix

default_privs = nobody

# myhostname
myhostname = mail.networkcamerareviews.com

# mydomain
mydomain = networkcamerareviews.com

myorigin = $mydomain

inet_interfaces = all

# virtual_alias_maps = dbm:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual

permit_mx_backup = yes

mydestination = $myhostname, $mydomain, localhost.$mydomain, /etc/postfix/localdomains
relay_domains = $mydestination, /etc/postfix/relaydomains

#unknown_local_recipient_reject_code = 550

unknown_local_recipient_reject_code = 450
mynetworks = 205.207.118.0/24

#relayhost = $mydomain
#relayhost = gateway.my.domain
#relayhost = uucphost
#relayhost = [an.ip.add.ress]

#relay_recipient_maps = hash:/etc/postfix/relay_recipients

alias_maps = hash:/etc/aliases
#alias_maps = hash:/etc/aliases
#alias_maps = hash:/etc/aliases, nis:mail.aliases
#alias_maps = netinfo:/aliases

alias_database = hash:/etc/aliases
#alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/aliases
# alias_database = hash:/etc/aliases
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases

# smtpd_client_restrictions = permit_mynetworks
# smtpd_helo_restrictions = reject_non_fqdn_hostname, reject_unknown_hostname, reject_invalid_hostname
# smtpd_sender_restrictions = permit_mynetworks, check_sender_access dbm:/etc/postfix/access
#smtpd_recipient_restrictions = permit_mynetworks, check_relay_domains

# debug_peer_level = 2
# debugger_command =
# PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
# xxgdb $daemon_directory/$process_name $process_id & sleep 5

# If you don't have X installed on the Postfix machine, try:
# debugger_command =
# PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
# echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
# >$config_directory/$process_name.$process_id.log & sleep 5

sendmail_path = /usr/lib/sendmail

newaliases_path = /usr/sbin/newaliases

# mailq_path: The full pathname of the Postfix mailq command. This
# is the Sendmail-compatible mail queue listing command.
#
mailq_path = /usr/sbin/mailq

setgid_group = postdrop

manpage_directory = /usr/local/man

sample_directory = /etc/postfix

readme_directory = /usr/local/doc
mailbox_size_limit = 25242880
message_size_limit = 25242880

# transport_maps = dbm:/etc/postfix/transport

# smtpd_banner = $myhostname ESMTP $mail_name
smtpd_history_flush_threshold = 100
smtpd_recipient_limit = 45
smtpd_timeout = 300s
#smtpd_error_sleep_time = 5
#smtpd_soft_error_limit = 10
#smtpd_hard_error_limit = 100
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
disable_vrfy_command = yes
local_recipient_maps =
maps_rbl_domains = relays.ordb.org, bl.spamcop.net

# removed 10/9/03 de list.dsbl.org, multihop.dsbl.org

#
# UCE RESTRICTIONS
#

unknown_address_reject_code = 554
unknown_hostname_reject_code = 554
unknown_client_reject_code = 554
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions =
reject_unknown_recipient_domain,
reject_unknown_sender_domain ,
reject_unauth_pipelining,
permit_mynetworks,
check_sender_access hash:/etc/postfix/access,
reject_unauth_destination,
reject_maps_rbl,
permit
 
Old 08-24-2005, 11:22 AM   #4
wfernley
Member
 
Registered: Apr 2005
Posts: 65

Original Poster
Rep: Reputation: 15
here is a more indepth look at /var/spool/postfix


[root@mail postfix]# ls -R
.:
active bounce corrupt defer deferred etc flush hold incoming maildrop pid private public saved

./active:

./bounce:

./corrupt:

./defer:

./deferred:

./flush:

./hold:

./incoming:

./maildrop:

./pid:
inet.smtp master.pid

./private:
bounce bsmtp cyrus defer error ifmail lmtp local maildrop old-cyrus proxymap relay rewrite smtp uucp virtual

./public:
cleanup flush pickup qmgr showq

./saved:
 
  


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
postfix problem Scarebyte Linux - Software 0 08-23-2005 02:41 AM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 10:12 PM
Postfix Problem bigdogg Linux - Software 5 10-23-2003 04:49 PM
postfix problem cccc Linux - Networking 0 10-10-2003 06:12 PM
Please Help Me ------ Postfix Problem joseph Linux - Networking 0 08-22-2003 11:57 PM

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

All times are GMT -5. The time now is 01:57 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