Current time: 05-21-2024, 06:10 PM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] Mail Service läuft nicht sauber
Author Message
Foggy Offline
Junior Member
*

Posts: 52
Joined: Feb 2009
Reputation: 0
Post: #1
[ERLEDIGT] Mail Service läuft nicht sauber
Tach die Herren und Damen

Ich hab mir ein CentOS 5.2 inkl. ispcp Omega schritt für schritt nach den Anleitungen
http://www.howtoforge.com/perfect-server-centos-5.2
und
http://www.isp-control.net/documentation...ion/centos installiert.

Leider zickt mein Maildeamon rum und lässt mich nicht anmelden.
Hier ein Auszug aus dem maillog:
Quote:Feb 25 14:14:35 web1 postfix/pickup[15933]: E3ABBD900D6: uid=2000 from=<webmaster@ispcp.uwd.ch>
Feb 25 13:14:35 web1 postfix/cleanup[16171]: E3ABBD900D6: message-id=<20090225131435.E3ABBD900D6@web1.uwd.ch>
Feb 25 14:14:36 web1 postfix/qmgr[2338]: E3ABBD900D6: from=<webmaster@ispcp.uwd.ch>, size=743, nrcpt=1 (queue active)
Feb 25 14:14:36 web1 postfix/smtp[16174]: fatal: unknown service: smtp/tcp
Feb 25 14:14:37 web1 postfix/qmgr[2338]: warning: premature end-of-input on private/smtp socket while reading input attribute name
Feb 25 14:14:37 web1 postfix/qmgr[2338]: warning: private/smtp socket: malformed response
Feb 25 14:14:37 web1 postfix/qmgr[2338]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Feb 25 14:14:37 web1 postfix/master[2334]: warning: process /usr/libexec/postfix/smtp pid 16174 exit status 1
Feb 25 14:14:37 web1 postfix/master[2334]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Feb 25 14:14:37 web1 postfix/qmgr[2338]: E3ABBD900D6: to=<info@uwd.ch>, relay=none, delay=1.4, delays=0.21/1.2/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 4BCBED900CA: from=<webmaster@ispcp.uwd.ch>, size=777, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 4BCBED900CA: to=<info@uwd.ch>, relay=none, delay=105478, delays=105478/0.13/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 83A25D900D5: from=<root@web1.uwd.ch>, size=368, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 83A25D900D5: to=<root@localhost>, relay=none, delay=7953, delays=7953/0.07/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 7DEA5D900AD: from=<webmaster@ispcp.uwd.ch>, size=888, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 7DEA5D900AD: to=<wsc@uwd.ch>, relay=none, delay=135877, delays=135877/0.05/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 72203D900AE: from=<webmaster@ispcp.uwd.ch>, size=741, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 72203D900AE: to=<info@uwd.ch>, relay=none, delay=135877, delays=135877/0.03/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 0BF03D900A9: from=<webmaster@ispcp.uwd.ch>, size=822, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 0BF03D900A9: to=<info@uwd.ch>, relay=none, delay=136030, delays=136030/0.04/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 04672D900B6: from=<webmaster@ispcp.uwd.ch>, size=749, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 04672D900B6: to=<info@uwd.ch>, relay=none, delay=135306, delays=135306/0.03/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 00967D900BA: from=<webmaster@ispcp.uwd.ch>, size=783, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 00967D900BA: to=<info@uwd.ch>, relay=none, delay=135094, delays=135094/0.03/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 0F3E2D900C5: from=<webmaster@ispcp.uwd.ch>, size=763, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 0F3E2D900C5: to=<info@uwd.ch>, relay=none, delay=133063, delays=133063/0.04/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 0EF33D900BC: from=<webmaster@ispcp.uwd.ch>, size=776, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 0EF33D900BC: to=<info@uwd.ch>, relay=none, delay=135038, delays=135038/0.05/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 6C4BDD900B4: from=<webmaster@ispcp.uwd.ch>, size=751, nrcpt=1 (queue active)
Feb 25 14:14:52 web1 postfix/qmgr[2338]: 6C4BDD900B4: to=<info@uwd.ch>, relay=none, delay=135431, delays=135431/0.04/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb 25 14:15:01 web1 dovecot: imap-login: Aborted login: user=<info@darlux-bever.ch>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured

Für Tips bin ich dankbar.

Gruss Foggy
(This post was last modified: 02-26-2009 01:34 AM by BeNe.)
02-25-2009 11:21 PM
Find all posts by this user
tango Offline
Member
***

Posts: 461
Joined: Jun 2007
Reputation: 0
Post: #2
RE: Mail Service läuft nicht sauber
Hallo Foggy, willkommen zu ISPCP

lies hier das mal durch

http://www.isp-control.net/documentation...l_problems
(This post was last modified: 02-25-2009 11:26 PM by tango.)
02-25-2009 11:25 PM
Find all posts by this user
Foggy Offline
Junior Member
*

Posts: 52
Joined: Feb 2009
Reputation: 0
Post: #3
RE: Mail Service läuft nicht sauber
Danke schonmal für den Tip.
Einzige Abweichung:
Quote:Prompt$> grep -v "^#" /etc/postfix/master.cf | grep "smtpd$"
smtp inet n - y - - smtpd
Mein Postfix scheint nicht im Chroot zu laufen...

Kannst du mir sagen wo ich unter CentOS die mail.err Datei finde? Tu mich da ein bisschen schwer die zu finden, hoffe aber auf wertvolle Tips darin...

BTW: das Problem hat meiner Meinung auch ncihts mit falschen DNS Einstellungen zu tun. Ich kann mich halt noch nicht mal anmelden, weder im Webmail noch in einem Mail Client ala Outlook

Und ja ich verwende selbstverständlich die volle E-Mail Adresse als Login Namen Wink

Danke und Gruss
(This post was last modified: 02-25-2009 11:49 PM by Foggy.)
02-25-2009 11:48 PM
Find all posts by this user
tango Offline
Member
***

Posts: 461
Joined: Jun 2007
Reputation: 0
Post: #4
RE: Mail Service läuft nicht sauber
musste unter /var/log befinden
02-26-2009 12:00 AM
Find all posts by this user
Foggy Offline
Junior Member
*

Posts: 52
Joined: Feb 2009
Reputation: 0
Post: #5
RE: Mail Service läuft nicht sauber
Quote:musste unter /var/log befinden
Da hab ich natürlich gesucht Wink
Kann es sein das ich das erst aktivieren muss? Und wenn ja, kannst du mir sagen wo?
02-26-2009 12:06 AM
Find all posts by this user
tango Offline
Member
***

Posts: 461
Joined: Jun 2007
Reputation: 0
Post: #6
RE: Mail Service läuft nicht sauber
nein eigendlich nicht.

Eine blöde frage, Ist den Postfix installiert ??
02-26-2009 12:11 AM
Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: Mail Service läuft nicht sauber
Soweit ich das noch weis loggt Centos alles in die /var/log/maillog oder ?

Greez BeNe
02-26-2009 12:13 AM
Visit this user's website Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #8
RE: Mail Service läuft nicht sauber
mail.err ist nur eine andere einstellung in syslog... Unter CentOs wird das nicht aufgeteilt, sondern es wird alles in die /var/log/maillog geloggt.

Dein hauptproblem ist:
Feb 25 14:14:36 web1 postfix/smtp[16174]: fatal: unknown service: smtp/tcp

und dein postfix läuft im chroot:
Prompt$> grep -v "^#" /etc/postfix/master.cf | grep "smtpd$"
smtp inet n - y - - smtpd

From the wiki:
Quote:According to “man 5 master” the fifth column defines if service is chrooted or not. On most distros a “y” or a ”-” in the fifth column means the service is chrooted.

Entweder kopierst du jetzt deine /etc/services in das chroot oder du stellst die linie in der master.cf auf:
smtp inet n - n - - smtpd


ich würde dir das letztere empfehlen... Wenn dann alles läuft kannst du dich um dein chroot kümmern...
02-26-2009 12:15 AM
Visit this user's website Find all posts by this user
Foggy Offline
Junior Member
*

Posts: 52
Joined: Feb 2009
Reputation: 0
Post: #9
RE: Mail Service läuft nicht sauber
Meine Güte bei euch geht was Smile

Quote:Eine blöde frage, Ist den Postfix installiert ??
Definitiv Smile
Hier übrigens mal die /etc/postfix/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                   = web1.uwd.ch
mydomain                     = web1.uwd.ch.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          = 500
virtual_uid_maps             = static:500
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/ssl/cacert.pem
#smtpd_tls_key_file          = /etc/postfix/ssl/cakey.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

Wenn die Logs alle in maillog sind, dann ergibt das Sinn das ich keine mail.err finde Smile

Quote:und dein postfix läuft im chroot:
Prompt$> grep -v "^#" /etc/postfix/master.cf | grep "smtpd$"
smtp inet n - y - - smtpd
Da hab ich mich etwas unverständlich ausgedrückt, ich kriege als 5 Parameter ein n in der Ausgabe. Hab nur den Wiki Part kopiert damit ihr sehen könnt wovon ich genau spreche...
Also, ich bin mir sicher er läuft nich im Chroot, meine Ausgabe ist folgende:
Code:
smtp      inet  n       -       -       -       -       smtpd
587       inet  n       -       -       -       -       smtpd
localhost:10025 inet  n -       n       -      -        smtpd
smtps     inet  n       -       -       -       -       smtpd

Quote:Entweder kopierst du jetzt deine /etc/services in das chroot oder du stellst die linie in der master.cf auf:
smtp inet n - n - - smtpd


ich würde dir das letztere empfehlen... Wenn dann alles läuft kannst du dich um dein chroot kümmern...
Anhand der Verwechslungen meinerseits bin ich jetzt etwas überfragt was ich anpassen soll...
02-26-2009 12:22 AM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #10
RE: Mail Service läuft nicht sauber
schau mal ob der smtp service in deiner /etc/services eingetragen ist...
oder ersetze smtp durch 25 in deiner master.cf (zu testzwecken natürlich)

ich habe alle mailserver hier unter centos am laufen (ohne ispcp) und nie ein ähnliches Problem festgestellt. Was hast du an deiner Installation verändert?
(This post was last modified: 02-26-2009 12:29 AM by rbtux.)
02-26-2009 12:27 AM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


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