Hi all,
i have installed ispcp on CentOS 5.4. All works fine, but when i try to send an e-mail:
echo "lol" | mail <mail@host.de>
/var/log/maillog
Code:
postfix/pickup[2858]: DB105568274: uid=0 from=<root>
postfix/cleanup[7128]: DB105568274: message-id=<20091222161211.DB105568274@XXXXXXXXX.de>
postfix/qmgr[2864]: DB105568274: from=<root@XXXXXXXXXX.de>, size=281, nrcpt=1 (queue active)
postfix/smtp[7130]: fatal: unknown service: smtp/tcp
postfix/qmgr[2864]: warning: premature end-of-input on private/smtp socket while reading input attribute name
postfix/qmgr[2864]: warning: private/smtp socket: malformed response
postfix/qmgr[2864]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
postfix/master[2853]: warning: process /usr/libexec/postfix/smtp pid 7130 exit status 1
postfix/master[2853]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
postfix/qmgr[2864]: DB105568274: to=<mail@host.de>, relay=none, delay=1, delays=0.02/1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
If i try to send an e-mail via the apache with an php script i get the same error.
My main.cf in /etc/postfix (is default from a fresh ispcp installation):
Quote:#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright 2001-2006 by moleSoftware GmbH
# @copyright 2006-2009 by ispCP | http://isp-control.net
# @version SVN: $Id: main.cf 1574 2009-03-05 05:57:05Z benedikt $
# @link http://isp-control.net
# @author ispCP Team
#
# @license
# This program is free software; you can redistribute it and/or modify it under
# the terms of the MPL General Public License as published by the Free Software
# Foundation; either version 1.1 of the License, or (at your option) any later
# version.
# You should have received a copy of the MPL Mozilla Public License along with
# this program; if not, write to the Open Source Initiative (OSI)
# http://opensource.org | osi@opensource.org
#
################################################################################
# Postfix directory settings; These are critical for normal Postfix MTA functionallity
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
# Some common configuration parameters
inet_interfaces = all
mynetworks_style = host
myhostname = XXXXXX.de
mydomain = XXXXXXX.de.local
myorigin = $myhostname
smtpd_banner = $myhostname ESMTP ispCP 1.0.3 OMEGA Managed
setgid_group = postdrop
# Receiving messages parameters
mydestination = $myhostname, $mydomain
append_dot_mydomain = no
append_at_myorigin = yes
local_transport = local
virtual_transport = virtual
transport_maps = hash:/etc/postfix/ispcp/transport
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
# Delivering local messages parameters
mail_spool_directory = /var/mail
# Mailboxquota
# => 0 for unlimited
# => 104857600 for 100 MB
mailbox_size_limit = 0
mailbox_command = procmail -a "$EXTENSION"
# Message size limit
# => 0 for unlimited
# => 104857600 for 100 MB
message_size_limit = 0
biff = no
recipient_delimiter = +
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
# ispCP Autoresponder parameters
ispcp-arpl_destination_recipient_limit = 1
# Delivering virtual messages parameters
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_limit = 0
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_minimum_uid = 3001
virtual_uid_maps = static:3001
virtual_gid_maps = static:12
# SASL paramters
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname
smtpd_sender_restrictions = reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit_mynetworks,
permit_sasl_authenticated
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unlisted_recipient,
check_policy_service inet:127.0.0.1:12525,
check_policy_service inet:127.0.0.1:60000,
permit
smtpd_data_restrictions = reject_multi_recipient_bounce,
reject_unauth_pipelining
# TLS parameters; activate, if avaible/used
#smtpd_use_tls = yes
#smtpd_tls_loglevel = 2
#smtpd_tls_cert_file = /etc/postfix/cert.pem
#smtpd_tls_key_file = /etc/postfix/privkey.pem
#smtpd_tls_auth_only = no
#smtpd_tls_received_header = yes
# AMaViS parameters; activate, if available/used
#content_filter = amavis:[127.0.0.1]:10024
# Quota support; activate, if available/used
#virtual_create_maildirsize = yes
#virtual_mailbox_extended = yes
#virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
#virtual_mailbox_limit_override = yes
#virtual_maildir_limit_message = "The user you're trying to reach is over mailbox quota."
#virtual_overquota_bounce = yes
Thanks for any help!
Greetz, Feldi