Current time: 11-23-2024, 08:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
can't send/recieve mail (excluding localhost)
Author Message
D57452 Offline
Junior Member
*

Posts: 36
Joined: Oct 2007
Reputation: 0
Post: #1
can't send/recieve mail (excluding localhost)
can give me some tips to solve it?

error
Code:
Dec  2 16:42:09 www postfix/postfix-script[14346]: stopping the Postfix mail system
Dec  2 16:42:09 www postfix/master[13730]: terminating on signal 15
Dec  2 16:42:09 www postfix/postfix-script[14416]: starting the Postfix mail system
Dec  2 16:42:09 www postfix/master[14417]: daemon started -- version 2.4.5, configuration /etc/postfix
Dec  2 16:42:09 www postfix/qmgr[14425]: A129E48A42: from=<nobody@www.comicpa.com>, size=859, nrcpt=1 (queue active)
Dec  2 16:42:09 www postfix/smtp[14427]: fatal: unknown service: smtp/tcp
Dec  2 08:42:10 www postfix/qmgr[14425]: warning: private/smtp socket: malformed response
Dec  2 16:42:10 www postfix/master[14417]: warning: process /usr/lib/postfix/smtp pid 14427 exit status 1
Dec  2 16:42:10 www postfix/master[14417]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Dec  2 08:42:10 www postfix/qmgr[14425]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Dec  2 08:42:10 www postfix/qmgr[14425]: warning: connect to transport retry: No such file or directory
Dec  2 08:42:10 www postfix/qmgr[14425]: A129E48A42: to=<cvwishes@hellokitty.com>, relay=none, delay=708, delays=707/1.1/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Dec  2 16:42:46 www postfix/smtpd[14458]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Dec  2 08:42:46 www postfix/smtpd[14458]: fatal: no SASL authentication mechanisms
Dec  2 16:42:47 www postfix/master[14417]: warning: process /usr/lib/postfix/smtpd pid 14458 exit status 1
Dec  2 16:42:47 www postfix/master[14417]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

main.cf
Code:
#
# Postfix MTA Manager Main Configuration File;
#
# Please do NOT edit this file manually;
#

#
# Postfix directory settings; These are critical for normal Postfix MTA functionallity;
#

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
relayhost = smtpo.ctimail.com
#
# Some common configuration parameters;
#

inet_interfaces = all
mynetworks_style = host

myhostname = www.comicpa.com
mydomain = www.comicpa.com
myorigin = $mydomain

smtpd_banner = $myhostname ispCP 1.0 Priamos Managed ESMTP 1.0.0 RC3 OMEGA
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

#
# 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"

biff = no

alias_database                    = hash:/etc/mail/aliases

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     = 1000
virtual_uid_maps        = static:1000
virtual_gid_maps        = static:12

#
# SASL paramters;
#

smtpd_sasl_auth_enable       = yes
smtpd_sasl2_auth_enable      = yes
smtpd_sasl_security_options  = noanonymous, noplaintext
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,
                               permit_mynetworks,
                               reject_unknown_sender_domain,
                               permit_sasl_authenticated

smtpd_recipient_restrictions = reject_non_fqdn_recipient,
                               reject_unknown_recipient_domain,
                               permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_unauth_destination,
                               check_policy_service inet:127.0.0.1:12525,
                               check_policy_service inet:127.0.0.1:10030

smtpd_data_restrictions      = reject_unauth_pipelining

#
# TLS parameters; activate, if avaible/used
#

#smtpd_tls_loglevel        = 2
#smtpd_tls_cert_file       = /etc/postfix/cert.pem
#smtpd_tls_key_file        = /etc/postfix/privkey.pem
#smtpd_use_tls             = yes
#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
12-03-2007 02:45 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: can't send/recieve mail (excluding localhost)
is it possible that smtp is missing in /etc/services?
(This post was last modified: 12-03-2007 03:14 AM by rbtux.)
12-03-2007 03:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #3
RE: can't send/recieve mail (excluding localhost)
just had another idea ;-)
It could be possible that the file for chroot and the normal /etc/services differ...
12-03-2007 03:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: can't send/recieve mail (excluding localhost)
rbtux Wrote:just had another idea ;-)
It could be possible that the file for chroot and the normal /etc/services differ...

or the file is missing there

in debian etch:

/var/spool/postfix/etc/services

/J
12-03-2007 04:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #5
RE: can't send/recieve mail (excluding localhost)
joximu Wrote:or the file is missing there

well thats kind of a difference too Wink
12-03-2007 04:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: can't send/recieve mail (excluding localhost)
a 100% difference :-)

the permissions may also be a difference...
12-03-2007 04:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
D57452 Offline
Junior Member
*

Posts: 36
Joined: Oct 2007
Reputation: 0
Post: #7
RE: can't send/recieve mail (excluding localhost)
it's alright now after i edit the postfix conf
virtual_mailbox_base = /var/spool/mail/virtual
12-09-2007 12:20 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: can't send/recieve mail (excluding localhost)
Well - in most distros /var/spool/mail is the same as /var/mail. In some it's a symlink from the first to the second (debian etch) in others its vice versa (eg. suse 10.0)...

/J
12-09-2007 10:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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