ispCP - Board - Support
Error adding new email account - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Error adding new email account (/thread-8319.html)



Error adding new email account - lominomagico - 11-04-2009 03:10 AM

sys_command() | ERROR: External command '/bin/echo "XXX" | /usr/local/sbin/saslpasswd2 -p -c -f /usr/local/etc/sasldb2 -u lominomagico.undo.it info' returned '127' status !


RE: Error adding new email account - gOOvER - 11-04-2009 04:08 AM

Aha. And what will you say with this?? We need more info's or we can't help Wink


RE: Error adding new email account - lominomagico - 11-04-2009 05:13 AM

someone have to change the freebsd howto.... i have reinstalled postfix with sasl2 option and now it work fine Big Grin ... but when i send a message the server answer with:


504 5.5.2 <Elite>: Helo command rejected: need fully-qualified hostname
Server: 'mail.lominomagico.undo.it'


RE: Error adding new email account - blocker - 11-04-2009 01:53 PM

for the helo command rejected, make sure your hostname is correct


RE: Error adding new email account - lominomagico - 11-04-2009 06:19 PM

Quote:> hostname -f
server-84-33-192-44.static.serverclienti.com
> hostname
server-84-33-192-44.static.serverclienti.com

main.cf:
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/local/sbin
daemon_directory = /usr/local/libexec/postfix

# Some common configuration parameters
inet_interfaces = all
mynetworks_style = host

myhostname = server-84-33-192-44.static.serverclienti.com
mydomain = serverclienti.com
myorigin = $myhostname

smtpd_banner = $myhostname ESMTP ispCP 1.0.3 OMEGA Managed
setgid_group = maildrop

# Receiving messages parameters
mydestination = $myhostname, $mydomain
append_dot_mydomain = no
append_at_myorigin = yes
local_transport = local
virtual_transport = virtual
transport_maps = hash:/usr/local/etc/postfix/ispcp/transport
alias_maps = hash:/usr/local/etc/postfix/aliases
alias_database = hash:/usr/local/etc/postfix/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:/usr/local/etc/postfix/ispcp/domains
virtual_mailbox_maps = hash:/usr/local/etc/postfix/ispcp/mailboxes

virtual_alias_maps = hash:/usr/local/etc/postfix/ispcp/aliases

virtual_minimum_uid = 1006
virtual_uid_maps = static:1006
virtual_gid_maps = static:125

# SASL paramters
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 = /usr/local/etc/postfix/cert.pem
#smtpd_tls_key_file = /usr/local/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
readme_directory = /usr/local/share/doc/postfix
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
html_directory = /usr/local/share/doc/postfix
manpage_directory = /usr/local/man
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix
data_directory = /var/db/postfix
[quote]


RE: Error adding new email account - lominomagico - 11-06-2009 06:34 PM

after a lot of work....smtpd ask login but....
Nov 6 09:39:02 server-84-33-192-44 postfix/smtpd[46037]: connect from unknown[151.60.173.244]
Nov 6 09:39:03 server-84-33-192-44 postfix/smtpd[46037]: warning: SASL authentication failure: Could not open db
Nov 6 09:39:03 server-84-33-192-44 postfix/smtpd[46037]: warning: SASL authentication failure: Could not open db
Nov 6 09:39:03 server-84-33-192-44 postfix/smtpd[46037]: warning: unknown[151.60.173.244]: SASL LOGIN authentication failed: authentication failure
Nov 6 09:39:03 server-84-33-192-44 postfix/smtpd[46037]: lost connection after AUTH from unknown[151.60.173.244]
Nov 6 09:39:03 server-84-33-192-44 postfix/smtpd[46037]: disconnect from unknown[151.60.173.244]