/var/log/maillog is empty, which is strange. The distro is freshly installed with ispCP panel only!
main.cf
Code:
#
# ispCP П‰ (OMEGA) a Virtual Hosting Control System
#
# @copyright 2001-2006 by moleSoftware GmbH
# @copyright 2006-2008 by ispCP | http://isp-control.net
# @version SVN: $Id$
# @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 = hosting-zone.eu
mydomain = hosting-zone.eu.local
myorigin = $myhostname
smtpd_banner = $myhostname ESMTP ispCP 1.0.0 RC7 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
Email from gmail daemon:
Code:
This is an automatically generated Delivery Status Notification
Delivery to the following recipient failed permanently:
ceco91@hosting-zone.eu
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 5.1.1 <ceco91@hosting-zone.eu>: Recipient address rejected: User unknown in local recipient table (state 14).
----- Original message -----
MIME-Version: 1.0
Received: by 10.90.94.2 with SMTP id r2mr498481agb.62.1233264717188; Thu, 29
Jan 2009 13:31:57 -0800 (PST)
Date: Thu, 29 Jan 2009 23:31:57 +0200
Message-ID: <62193a570901291331x6a8af7aco336003126a310b2b@mail.gmail.com>
Subject: asd
From: =?windows-1251?B?1uLl8u7s6PAgw+7x7+7k6O3u4g==?= <ceco91@gmail.com>
To: ceco91@hosting-zone.eu
Content-Type: multipart/alternative; boundary=00163630f5f961d04a0461a5d188
--00163630f5f961d04a0461a5d188
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
asdada
--00163630f5f961d04a0461a5d188
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
----- Message truncated -----
/var/log/maillog is empty.
PS -> ceco91@hosting-zone.eu exists!
I use CentOS 5.2.
Sorry that I posted 2 consecutive messages. But I fix sending message by executing this:
Code:
postfix stop
mkdir /var/spool/postfix/etc
grep smtp /etc/services > /var/spool/postfix/etc/services
cat /var/spool/postfix/etc/services
smtp 25/tcp mail
/etc/postfix/post-install upgrade-permissions upgrade-configuration create-missing
postfix start
postfix check
postfix flush