PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : sendmail -> strange problem



crazygeek
29.11.04, 19:08
hi,

mein sendmail spinnt sich grad voll aus...

ich kann mail versenden vom lan aus ich kann mails empfangen vom inet aus. aber ich bzw das system kann keine mails lokal verschicken. ich bekomm immer ein:

connection refused by 127.0.0.1

hat wer ne ahnung warum?

LKH
29.11.04, 21:10
Hi,

folgende Fragen/Anregeungen:

- läuft eine Firewall? Wenn ja, mal deaktivieren und es dann probieren.
- ist "127 RELAY" in der access?

Hoffe es hilft,

LKH

crazygeek
29.11.04, 21:36
firewall -> nein

connect:127 RELAY

alles so wie es sein sollte...

LKH
01.12.04, 14:52
Hi,

poste doch mal einen Auszug aus dem maillog.

LKH

crazygeek
01.12.04, 20:42
Hi,

poste doch mal einen Auszug aus dem maillog.

LKH


Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATLSMNr012380: to=root, ctladdr=root (0/0), delay=1+22:11:41, xdelay=00:00:00, mailer=relay, pri=13800132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATLdt2v013127: to=root, ctladdr=root (0/0), delay=1+22:00:08, xdelay=00:00:00, mailer=relay, pri=13800132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATLJBl2010853: to=root, ctladdr=root (0/0), delay=1+22:20:52, xdelay=00:00:00, mailer=relay, pri=14070132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATJ60vG009594: to=root, ctladdr=root (0/0), delay=2+00:34:03, xdelay=00:00:00, mailer=relay, pri=15150132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATJ67BH009604: to=root, ctladdr=root (0/0), delay=2+00:33:56, xdelay=00:00:00, mailer=relay, pri=15150132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATI5PCU007824: to=root, ctladdr=root (0/0), delay=2+01:34:38, xdelay=00:00:00, mailer=relay, pri=15690132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATI5cnT007833: to=root, ctladdr=root (0/0), delay=2+01:34:25, xdelay=00:00:00, mailer=relay, pri=15690132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATI7H4s008484: to=root, ctladdr=root (0/0), delay=2+01:32:46, xdelay=00:00:00, mailer=relay, pri=15690132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATIBoCx008529: to=root, ctladdr=root (0/0), delay=2+01:28:13, xdelay=00:00:00, mailer=relay, pri=15690132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Dec 1 20:40:03 LUMPY sm-msp-queue[27513]: iATHtwXX007682: to=root, ctladdr=root (0/0), delay=2+01:44:05, xdelay=00:00:00, mailer=relay, pri=15780132, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

crazygeek
03.12.04, 13:43
hilft euch das logfile nix?

*rauf-schieb*

Blade
03.12.04, 19:57
dem log-file nach hast Du Dich bei der sendmail-relay-Einstellung abgeschossen. Prüfe mal die relay-Einstellungen von sendmail!

crazygeek
04.12.04, 00:16
schon alles probiert,



127.0.0.1 RELAY
192.168.1 RELAY


kann es sein das was an meiner sendmail.mc nicht passt? hier das file:


divert(-1)dnl
#-----------------------------------------------------------------------------
# $Sendmail: debproto.mc,v 8.13.1 2004-11-24 20:59:27 cowboy Exp $
#
# Copyright (c) 1998-2004 Richard Nelson. All Rights Reserved.
#
# cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure.
#
# sendmail.mc prototype config file for building Sendmail 8.13.1
#
# Note: the .in file supports 8.7.6 - 9.0.0, but the generated
# file is customized to the version noted above.
#
# This file is used to configure Sendmail for use with Debian systems.
#
# If you modify this file, you will have to regenerate /etc/mail/sendmail.cf
# by running this file through the m4 preprocessor via one of the following:
# * `sendmailconfig`
# * `make`
# * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf`
# The first two options are preferred as they will also update other files
# that depend upon the contents of this file.
#
# The best documentation for this .mc file is:
# /usr/share/doc/sendmail-doc/cf.README.gz
#
#-----------------------------------------------------------------------------
divert(0)dnl
#
# Copyright (c) 1998-2004 Richard Nelson. All Rights Reserved.
#
# This file is used to configure Sendmail for use with Debian systems.
#
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.13.1-18 2004-11-24 20:59:27 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS=
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
dnl #
dnl # General defines
dnl #
dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot()
dnl # into this directory before writing files.
dnl # If *all* your user accounts are under /home then use that
dnl # instead - it will prevent any writes outside of /home !
dnl # define(`confSAFE_FILE_ENV', `')dnl
dnl #
FEATURE(`no_default_msa')dnl
dnl #
dnl # Be somewhat anal in what we allow
define(`confPRIVACY_FLAGS',dnl
`needmailhelo,needexpnhelo,needvrfyhelo,restrictqr un,restrictexpand,nobodyreturn,authwarnings')dnl
dnl #
dnl # Define connection throttling and window length
define(`confCONNECTION_RATE_THROTTLE', `15')dnl
define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl
dnl #
dnl # Features
dnl #
dnl # The access db is the basis for most of sendmail's checking
FEATURE(`access_db', , `skip')dnl
dnl #
dnl # The greet_pause feature stops some automail bots - but check the
dnl # provided access db for details on excluding localhosts...
FEATURE(`greet_pause', `1000')dnl 1 seconds
dnl #
dnl # Delay_checks allows sender<->recipient checking
FEATURE(`delay_checks', `friend', `n')dnl
dnl #
dnl # If we get too many bad recipients, slow things down...
define(`confBAD_RCPT_THROTTLE',`3')dnl
dnl #
dnl # Stop connections that overflow our concurrent and time connection rates
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
LOCAL_CONFIG
define(`SMART_HOST', )dnl
MASQUERADE_AS(`crazy.is-a-geek.org')dnl
FEATURE(`nocanonify')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`always_add_domain')dnl
LOCAL_CONFIG
Cwcrazy.is-a-geek.org
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`smrsh')dnl
dnl #
dnl # Dialup/LAN connection overrides
dnl #
include(`/etc/mail/m4/dialup.m4')dnl
include(`/etc/mail/m4/provider.m4')dnl
dnl #
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl
LOCAL_CONFIG
## Custom configurations below (will be preserved)

Blade
04.12.04, 10:38
hat Dein Lan dann die IPs ... 192.168.1.x , nur mal zur Sicherheit gefragt?

was steht denn in der /etc/mail/access - Datei drin?
was steht denn in der /etc/mail/local-host-names - Datei drin? Da sollte Deine Lan-Domain eingetragen sein.

crazygeek
04.12.04, 14:09
mein lan hat 192.168.1.x...

access is wie oben gepostet und local-host-names ist:



localhost
meindomainname


aber es geht ja nur das ich von 127.0.0.1 nicht schicken kann. alles andere geht ja...

crazygeek
29.12.04, 13:38
hi,

hab bis jetzt das prob vor mich hingeschoben, da ich aber jetzt eine mailling-list einrichten muss, sollt ich das prob nun in griff bekommen. bitte um hilfe!