Current time: 05-05-2024, 11:16 PM Hello There, Guest! (LoginRegister)


Post Reply 
Error adding new email account
Author Message
lominomagico Offline
Newbie
*

Posts: 6
Joined: Oct 2009
Reputation: 0
Post: #1
Exclamation Error adding new email account
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 !
(This post was last modified: 11-04-2009 03:10 AM by lominomagico.)
11-04-2009 03:10 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Error adding new email account
Aha. And what will you say with this?? We need more info's or we can't help Wink
11-04-2009 04:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
lominomagico Offline
Newbie
*

Posts: 6
Joined: Oct 2009
Reputation: 0
Post: #3
RE: Error adding new email account
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'
11-04-2009 05:13 AM
Find all posts by this user Quote this message in a reply
blocker Offline
Junior Member
*

Posts: 123
Joined: Apr 2007
Reputation: 2
Post: #4
RE: Error adding new email account
for the helo command rejected, make sure your hostname is correct
(This post was last modified: 11-04-2009 02:39 PM by blocker.)
11-04-2009 01:53 PM
Find all posts by this user Quote this message in a reply
lominomagico Offline
Newbie
*

Posts: 6
Joined: Oct 2009
Reputation: 0
Post: #5
RE: Error adding new email account
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]
11-04-2009 06:19 PM
Find all posts by this user Quote this message in a reply
lominomagico Offline
Newbie
*

Posts: 6
Joined: Oct 2009
Reputation: 0
Post: #6
RE: Error adding new email account
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]
11-06-2009 06:34 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)