Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th June 2009, 02:40
jeaoslab jeaoslab is offline
Junior Member
 
Join Date: Nov 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix smtpd error in postix server

I install sipconfig an configure postfix whith relay-host mailserver and i obtain this error
can any helpme

this is may mail.log

Jun 9 19:31:35 server1 master[19128]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:31:36 server1 postfix/master[18784]: warning: process /usr/lib/postfix/smptd pid 19128 exit status 1
Jun 9 19:31:36 server1 postfix/master[18784]: warning: /usr/lib/postfix/smptd: bad command startup -- throttling
Jun 9 19:31:53 server1 postfix/smtp[19047]: 1D39810F0A93: to=<web5_admin@server1.jeaoslab.com.mx>, orig_to=<admin@cimesc.com>, relay=server1.jeaoslab.com.mx[201.137.174.252]:587, delay=2236, delays=1936/0.06/300/0, dsn=4.4.2, status=deferred (conversation with server1.jeaoslab.com.mx[201.137.174.252] timed out while receiving the initial server greeting)
Jun 9 19:32:36 server1 master[19143]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:32:37 server1 postfix/master[18784]: warning: process /usr/lib/postfix/smptd pid 19143 exit status 1
Jun 9 19:32:37 server1 postfix/master[18784]: warning: /usr/lib/postfix/smptd: bad command startup -- throttling
Jun 9 19:33:37 server1 master[19157]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:33:38 server1 postfix/master[18784]: warning: process /usr/lib/postfix/smptd pid 19157 exit status 1
Jun 9 19:33:38 server1 postfix/master[18784]: warning: /usr/lib/postfix/smptd: bad command startup -- throttling
Jun 9 19:34:38 server1 master[19170]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:34:39 server1 postfix/master[18784]: warning: process /usr/lib/postfix/smptd pid 19170 exit status 1
Jun 9 19:34:39 server1 postfix/master[18784]: warning: /usr/lib/postfix/smptd: bad command startup -- throttling

this is may mail.err
Jun 9 19:27:31 server1 master[19056]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:28:32 server1 master[19076]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:29:33 server1 master[19090]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:30:01 server1 postfix/smtpd[19100]: fatal: non-null host address bits in "192.168.1.0/8", perhaps you should use "192.0.0.0/8" instead
Jun 9 19:30:34 server1 master[19113]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:31:35 server1 master[19128]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:32:36 server1 master[19143]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:33:37 server1 master[19157]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:34:38 server1 master[19170]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory
Jun 9 19:35:39 server1 master[19190]: fatal: master_spawn: exec /usr/lib/postfix/smptd: No such file or directory

this is netstat -tap

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdom:2208 *:* LISTEN 2409/hpiod
tcp 0 0 *:mysql *:* LISTEN 2497/mysqld
tcp 0 0 192.168.1.70:submission *:* LISTEN 18784/master
tcp 0 0 *:sunrpc *:* LISTEN 2128/portmap
tcp 0 0 *:81 *:* LISTEN 24605/ispconfig_htt
tcp 0 0 *:auth *:* LISTEN 2778/inetd
tcp 0 0 *:ftp *:* LISTEN 28565/proftpd: (acc
tcp 0 0 192.168.1.70:domain *:* LISTEN 29831/named
tcp 0 0 localhost.locald:domain *:* LISTEN 29831/named
tcp 0 0 localhost.localdoma:ipp *:* LISTEN 2683/cupsd
tcp 0 0 *:smtp *:* LISTEN 18784/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 29831/named
tcp 0 0 *:57145 *:* LISTEN 2940/rpc.statd
tcp 0 0 localhost.localdo:53022 *:* LISTEN 2412/python
tcp 1 0 192.168.1.70:submission dsl-201-137-174-2:46294 CLOSE_WAIT -
tcp 1 0 192.168.1.70:submission dsl-201-137-174-2:49137 CLOSE_WAIT -
tcp6 0 0 *:imaps *:* LISTEN 2645/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 2664/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 2650/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 2624/couriertcpd
tcp6 0 0 *:www *:* LISTEN 17626/apache2
tcp6 0 0 *:ssh *:* LISTEN 2873/sshd
tcp6 0 0 *:smtp *:* LISTEN 18784/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 29831/named
tcp6 0 0 *:https *:* LISTEN 17626/apache2
tcp6 0 0 ::ffff:192.168.1.70:ssh ::ffff:192.168.1.:46262 ESTABLISHED18056/sshd: lucas [
tcp6 0 0 ::ffff:192.168.1.70:ssh ::ffff:192.168.1.:46263 ESTABLISHED18086/sshd: lucas [
tcp6 0 0 ::ffff:192.168.1.70:ssh ::ffff:192.168.1.:60206 ESTABLISHED19063/2

this is my uname -a
Linux server1.jeaoslab.com.mx 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 GNU/Linux

I USE THIS GUIDE TO INSTALL
http://www.howtoforge.com/perfect_setup_debian_etch
AND MY MAILS CAN SEND BUT CANT RECIVE ANY MAIL FOR ANY DOMAINS IN MAY HOSTING
Reply With Quote
Sponsored Links
  #2  
Old 10th June 2009, 08:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Please post the content of the master.cf file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th June 2009, 15:01
jeaoslab jeaoslab is offline
Junior Member
 
Join Date: Nov 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default consfiguration

this is main.cf
Quote:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = server1.jeaoslab.com.mx
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = server1.jeaoslab.com.mx, localhost.jeaoslab.com.mx, , localhost.localdomain, localhost
relayhost = [smtp.gmail.com]:587
mynetworks = 192.168.1.0/16
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd
smtp_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/postfix-config/transport
this is master.cf
Quote:
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
192.168.1.70:587 inet n - n - - smptd
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
thanks for response
Reply With Quote
  #4  
Old 10th June 2009, 16:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

You have a typo in your master.cf file. The line:

Code:
192.168.1.70:587 inet n - n - - smptd
has to be

Code:
192.168.1.70:587 inet n - n - - smtpd
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 11th June 2009, 01:53
jeaoslab jeaoslab is offline
Junior Member
 
Join Date: Nov 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default its wll

i do taht do you tell me but i cant resive mail for other mail servers

I chech the mail. log, mail.err, syslog , mail.info
and dont have problem but cant recive mail
this is te postqueue result

Quote:
server1:/var/log# postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
478F510F0A8E 630 Wed Jun 10 18:30:01 root@server1.jeaoslab.com.mx
(connect to server1.jeaoslab.com.mx[xxx.xxx.xxx.xxx]: Connection timed out)
user@server1.domain.com

-- 0 Kbytes in 1 Request.
but the ip apears in this queue ist incorrect what can i do
Reply With Quote
  #6  
Old 11th June 2009, 09:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Make sure that the IP in /etc/hosts for server1.jeaoslab.com.mx exists and that it is correct.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
error postfix, host-relay, postfix

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
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 22:08
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 05:39
My postfix server is beeing used to send large ammounts of spam. bob808 Server Operation 2 27th April 2009 12:37
i dont recive any mail of any domain chua_jose Installation/Configuration 18 10th November 2008 18:55
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34


All times are GMT +2. The time now is 13:04.


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