ispCP - Board - Support
debug fehler! - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: debug fehler! (/thread-6004.html)

Pages: 1 2


debug fehler! - itteko - 03-10-2009 09:29 PM

Hi.

Da ispcp keine emails zustellt, habe ich den debug modus eingeschaltet und folgendes rausbekommen. Kann damit jemand etwas anfangen?

sv1:~# /var/www/ispcp/engine/ispcp-rqst-mngr
DEBUG: push_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('`which touch` /var/run/ispcp.lock'), msg: Ending...
DEBUG: push_el() sub_name: lock_system(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_start_up(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: Ending...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: unlock_system(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('`which rm` -rf /var/run/ispcp.lock'), msg: Ending...
DEBUG: push_el() sub_name: unlock_system(), msg: Ending...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Ending...
sv1:~#

Vielen Dank schonmal im vorraus für eure Hilfe!!!


RE: debug fehler! - BeNe - 03-10-2009 09:34 PM

Quote:Da ispcp keine emails zustellt
Dann würde ich erstmal nach dem MailService (Postfix) schauen.

Das schon gemacht ?
--> http://www.isp-control.net/documentation/debugging_e-mail_problems

Greez BeNe


RE: debug fehler! - itteko - 03-10-2009 10:04 PM

Alle test waren wie erwartet erfolgreich, bis auf dieser:

sv1:~# grep -v "^#" /etc/postfix/master.cf | grep "smtpd$"
smtp inet n - - - - smtpd
sv1:~#


gehört da nicht in die mitte ein "Y"?


RE: debug fehler! - ZooL - 03-11-2009 12:25 AM

(03-10-2009 10:04 PM)itteko Wrote:  Alle test waren wie erwartet erfolgreich, bis auf dieser:

sv1:~# grep -v "^#" /etc/postfix/master.cf | grep "smtpd$"
smtp inet n - - - - smtpd
sv1:~#


gehört da nicht in die mitte ein "Y"?

paste doch mal bitte einige zeilen aus dem mail.log /var/log ... das wäre interessant..


RE: debug fehler! - rbtux - 03-11-2009 12:32 AM

(03-10-2009 10:04 PM)itteko Wrote:  Alle test waren wie erwartet erfolgreich, bis auf dieser:

sv1:~# grep -v "^#" /etc/postfix/master.cf | grep "smtpd$"
smtp inet n - - - - smtpd
sv1:~#


gehört da nicht in die mitte ein "Y"?

- und y ist das gleiche unter debian...

http://www.isp-control.net/documentation/debugging_e-mail_problems Wrote: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

Und was ist damit? ohne infos keine hilfe...
http://www.isp-control.net/documentation/debugging_e-mail_problems Wrote:Further assistance

If the above checklist and your inquiry in the forums does not lead to the resolution of your problem, you can ask for help in the forum:
Such a request has to include at minimum the following informations:

* IspCP Release (if trunk, svn co date or revision number)
* Realserver / Vserver
* Behind natted firewall / direct routed
* Distribution / OS used
* Output of postconf -n
* Output of grep -v “^#” /etc/postfix/master.cf
* Complete log of an smtp session that leads to the problem (not the whole maillog / mail.info)
* Mailclient / Webmailproduct you use

Detailed description of the problem!!!
We won't answer threads which say “I can't send mails, please help, its urgent”



RE: debug fehler! - itteko - 03-11-2009 07:49 AM

ispCP 1.0.0 RC7 OMEGA
build: 20081212
Priamos

Der server ist ein root server. ist angemietet bei hetzner. debian software drauf und halt ispcp.


Postconf:

sv1:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = sv1.itteko.de, localhost.itteko.de, , localhost
myhostname = sv1.itteko.de
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
sv1:~#

Master.cf:

sv1:~# grep -v .^#. /etc/postfix/master.cf
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - y - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

sv1:~#


RE: debug fehler! - itteko - 03-11-2009 09:29 PM

keine mehr ne idee, woran es liegen könnte?


RE: debug fehler! - rbtux - 03-11-2009 10:55 PM

poste doch endlich die verdammten logs!!!


RE: debug fehler! - BeNe - 03-11-2009 11:07 PM

--> * Complete log of an smtp session that leads to the problem (not the whole maillog / mail.info)

/var/log/mail.log
/var/log/mail.info

Greez BeNe


RE: debug fehler! - itteko - 03-12-2009 04:28 AM

Mail.info:

Mar 11 19:12:04 sv1 postfix/anvil[14535]: statistics: max connection rate 1/60s for (smtp:217.80.245.26) at Mar 11 19:07:52
Mar 11 19:12:04 sv1 postfix/anvil[14535]: statistics: max connection count 1 for (smtp:217.80.245.26) at Mar 11 19:07:52
Mar 11 19:12:04 sv1 postfix/anvil[14535]: statistics: max cache size 1 at Mar 11 19:07:52
Mar 11 19:19:22 sv1 postfix/qmgr[4438]: 7D1491E54476: from=<webmaster@0002.de>, size=1600, nrcpt=1 (queue active)
Mar 11 19:19:23 sv1 postfix/smtpd[14586]: warning: 219.157.127.237: hostname hn.kd.ny.adsl verification failed: Name or service not known
Mar 11 19:19:23 sv1 postfix/smtpd[14586]: connect from unknown[219.157.127.237]
Mar 11 19:19:25 sv1 postfix/smtpd[14586]: NOQUEUE: reject: RCPT from unknown[219.157.127.237]: 554 5.7.1 <kontakt@blueschi.de>: Relay access denied; from=<Reichenacher_badyv@lycosmail.co.uk> to=<kontakt@blueschi.de> proto=SMTP helo=<lycosmail.co.uk>
Mar 11 19:19:26 sv1 postfix/smtpd[14586]: lost connection after RCPT from unknown[219.157.127.237]
Mar 11 19:19:26 sv1 postfix/smtpd[14586]: disconnect from unknown[219.157.127.237]
Mar 11 19:19:29 sv1 postfix/smtp[14585]: 7D1491E54476: to=<dennis@partyzone-waf.de>, relay=mail.partyzone-waf.de[62.67.244.57]:25, delay=131239, delays=131232/0.02/6.6/0.09, dsn=4.0.0, status=deferred (host mail.partyzone-waf.de[62.67.244.57] said: 421 Refused. The domain of your sender address has no mail exchanger (MX). (in reply to RCPT TO command))
Mar 11 19:20:01 sv1 postfix/pickup[14575]: 68CF91E54480: uid=109 from=<smmsp>
Mar 11 19:20:01 sv1 postfix/cleanup[14611]: 68CF91E54480: message-id=<20090311182001.68CF91E54480@sv1.itteko.de>
Mar 11 19:20:01 sv1 postfix/qmgr[4438]: 68CF91E54480: from=<smmsp@sv1.itteko.de>, size=675, nrcpt=1 (queue active)
Mar 11 19:20:01 sv1 postfix/local[14612]: 68CF91E54480: to=<root@sv1.itteko.de>, orig_to=<root>, relay=local, delay=0.06, delays=0.03/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Mar 11 19:20:01 sv1 postfix/qmgr[4438]: 68CF91E54480: removed
Mar 11 19:22:46 sv1 postfix/anvil[14588]: statistics: max connection rate 1/60s for (smtp:219.157.127.237) at Mar 11 19:19:23
Mar 11 19:22:46 sv1 postfix/anvil[14588]: statistics: max connection count 1 for (smtp:219.157.127.237) at Mar 11 19:19:23
Mar 11 19:22:46 sv1 postfix/anvil[14588]: statistics: max cache size 1 at Mar 11 19:19:23


Mail.log:
Mar 11 19:09:40 sv1 postfix/qmgr[4438]: EA9891E54480: removed
Mar 11 19:12:04 sv1 postfix/anvil[14535]: statistics: max connection rate 1/60s for (smtp:217.80.245.26) at Mar 11 19:07:52
Mar 11 19:12:04 sv1 postfix/anvil[14535]: statistics: max connection count 1 for (smtp:217.80.245.26) at Mar 11 19:07:52
Mar 11 19:12:04 sv1 postfix/anvil[14535]: statistics: max cache size 1 at Mar 11 19:07:52
Mar 11 19:19:22 sv1 postfix/qmgr[4438]: 7D1491E54476: from=<webmaster@0002.de>, size=1600, nrcpt=1 (queue active)
Mar 11 19:19:23 sv1 postfix/smtpd[14586]: warning: 219.157.127.237: hostname hn.kd.ny.adsl verification failed: Name or service not known
Mar 11 19:19:23 sv1 postfix/smtpd[14586]: connect from unknown[219.157.127.237]
Mar 11 19:19:25 sv1 postfix/smtpd[14586]: NOQUEUE: reject: RCPT from unknown[219.157.127.237]: 554 5.7.1 <kontakt@XXX.de>: Relay access denied; from=<Reichenacher_badyv@XXX.co.uk> to=<kontakt@blueschi.de> proto=SMTP helo=<lycosmail.co.uk>
Mar 11 19:19:26 sv1 postfix/smtpd[14586]: lost connection after RCPT from unknown[219.157.127.237]
Mar 11 19:19:26 sv1 postfix/smtpd[14586]: disconnect from unknown[219.157.127.237]
Mar 11 19:19:29 sv1 postfix/smtp[14585]: 7D1491E54476: to=<dennis@XXX.de>, relay=mail.XXX.de[62.67.244.57]:25, delay=131239, delays=131232/0.02/6.6/0.09, dsn=4.0.0, status=deferred (host mail.partyzone-waf.de[62.67.244.57] said: 421 Refused. The domain of your sender address has no mail exchanger (MX). (in reply to RCPT TO command))
Mar 11 19:20:01 sv1 postfix/pickup[14575]: 68CF91E54480: uid=109 from=<smmsp>
Mar 11 19:20:01 sv1 postfix/cleanup[14611]: 68CF91E54480: message-id=<20090311182001.68CF91E54480@sv1.itteko.de>
Mar 11 19:20:01 sv1 postfix/qmgr[4438]: 68CF91E54480: from=<smmsp@sv1.itteko.de>, size=675, nrcpt=1 (queue active)
Mar 11 19:20:01 sv1 postfix/local[14612]: 68CF91E54480: to=<root@sv1.itteko.de>, orig_to=<root>, relay=local, delay=0.06, delays=0.03/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Mar 11 19:20:01 sv1 postfix/qmgr[4438]: 68CF91E54480: removed
Mar 11 19:22:46 sv1 postfix/anvil[14588]: statistics: max connection rate 1/60s for (smtp:219.157.127.237) at Mar 11 19:19:23
Mar 11 19:22:46 sv1 postfix/anvil[14588]: statistics: max connection count 1 for (smtp:219.157.127.237) at Mar 11 19:19:23
Mar 11 19:22:46 sv1 postfix/anvil[14588]: statistics: max cache size 1 at Mar 11 19:19:23