Henne Vogelsang wrote:
Hi,
On Friday, April 26, 2002 at 17:47:04, Andreas Loebel wrote:
Das Problem: SENDMAIL_SMARTHOST ist auf unseren Sun-Mailserver opts1.zib.de gesetzt. Früher wurden Mails auch sofort dorthin weitergeleitet. Seit dem Update werden mails aber an localhost geschickt und bleiben da hängen. Egal was ich in SENDMAIL_SMARTHOST oder SMARTHOST_RELAY eintrage, mails gehen immer an sendmail auf localhost und bleiben da hängen.
Übrigens: sendmail -bv loebel@zib.de bringt seltsamer Weise auch nach dem Update das richtige Ergebnis opts1 (Mailserver). Aber schickt man eine Mail per mail, dann gibt es Probleme. Vermutlich liegt es noch nicht mal an sendmail, ich sehe aber nicht, was das Problem sein könnte.
Poste doch mail einen entsprechenden abschnitt aus der /var/log/mail
Henne
EHLO opt84.zib.de 250-opt84.zib.de Hello localhost [127.0.0.1], pleased to meet you 250 ENHANCEDSTATUSCODES MAIL From:
550 5.0.0 Access denied root... Using cached ESMTP connection to localhost via relay... RSET 250 2.0.0 Reset state MAIL From:<> 550 5.0.0 Access denied
Gerne, Andreas Übrigens: Mit der sendmail-Version der SuSE7.3 (Downgrade) geht es (mit dem alten sendmail.cf sowie mit dem nicht mehr passenden SuSEconfig.sendmail der 8.0, die für den alten sendmail-8.11.6 den SENDMAIL_SMARTHOST nicht setzt). Der seit gestern verfügbare Update von sendmail auf 8.12.3 hat nichts gebracht. opt84:~ # sendmail -bv loebel@zib.de loebel@zib.de... deliverable: mailer relay, host opts1.zib.de., user loebel@zib.de opt84:~ # mail -v -s test loebel@zib.de . EOT Null message body; hope that's ok loebel@zib.de... Connecting to localhost via relay... 220 opt84.zib.de ESMTP Sendmail 8.12.2/8.12.2/SuSE Linux 0.6; Sat, 27 Apr 2002 08:21:37 +0200 postmaster... Using cached ESMTP connection to localhost via relay...
RSET 250 2.0.0 Reset state MAIL From:<> 550 5.0.0 Access denied Closing connection to localhost QUIT 221 2.0.0 opt84.zib.de closing connection
/var/log/mail: Apr 27 08:21:37 opt84 sendmail[12400]: g3R6Lbpt012400: from=root, size=33, class=0, nrcpts=1, msgid=<200204270621.g3R6Lbpt012400@opt84.zib.de>, relay=root@localhost Apr 27 08:21:37 opt84 sendmail[12401]: g3R6LboY012401: tcpwrappers (localhost, 127.0.0.1) rejection Apr 27 08:21:37 opt84 sendmail[12400]: g3R6Lbpt012400: to=loebel@zib.de, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30033, relay=localhost [127.0.0.1], dsn=5.0.0, stat=Service unavailable Apr 27 08:21:37 opt84 sendmail[12400]: g3R6Lbpt012400: g3R6Lbpu012400: DSN: Service unavailable Apr 27 08:21:37 opt84 sendmail[12400]: g3R6Lbpu012400: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31057, relay=localhost, dsn=5.0.0, stat=Service unavailable Apr 27 08:21:37 opt84 sendmail[12400]: g3R6Lbpu012400: g3R6Lbpv012400: return to sender: Service unavailable Apr 27 08:21:37 opt84 sendmail[12400]: g3R6Lbpv012400: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32081, relay=localhost, dsn=5.0.0, stat=Service unavailable Apr 27 08:21:37 opt84 sendmail[12400]: g3R6Lbpu012400: Losing ./qfg3R6Lbpu012400: savemail panic Apr 27 08:21:37 opt84 sendmail[12400]: g3R6Lbpu012400: SYSERR(root): savemail: cannot save rejected email anywhere Anfang von /etc/sendmail.cf (mit SuSEconfig erstellt): ###################################################################### # /etc/sendmail.cf # # Generated by /sbin/conf.d/SuSEconfig.sendmail on 2002/04/25 17:39:14 # controlled by /etc/sysconfig/mail and /etc/sysconfig/sendmail # ###################################################################### # # Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # By using this file, you agree to the terms and conditions set # forth in the LICENSE file which can be found at the top level of # the sendmail distribution. # # ###################################################################### ###################################################################### ##### ##### SENDMAIL CONFIGURATION FILE ##### ##### ###################################################################### ##### ##### DO NOT EDIT THIS FILE! Only edit the source .mc file. ##### ###################################################################### ###################################################################### ##### $Id: cfhead.m4,v 8.107 2001/07/22 03:25:37 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### @(#)Setup for SuSE Linux 8.12.2-0.6 (SuSE Linux) 2002/02/19 ##### ##### @(#) suse-linux.m4 8.12.2-0.6 (SuSE Linux) 2002/01/14 ##### ##### $Id: always_add_domain.m4,v 8.11 2000/09/12 22:00:53 ca Exp $ ##### ##### $Id: local_procmail.m4,v 8.21 1999/11/18 05:06:23 ca Exp $ ##### ##### $Id: no_default_msa.m4,v 8.2 2001/02/14 05:03:22 gshapiro Exp $ ##### ##### $Id: mailertable.m4,v 8.23 2001/03/16 00:51:26 gshapiro Exp $ ##### ##### $Id: genericstable.m4,v 8.21 2001/03/16 00:51:26 gshapiro Exp $ ##### ##### $Id: virtusertable.m4,v 8.21 2001/03/16 00:51:26 gshapiro Exp $ ##### ##### $Id: access_db.m4,v 8.23 2001/03/16 00:51:25 gshapiro Exp $ ##### ##### $Id: masquerade_envelope.m4,v 8.9 1999/02/07 07:26:10 gshapiro Exp $ ##### ##### $Id: generic.m4,v 8.15 1999/04/04 00:51:09 ca Exp $ ##### ##### $Id: redirect.m4,v 8.15 1999/08/06 01:47:36 gshapiro Exp $ ##### ##### $Id: use_cw_file.m4,v 8.11 2001/08/26 20:58:57 gshapiro Exp $ ##### ##### $Id: proto.m4,v 8.628 2001/12/28 19:02:40 ca Exp $ ##### # level 10 config file format V10/Berkeley # override file safeties - setting this option compromises system security, # addressing the actual file configuration problem is preferred # need to set this before any file actions are encountered in the cf file O DontBlameSendmail=AssumeSafeChown,TrustStickyBit,GroupReadableSASLDBFile # default LDAP map specification # need to set this now before any LDAP maps are defined #O LDAPDefaultSpec=-h localhost ################## # local info # ################## # my LDAP cluster # need to set this before any LDAP lookups are done (including classes) #D{sendmailMTACluster}$m Cwlocalhost # file containing names of hosts for which we receive email Fw-o /etc/mail/local-host-names %[^\#] # my official domain name # ... define this only if sendmail cannot automatically determine your domain #Dj$w.Foo.COM CP. # "Smart" relay host (may be null) DSopts1.zib.de. # operators that cannot be in local usernames (i.e., network indicators) CO @ % ! # a class with just dot (for identifying canonical names) C.. # a class with just a left bracket (for identifying domain literals) C[[ # access_db acceptance class C{Accept}OK RELAY # Resolve map (to check if a host exists in check_mail) Kresolve host -a<OKR> -T<TEMP> C{ResOk}OKR # Hosts for which relaying is permitted ($=R) FR-o /etc/mail/relay-domains %[^\#] # arithmetic map Karith arith # macro storage map Kmacro macro # possible values for TLS_connection in access map C{tls}VERIFY ENCR # dequoting map Kdequote dequote # class E: names that should be exposed as from this host, even if we masquerade # class L: names that should be delivered locally, even if we have a relay # class M: domains that should be converted to $M # class N: domains that should not be converted to $M #CL root C{G}opt84.zib.de C{E}root # who I masquerade as (null for no masquerading) (see also $=M) DMopt84.zib.de # my name for error messages DnMAILER-DAEMON # Mailer table (overriding domains) Kmailertable hash -o /etc/mail/mailertable.db # Generics table (mapping outgoing addresses) Kgenerics hash -o /etc/mail/genericstable.db # Virtual user table (maps incoming users) Kvirtuser hash -o /etc/mail/virtusertable.db # Access list database (for spam stomping) Kaccess hash -T<TMPF> -o /etc/mail/access.db CPREDIRECT Cwlocalhost opt84.zib.de # Configuration version number DZ8.12.2/SuSE Linux 0.6 ...