PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : sendmail



DBGTMaster
24.10.06, 10:38
Hallo!

Sendmail will einfach keine EMails nach aussen schicken:

Log:

Oct 24 09:55:09 pcThomas sendmail[11875]: k9O7t9WV011875: from=ftpuser, size=69, class=0, nrcpts=1, msgid=<200610240755.k9O7t9
WV011875@pcThomas.site>, relay=ftpuser@localhost
Oct 24 09:55:09 pcThomas sendmail[11876]: k9O7t9sg011876: from=<ftpuser@pcThomas.site>, size=319, class=0, nrcpts=1, msgid=<20
0610240755.k9O7t9WV011875@pcThomas.site>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Oct 24 09:55:09 pcThomas sendmail[11876]: k9O7t9sg011876: to=<DBGTMaster@gmx.at>, delay=00:00:00, mailer=relay, pri=30319, dsn
=4.4.3, stat=queued
Oct 24 09:55:09 pcThomas sendmail[11875]: k9O7t9WV011875: to=DBGTMaster@gmx.at, ctladdr=ftpuser (1002/100), delay=00:00:00, xd
elay=00:00:00, mailer=relay, pri=30069, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9O7t9sg011876 Message accepted f
or delivery)


danke und mfg

marce
24.10.06, 11:00
Stimmt. Alternativ: Hier geht's.

... oder was wolltest Du erreichen?

... und kriegen wir mehr Infos?

RichieX
24.10.06, 11:24
Oct 24 09:55:09 pcThomas sendmail[11875]: k9O7t9WV011875: to=DBGTMaster@gmx.at, ctladdr=ftpuser (1002/100), delay=00:00:00, xd
elay=00:00:00, mailer=relay, pri=30069, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9O7t9sg011876 Message accepted f
or delivery)
Also ich weiß nicht was du hast, die Mail ist raus. Schon mal in den GMX Spamfolder geschaut? Denn diese Absenderadresse ftpuser@pcThomas.site wird GMX nicht akzeptieren.

RichieX

marce
24.10.06, 11:25
wobei der relay=127.0.0.1 nicht gut aussieht...

DBGTMaster
24.10.06, 11:30
Also ich weiß nicht was du hast, die Mail ist raus. Schon mal in den GMX Spamfolder geschaut? Denn diese Absenderadresse ftpuser@pcThomas.site wird GMX nicht akzeptieren.

RichieX

das die domain nicht gut aussieht, weiß ich ich auch, aber wo ändere ich diese um?

mfg

RichieX
24.10.06, 11:46
wobei der relay=127.0.0.1 nicht gut aussieht...
Du hast recht. ist mir nicht aufgefallen.

@DBGTMaster
Es sieht so aus, als ob dein Server so eingestellt ist, dass er zuständig ist für gmx.at. Das ist natürlich nicht richtig.

Aber mehr läßt sich wirklich erst sagen, wenn du uns deine Konfiguration mal zeigst.

RichieX

DBGTMaster
24.10.06, 11:52
Du hast recht. ist mir nicht aufgefallen.

@DBGTMaster
Es sieht so aus, als ob dein Server so eingestellt ist, dass er zuständig ist für gmx.at. Das ist natürlich nicht richtig.

Aber mehr läßt sich wirklich erst sagen, wenn du uns deine Konfiguration mal zeigst.

RichieX

mach ich dann, aber der server fährt nicht mehr hoch :ugly:


Critical **: ve_config_get_bool assertion 'config != NULL' failed

Diese Meldung kommt seitenweiße beim hochfahren und wenn ich mich einloggen will:


login: PAM Fehler, kritischer Fehler. Breche ab, sofortiger Abbruch.

RichieX
24.10.06, 11:59
Diese Fehler haben nicht im entferntesten mit deinem ursprünglichen Problem zu tun.

Es lässt sich nur spekulieren, wo das Problem liegt. Was hast du denn vor dem shutdown alles gemacht? Updates? Könnte eine inkompatible glibc sein oder Plattencrash oder, oder, oder ...

RichieX

DBGTMaster
24.10.06, 12:03
Diese Fehler haben nicht im entferntesten mit deinem ursprünglichen Problem zu tun.

Es lässt sich nur spekulieren, wo das Problem liegt. Was hast du denn vor dem shutdown alles gemacht? Updates? Könnte eine inkompatible glibc sein oder Plattencrash oder, oder, oder ...

RichieX

ich habe die ganze zeit nur an sendmail herumgebastelt...

RichieX
24.10.06, 12:12
Rettungssystem! Logs durchschauen!

RichieX

DBGTMaster
24.10.06, 13:26
Rettungssystem! Logs durchschauen!

RichieX

logs durchschauen hat nichts gebracht...
Hat Linux auch so irgendein Systemwiederherstellungsprogramm???

das ganze ist eh nur ein Testserver, wenn es sein muss setze ich den neu auf!

Nur das einzige, was ich bräuchte wäre die Postgresql Datenbank,mmh, wie kann ich diese am besten sichern?

DBGTMaster
25.10.06, 17:00
Oct 25 17:01:22 pcThomas sendmail[4388]: k9PF1LVX004388: from=root, size=211, class=0, nrcpts=1, msgid=<200610251501.k9PF1LVX0
04388@pcThomas.sin.co.at>, relay=root@localhost
Oct 25 17:01:22 pcThomas sendmail[4389]: k9PF1MW8004389: from=<root@pcThomas.sin.co.at>, size=461, class=0, nrcpts=1, msgid=<2
00610251501.k9PF1LVX004388@pcThomas.sin.co.at>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Oct 25 17:01:22 pcThomas sendmail[4388]: k9PF1LVX004388: to=DBGTMaster@gmx.at, ctladdr=root (0/0), delay=00:00:01, xdelay=00:0
0:00, mailer=relay, pri=30211, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9PF1MW8004389 Message accepted for delive
ry)
Oct 25 17:01:22 pcThomas sendmail[4391]: k9PF1MW8004389: to=<DBGTMaster@gmx.at>, ctladdr=<root@pcThomas.sin.co.at> (0/0), dela
y=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120461, relay=mx0.gmx.de. [213.165.64.100], dsn=5.0.0, stat=Service unavailable
Oct 25 17:01:22 pcThomas sendmail[4391]: k9PF1MW8004389: k9PF1MW8004391: DSN: Service unavailable
Oct 25 17:01:22 pcThomas sendmail[4391]: k9PF1MW8004391: to=<root@pcThomas.sin.co.at>, delay=00:00:00, xdelay=00:00:00, mailer
=local, pri=31706, dsn=2.0.0, stat=Sent
Oct 25 17:01:22 pcThomas sendmail[4391]: k9PF1MW8004389: k9PF1MW9004391: postmaster notify: Service unavailable
Oct 25 17:01:22 pcThomas sendmail[4391]: k9PF1MW9004391: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, ds
n=2.0.0, stat=Sent


das spuckt er nun aus, aberankommen tut trotzdem ncihts...


postmaster notify: Service unavailable
was heißt denn das genau? und noch so ein paar sind drin.

mfg

RichieX
25.10.06, 18:50
"Service unavailable" deutet auf Authentifizierungsfehler hin. Meldest du dich mit SMTP-Auth am GMX-Server an?

Hier gibt es eine Anleitung dafür: http://home.rhein-zeitung.de/~wwilhelm/smtpauth.shtml#client

RichieX

DBGTMaster
27.10.06, 10:06
Oct 27 10:07:28 pcThomas sendmail[8340]: k9R87Snx008340: from=root, size=12, class=0, nrcpts=2, msgid=<200610270807.k9R87Snx00
8340@pcThomas.sin.co.at>, relay=root@localhost
Oct 27 10:07:28 pcThomas sendmail[8341]: k9R87SoD008341: <test@pcThomas.sin.co.at>... User unknown
Oct 27 10:07:28 pcThomas sendmail[8340]: k9R87Snx008340: to=test, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=
relay, pri=60012, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Oct 27 10:07:28 pcThomas sendmail[8341]: k9R87SoD008341: from=<root@pcThomas.sin.co.at>, size=279, class=0, nrcpts=1, msgid=<2
00610270807.k9R87Snx008340@pcThomas.sin.co.at>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Oct 27 10:07:28 pcThomas sendmail[8340]: k9R87Snx008340: to=DBGTMaster@gmx.at, ctladdr=root (0/0), delay=00:00:00, xdelay=00:0
0:00, mailer=relay, pri=60012, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9R87SoD008341 Message accepted for delive
ry)
Oct 27 10:07:28 pcThomas sendmail[8340]: k9R87Snx008340: k9R87So0008340: DSN: User unknown
Oct 27 10:07:28 pcThomas sendmail[8343]: k9R87SoD008341: to=<DBGTMaster@gmx.at>, ctladdr=<root@pcThomas.sin.co.at> (0/0), dela
y=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120279, relay=gmx.at, dsn=5.1.2, stat=Host unknown (Name server: gmx.at: host n
ot found)
Oct 27 10:07:28 pcThomas sendmail[8343]: k9R87SoD008341: k9R87SoD008343: DSN: Host unknown (Name server: gmx.at: host not foun
d)
Oct 27 10:07:28 pcThomas sendmail[8343]: k9R87SoD008343: to=<root@pcThomas.sin.co.at>, delay=00:00:00, xdelay=00:00:00, mailer
=local, pri=31533, dsn=2.0.0, stat=Sent
Oct 27 10:07:28 pcThomas sendmail[8341]: k9R87SoF008341: from=<>, size=1885, class=0, nrcpts=1, msgid=<200610270807.k9R87So000
8340@pcThomas.sin.co.at>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Oct 27 10:07:28 pcThomas sendmail[8343]: k9R87SoD008341: k9R87SoE008343: postmaster notify: Host unknown (Name server: gmx.at:
host not found)
Oct 27 10:07:28 pcThomas sendmail[8340]: k9R87So0008340: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31036, re
lay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9R87SoF008341 Message accepted for delivery)
Oct 27 10:07:28 pcThomas sendmail[8343]: k9R87SoE008343: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, ds
n=2.0.0, stat=Sent
Oct 27 10:07:36 pcThomas sendmail[8345]: k9R87SoF008341: to=<root@pcThomas.sin.co.at>, delay=00:00:08, xdelay=00:00:08, mailer
=local, pri=32097, dsn=2.0.0, stat=Sent


So sieht nun die var/log/mail aus.



Oct 27 10:07:28 pcThomas sendmail[8341]: k9R87SoD008341: <test@pcThomas.sin.co.at>... User unknown

Warum User test? woher nimmt er denn her?


Oct 27 10:07:28 pcThomas sendmail[8340]: k9R87Snx008340: k9R87So0008340: DSN: User unknown



Oct 27 10:07:28 pcThomas sendmail[8343]: k9R87SoD008341: to=<DBGTMaster@gmx.at>, ctladdr=<root@pcThomas.sin.co.at> (0/0), dela
y=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120279, relay=gmx.at, dsn=5.1.2, stat=Host unknown (Name server: gmx.at: host n
ot found)



Oct 27 10:07:28 pcThomas sendmail[8343]: k9R87SoD008341: k9R87SoD008343: DSN: Host unknown (Name server: gmx.at: host not foun
d)



Oct 27 10:07:28 pcThomas sendmail[8343]: k9R87SoD008341: k9R87SoE008343: postmaster notify: Host unknown (Name server: gmx.at:
host not found)


Das sind alle Fehlermeldungen die mir so auffallen.

Warum Host unknown von gmx.at

als smpt server habe ich mail.wvnet.at eingetragen

mfg

DBGTMaster
27.10.06, 10:35
hier noch die config file:


divert(-1)
# Copyright (c) 1997-1999,2000 SuSE GmbH Nuernberg, Germany.
# Author: Florian La Roche
# Werner Fink <feedback@suse.de>
#
# After the `divert(0)' all lines starting with `dnl' are
# comments until the next newline character.
# Putting words into `'-pairs disables macro expansion
#
include(`/usr/share/sendmail/m4/cf.m4')
divert(0)dnl
VERSIONID(`@(#)Setup for SuSE Linux 8.12.11-0.5 (SuSE Linux) 2004/04/02')dnl
dnl
dnl This is the default configuration for SuSE Linux.
dnl See `/usr/share/sendmail/ostype/suse-linux.m4' and take a look
dnl into `/usr/share/sendmail/README' for more information.
dnl
dnl The suse-linux.m4 enables the FEATUREs mailertable, genericstable,
dnl virtusertable, and access_db. Just look to those file for some
dnl examples. They are stored in `/etc/mail/'. If you have changed
dnl one or more files you should run SuSEconfig or generate the
dnl `.db' files by hand (see /sbin/conf.d/SuSEconfig.sendmail).
dnl
dnl NOTE: YOU HAVE TO CHANGE THE CONFIGURATION TO FIT YOUR NEEDS
dnl BEFORE ACTIVTING SOME OF THESE EXAMPLES!
dnl
OSTYPE(`suse-linux')dnl
dnl
dnl Turns on the access database feature. The access db gives you the ability
dnl to allow or refuse to accept mail from specified domains for administrative
dnl reasons. Also adds the greet_pause ruleset enables open proxy
dnl and SMTP slamming protection. Sendmail will wait the specific microseconds
dnl before sending the initial 220 SMTP greeting.
dnl If any traffic is received before then, a 554 SMTP response is sent and
dnl all SMTP commands are rejected during the connection.
dnl
FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
dnl FEATURE(`greet_pause', `2000')dnl
dnl
dnl For alias directory extension /etc/aliases.d/ we have to
dnl add them into a list or known alias files.
dnl
dnl ifdef(`ALIAS_FILE', define(`ALIAS_FILE', ALIAS_FILE`,/etc/aliases.d/myaliases'))dnl
dnl
dnl By default the MSA (Message Submission Agent) daemon is disabled on
dnl SuSE Linux. If you want to use this service enabled the following.
dnl
dnl DAEMON_OPTIONS(`Port=587,Name=MSA,M=E')dnl
dnl
dnl Do not send MIME error messages
dnl
dnl define(`confMIME_FORMAT_ERRORS', `False')dnl
dnl
dnl If you have a modem and you use dial on demand, specify the time
dnl until you have a working connection. Sendmail will then retry to
dnl establish a connection.
dnl
dnl define(`confDIAL_DELAY', `10s')dnl
dnl
dnl Timeout before a warning message is sent to the sender telling them
dnl that the message has been deferred. The FEATURE(dialup) will
dnl overwrite this.
dnl
dnl define(`confTO_QUEUEWARN', `4h')dnl
dnl
dnl Timeout before a message is returned as undeliverable
dnl
dnl define(`confTO_QUEUERETURN', `5d')dnl
dnl
dnl If you have lots of users, you might want to add "restrictmailq" and
dnl "restrictrunq", but normally they can be left out. "authwarnings"
dnl warns about all people that e.g. use "sendmail -bs" and adds
dnl `X-Authentication-Warning:' headers. Pine users might want to disable this.
dnl "noreceipts" disables DSN (Delivery Status Notification) and ignores all
dnl `Return-Receipt-To:' headers even if `confRRT_IMPLIES_DSN' is `true'.
dnl For service provider using ETRN on port 25 the noetrn could be removed.
dnl
dnl define(`confPRIVACY_FLAGS', `authwarnings,needmailhelo,novrfy,noexpn,noetrn,no verb')dnl
dnl
dnl These users given in `/etc/mail/trusted-users' are allowed to modify
dnl the email sender address.
dnl
dnl FEATURE(`use_ct_file')dnl
dnl
dnl You can specify a smart host either here or in `/etc/mail/mailertable'
dnl and if you're using a smart host you may disable confHOST_STATUS_DIRECTORY
dnl and set a MX fallback
dnl
dnl define(`SMART_HOST', `smtp:mail.smarthost.other.domain')dnl
dnl define(`SMART_HOST', `uucp-dom:otheruucphost')dnl
dnl undefine(`confHOST_STATUS_DIRECTORY')dnl
dnl define(`confFALLBACK_MX', `[your.smarthost.here]')dnl
dnl
dnl For a relay host you nay use the following two lines.
dnl Do not deliver any email locally, but send all email
dnl to another host.
dnl
dnl define(`MAIL_HUB', `smtp:host.your.domain')dnl
dnl define(`LOCAL_RELAY', `smtp:host.your.domain')dnl
dnl
dnl Redirect all email to unknown people to Postmaster.
dnl
dnl define(`LUSER_RELAY', `local:postmaster')dnl
dnl
dnl Enable the following SuSE FEATURE, if you have a expensive
dnl dialup connection for SMTP and want to queue all email until
dnl `sendmail -q' is started.
dnl
dnl FEATURE(`expensive')dnl
dnl
dnl This is used for dial-on-demand connections where we don't want to
dnl trigger a connection just for a DNS query.
dnl Sendmail will give all hostnames to your DNS server and replace the
dnl names with the FQDN ones. As nearly all email-programs use the full
dnl hostname and you will probably also just use full hostnames as
dnl destination addresses, you could disable `nocanonify'. With `nodns'
dnl you should declare the local, the mail hub, the smart, and the mail
dnl relay host with their IP addresses and the corresponding Full Qualified
dnl Domain Names (in short FQDN which means hostname.domain) /etc/hosts.
dnl Do NOT use this together with anti-spam FEATUREs.
dnl
FEATURE(`nocanonify')dnl
HACK(`nodns')dnl
dnl
dnl The following FEATURE provides the possibility to avoid further
dnl dialups. The delivery mode is defer (postpone) therefore this
dnl FEATURE should NOT be used in combination with anti-spam FEATUREs.
dnl Note, that this FEATURE needs the FQDN as stored in /etc/HOSTNAME
dnl read into the variable FQHOSTNAME. Therefore replace myhost.newdomain.notused!
dnl
dnl FEATURE(`dialup', `myhost.newdomain.notused')dnl
dnl
dnl This is a NO NO and only suitable in real intranet. This because
dnl it `provides' a mail really for spam mails even if your local host
dnl is connected over a dialup line. To avoid this miss-FEATURE you
dnl should enable FEATURE(`use_cw_file') and declare the hosts to accept
dnl in `/etc/mail/local-host-names'.
dnl Do NEVER use this together with anti-spam FEATUREs or being connected
dnl to the Internet.
dnl
dnl FEATURE(`promiscuous_relay')dnl
dnl
dnl Sendmail only accepts emails as local that use the FQDN. If you want
dnl to accept further hostnames as local email, add them here or put
dnl them into the `/etc/mail/local-host-names' file.
dnl
dnl FEATURE(`use_cw_file')dnl
dnl
dnl This FEATURE enables (open)ldap and requires some arguments. For
dnl information see http://www.stanford.edu/~bbense/ldap/. Note that this
dnl FEATURE define a map `ldap' and expand the AliasFile with `sequence:ldap'.
dnl We choose an other name for the proposed map name `luser' (see URL) to
dnl avoid conflicts with LUSER_RELAY. The necessary change in rule S5 is
dnl already done and will be enabled by this FEATURE.
dnl
dnl FEATURE(`ldap', `place_here_your_configuration')dnl
dnl
dnl The ldap_routing FEATURE is part of the official sendmail since 8.10.0.
dnl You'll find a description in /usr/share/sendmail/README at `LDAP ROUTING'.
dnl You've to replace example.notused, mailHostdefine, mailRoutingAddressdefine,
dnl and bounce argument if not `passthru' with your own configuration.
dnl
dnl define(`confLDAP_DEFAULT_SPEC', `-h mailHost')dnl
dnl LDAPROUTE_DOMAIN(`example.notused')dnl
dnl FEATURE(`ldap_routing', dnl
dnl `ldap -1 -v mailHost -k (&(objectClass=inetLocalMailRecipient) (mailLocalAddress=%0))', dnl
dnl `ldap -1 -v mailRoutingAddress -k (&(objectClass=inetLocalMailRecipient) (mailLocalAddress=%0))', dnl
dnl `bounce')dnl
dnl
dnl To stop spamming from known domains and known senders you should
dnl not use the FEATURE(dialup) nor FEATURE(promiscuous_relay) nor HACK(nodns).
dnl To turn on the ability to refuse or allow incoming mail for certain
dnl recipient usernames, hostnames, or addresses, you should declare them
dnl in `/etc/mail/access'.
dnl You can provide a black list for the FEATURE below list which is used to
dnl block incoming mail for certain recipient usernames, hostnames, or
dnl addresses.
dnl
dnl FEATURE(`blacklist_recipients')dnl
dnl
dnl The Realtime Blackhole List is a service of rbl.maps.vix.com
dnl (see http://maps.vix.com/rbl/). It provides a list of hosts
dnl of known spammers. The FEATURES below are some other server
dnl for rejecting well known spammers
dnl (see http://maps.vix.com/ and http://www.orbs.org/).
dnl
dnl FEATURE(`dnsbl')dnl
dnl FEATURE(`dnsbl',`dul.maps.vix.com',` Mail from $&{client_addr} rejected - dul; see http://maps.vix.com')dnl
dnl FEATURE(`dnsbl',`relays.orbs.org', ` Mail from $&{client_addr} rejected - open relay; see http://www.orbs.org')dnl
dnl
dnl
dnl Just add the local domain if the email address doesn't have one
dnl
FEATURE(`always_add_domain')dnl
dnl
dnl Specify the sender email address for all outgoing mail from the local
dnl machine. Most people also want to use "masquerade_envelope" to also
dnl change the envelope addresses.
dnl Use "allmasquerade" to also change the recipient address. Don't use
dnl this feature, if you don't have the full /etc/aliases and the full
dnl /etc/passwd on your host.
dnl
dnl MASQUERADE_AS(`newdomain.notused')dnl
dnl FEATURE(`masquerade_envelope')dnl
dnl FEATURE(`allmasquerade')dnl
dnl FEATURE(`no_local_masquerading')dnl
dnl
dnl Normally, any hosts decided as locally are masqueraded. If
dnl the feature limited_masquerade is used, only the hosts listed in
dnl MASQUERADE_DOMAIN() are masqueraded. This is useful if you have
dnl several domains with disjoint namespaces hosted on the same machine.
dnl
dnl MASQUERADE_DOMAIN(`otherdmain.notused')dnl
dnl FEATURE(`limited_masquerade')dnl
dnl
dnl The list will cause certain addresses originating locally (i.e. that
dnl are unqualified) or domains to be looked up in a map and turned into
dnl another ("generic") form, which can change both the domain name and
dnl the user name. These domains can additional to the local domains be
dnl changed in /etc/mail/genericstable
dnl
dnl Normally we want use genericstable, if not comment it out.
dnl
FEATURE(`generics_entire_domain')dnl
dnl
dnl GENERICS_DOMAIN(`your.domain')dnl
dnl
dnl This is for the possible aliases of the local host here.
dnl
GENERICS_DOMAIN_FILE(`/etc/mail/local-host-names')dnl
dnl
dnl Foreign package amavis needs libmilter interface
dnl
dnl define(`MILTER')dnl
dnl divert(-1)
dnl INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/run/amavis/amavis-milter.sock, T=S:10m;R:10m;E:10m')
dnl divert(0)dnl
dnl
dnl
dnl Enable SMTP-AUTH as client (plain, gssapi, digest-md5, and cram-md5)
dnl AUTH_DIR is defined in OSTYPE(`suse-linux') as /etc/mail/auth
dnl To use the choosen authentication the appropiate cyrus-sasl package
dnl has to be installed: cyrus-sasl-(gssapi|otp|digestmd5|crammd5|plain)
dnl Please not that most providers only know about `plain' which means
dnl that the user data will not be encrypted.
dnl
dnl define(`confAUTH_MECHANISMS', `place_here_your_auth_mechanism')dnl
dnl FEATURE(`authinfo', `hash -o 'AUTH_DIR`/auth-info')dnl
dnl
dnl Enable SMTP-AUTH as server (gssapi, digest-md5, and cram-md5)
dnl for an explanation read
dnl To use the choosen authentication the appropiate cyrus-sasl package
dnl has to be installed: cyrus-sasl-(gssapi|otp|digestmd5|crammd5|plain)
dnl /usr/share/sendmail/README, /usr/share/doc/packages/sendmail/op.txt.bz2,
dnl and http://www.sendmail.org/~ca/email/auth.html.
dnl
dnl define(`confAUTH_OPTIONS', `Apy')dnl
dnl TRUST_AUTH_MECH(`place_here_your_auth_mechanism')d nl
dnl define(`confAUTH_MECHANISMS', `place_here_your_auth_mechanism')dnl
dnl
dnl Enable STARTTLS Certificates, for an explanation read
dnl /usr/share/doc/packages/sendmail/op.txt.bz2 and
dnl http://www.sendmail.org/~ca/email/starttls.html
dnl The certification and key files are placed at
dnl /etc/mail/certs/ as CA.cert.pem, MYServer.cert.pem,
dnl MYServer.key.pem (for STARTTLS server) and
dnl MYClient.cert.pem, MYClient.key.pem (for STARTTLS client).
dnl CERT_DIR is defined in OSTYPE(`suse-linux') as /etc/mail/certs
dnl
dnl define(`confCACERT', CERT_DIR/`CA.cert.pem')dnl"
dnl define(`confSERVER_CERT', CERT_DIR/`MYServer.cert.pem')dnl"
dnl define(`confSERVER_KEY', CERT_DIR/`MYServer.key.pem')dnl"
dnl define(`confCLIENT_CERT', CERT_DIR/`MYClient.cert.pem')dnl"
dnl define(`confCLIENT_KEY', CERT_DIR/`MYClient.key.pem')dnl"
dnl
dnl We use the generic m4 macro definition. This defines
dnl an extented .forward and redirect mechanism.
dnl
DOMAIN(`generic')dnl
dnl
dnl These mailers are available. per default only smtp is used. You have
dnl to add entries to /etc/mail/mailertable to enable one of the other
dnl mailers.
dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl
MAILER(`uucp')dnl
MAILER(`bsmtp')dnl
MAILER(`fido')dnl
dnl
dnl Just an other (open)ldap feature is the usage of maill500 as mailer
dnl for a given (open)ldap domain (see manual page mail500).
dnl
dnl MAILER(`mail500', `place_here_your_openldap_domain')dnl
dnl
dnl This line is required for formating the /etc/sendmail.cf
dnl
LOCAL_CONFIG
dnl
dnl The alternate names of this host:
dnl
dnl Cw localhost www.domain.notused
dnl

mfg

RichieX
27.10.06, 10:59
In der sendmail.mc sind weder Authentifizierung noch ein Smarthost eingestellt. Vermutlich hast du das über yast getan. Sorry, da kenn ich mich nicht so toll aus, ich konfiguriere direkt in der sendmail.mc. Auf jeden Fall wird es den Host gmx.at nicht geben, vielleicht aber smtp.gmx.at. Korrigiere das.

Dann zum "user unknown": Dein sendmail meckert nur an, dass der Benutzer "test" auf deinem System nicht existiert. Das sagt er dir aber nur, weil der MDA dem Benutzer das scheitern der Zustellung mitteilen will. Abhilfe: Einen existierenden Benutzer als Absender benutzen.

RichieX

DBGTMaster
27.10.06, 11:41
define(`SMART_HOST', `mail.wvnet.at')dnl


Diese Zeile steht nun in der Config drin, ist das so ok?
auf jeden Fall funktioniert es immer noch nicht!

RichieX
27.10.06, 12:34
Wenn mail.wvnet.at dein Smarthost sein soll, ja! Ich dachte du willst über GMX senden? :confused:

DBGTMaster
27.10.06, 13:04
Wenn mail.wvnet.at dein Smarthost sein soll, ja! Ich dachte du willst über GMX senden? :confused:

ne eigentlich nicht, ich will bloss eine mail NACH gmx.at senden (DBGTMaster@gmx.at), will aber nicht funktionieren!


Oct 27 13:22:37 pcThomas sendmail[11671]: k9RBMbnI011671: from=root, size=12, class=0, nrcpts=2, msgid=<200610271122.k9RBMbnI0
11671@pcThomas.sin.co.at>, relay=root@localhost
Oct 27 13:22:38 pcThomas sendmail[11672]: k9RBMb1I011672: <test@pcThomas.sin.co.at>... User unknown
Oct 27 13:22:38 pcThomas sendmail[11671]: k9RBMbnI011671: to=test, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer
=relay, pri=60012, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Oct 27 13:22:38 pcThomas sendmail[11672]: k9RBMb1I011672: from=<root@pcThomas.sin.co.at>, size=279, class=0, nrcpts=1, msgid=<
200610271122.k9RBMbnI011671@pcThomas.sin.co.at>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Oct 27 13:22:38 pcThomas sendmail[11671]: k9RBMbnI011671: to=manninger@ktv-krems.at, ctladdr=root (0/0), delay=00:00:01, xdela
y=00:00:01, mailer=relay, pri=60012, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9RBMb1I011672 Message accepted for
delivery)
Oct 27 13:22:38 pcThomas sendmail[11671]: k9RBMbnI011671: k9RBMbnJ011671: DSN: User unknown
Oct 27 13:22:38 pcThomas sendmail[11674]: k9RBMb1I011672: to=<manninger@ktv-krems.at>, ctladdr=<root@pcThomas.sin.co.at> (0/0)
, delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=120279, relay=ktv-krems.at, dsn=5.1.2, stat=Host unknown (Name server: kt
v-krems.at: host not found)
Oct 27 13:22:38 pcThomas sendmail[11674]: k9RBMb1I011672: k9RBMc1I011674: DSN: Host unknown (Name server: ktv-krems.at: host n
ot found)
Oct 27 13:22:38 pcThomas sendmail[11674]: k9RBMc1I011674: to=<root@pcThomas.sin.co.at>, delay=00:00:00, xdelay=00:00:00, maile
r=local, pri=31533, dsn=2.0.0, stat=Sent
Oct 27 13:22:38 pcThomas sendmail[11672]: k9RBMb1K011672: from=<>, size=1885, class=0, nrcpts=1, msgid=<200610271122.k9RBMbnJ0
11671@pcThomas.sin.co.at>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Oct 27 13:22:38 pcThomas sendmail[11671]: k9RBMbnJ011671: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31036, r
elay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9RBMb1K011672 Message accepted for delivery)
Oct 27 13:22:38 pcThomas sendmail[11674]: k9RBMb1I011672: k9RBMc1J011674: postmaster notify: Host unknown (Name server: ktv-kr
ems.at: host not found)
Oct 27 13:22:38 pcThomas sendmail[11676]: k9RBMb1K011672: to=<root@pcThomas.sin.co.at>, delay=00:00:00, xdelay=00:00:00, maile
r=local, pri=32097, dsn=2.0.0, stat=Sent
Oct 27 13:22:46 pcThomas sendmail[11674]: k9RBMc1J011674: to=root, delay=00:00:08, xdelay=00:00:08, mailer=local, pri=30000, d
sn=2.0.0, stat=Sent

hier wurde bloss die mail woanders hingeschickt, funktioniert aber auch nicht!

DBGTMaster
27.10.06, 14:15
ich hatte mail.wvnet.at in Yast Config von sendmail & in der Datei eingetragen, habe nun vom Yast den eintrag rausgelöscht, schon sind weniger meldungen da:


Oct 27 14:15:38 pcThomas sendmail[12180]: k9RCFcVf012180: from=root, size=12, class=0, nrcpts=2, msgid=<200610271215.k9RCFcVf0
12180@pcThomas.sin.co.at>, relay=root@localhost
Oct 27 14:15:38 pcThomas sendmail[12181]: k9RCFcLj012181: <test@pcThomas.sin.co.at>... User unknown
Oct 27 14:15:38 pcThomas sendmail[12180]: k9RCFcVf012180: to=test, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer
=relay, pri=60012, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Oct 27 14:15:38 pcThomas sendmail[12181]: k9RCFcLj012181: from=<root@pcThomas.sin.co.at>, size=279, class=0, nrcpts=1, msgid=<
200610271215.k9RCFcVf012180@pcThomas.sin.co.at>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Oct 27 14:15:38 pcThomas sendmail[12180]: k9RCFcVf012180: to=DBGTMaster@gmx.at, ctladdr=root (0/0), delay=00:00:00, xdelay=00:
00:00, mailer=relay, pri=60012, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9RCFcLj012181 Message accepted for deliv
ery)
Oct 27 14:15:38 pcThomas sendmail[12180]: k9RCFcVf012180: k9RCFcVg012180: DSN: User unknown
Oct 27 14:15:38 pcThomas sendmail[12181]: k9RCFcLl012181: from=<>, size=1885, class=0, nrcpts=1, msgid=<200610271215.k9RCFcVg0
12180@pcThomas.sin.co.at>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Oct 27 14:15:38 pcThomas sendmail[12180]: k9RCFcVg012180: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31036, r
elay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9RCFcLl012181 Message accepted for delivery)
Oct 27 14:15:38 pcThomas sendmail[12184]: k9RCFcLl012181: to=<root@pcThomas.sin.co.at>, delay=00:00:00, xdelay=00:00:00, maile
r=local, pri=32097, dsn=2.0.0, stat=Sent
Oct 27 14:16:08 pcThomas sendmail[12183]: k9RCFcLj012181: to=<DBGTMaster@gmx.at>, ctladdr=<root@pcThomas.sin.co.at> (0/0), del
ay=00:00:30, xdelay=00:00:30, mailer=esmtp, pri=120279, relay=gmx.at [213.165.65.50], dsn=4.0.0, stat=Deferred: Connection tim
ed out with gmx.at

RichieX
27.10.06, 17:10
Das sieht jetzt aus wie Fehler in der Namensauflösung. Überprüfe doch mal deine DNS-Einstelungen (resolv.conf)

RichieX