PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : meine eMails werden nur als SPAM erkannt - Problem mit dynamischer IP



tHaHooL
15.03.07, 09:25
Ich habe ein kleines Problem mit einem Groupware Server (Scalix) welchen ich zu Testzwecken teste.
Das Problem - ich habe nur eine dynamische IP, bin noch einige Zeit an den Provider gebunden und 1&1 macht keine Anstalten mir eine feste IP zu geben :(

Ich verschicke meine Mails per Postfix mittlerweile schon über einen anderen Server via SMTP-Auth raus, allerdings steht dummerweise im Header noch die Ursprungs-IP drin und schwupps... schon schlägt jeder SPAM-Filter gnadenlos zu. Die IP-Range von 1&1, in diesem Falle 176.6.xxx.xxx ist komplett geblacklistet.

Der Mailempfang läuft übrigens via dyndns und funktioniert einwandfrei. Ist aber nur eine Notlösung und für meine Testzwecke ausreichend. Da keine wichtigen Sachen drübergehen, kann ich auch das "Risiko" einer nicht aktualisierten IP bei dnydns vernachlässigen... aber ok, das nur kurz zum Empfang.

Hat jemand eine Idee wie ich vorgehen könnte um trotzdem (nicht-SPAM-konforme) Mails zu versenden?

Dankeschön! :)

eule
15.03.07, 09:59
Smarthost benutzen

tHaHooL
15.03.07, 12:42
Das habe ich schon versucht, ich habe auth.mail.onlinehome.de verwendet. Vieleicht ist das auch der falsche ?

bla!zilla
15.03.07, 12:45
Wesewegen werden deine Mails geblockt? Bestimmt nicht weil irgendwo im Header eine private oder öffentliche IP von 1&1 steht.

tHaHooL
15.03.07, 13:08
Ok, der Smarthost hat DOCH etwas gebracht. Meine Testmails sind bei dem einen Mailserver rausgefiltert worden weil der mittlerweile gelernt hat, dass meine

eMail-Addy = Böse

und dem anderen Mailserver waren meine Nachrichten zu kurz.
Wenn ich nun mit übern den Smarthost eine normale Nachricht verfasse, dann kommt die auch an. Wunderbar :-)

Danke für die schnelle Hilfe!

tHaHooL
15.03.07, 13:12
***STOPP - zu früh gefreut***

Bei AOL bekomm ich diesen netten Hinweis:
http://postmaster.info.aol.com/errors/554rtrbb.html

bla!zilla
15.03.07, 13:46
Poste bitte mal einen kompletten E-Mail Header. Deine externe IP ist aber dynamisch, korrekt?

tHaHooL
15.03.07, 14:12
Also der Groupware-Server hängt an einem normalen DSL der vom ISP mit einer dynamischen IP versorgt wird. IP=77.176.xxx.xxx (1&1)

Hier mal der Header von einer Nachricht die beim Empfänger durchgegangen ist:


Return-Path: <mein.name@meine-domain.de>
X-Envelope-To: empfänger-name@empfänger-domain.de
X-Spam-Status: No, hits=3.8 required=4.5
tests=AWL: 0.486,BAYES_50: 1.567,FORGED_RCVD_HELO: 0.135,
HTML_MESSAGE: 0.001,MISSING_MIMEOLE: 1.612,TOTAL_SCORE: 3.801
X-Spam-Level: ***
Received: from localhost ([127.0.0.1])
by mail.empfänger-domain.de
for empfänger-name@empfänger-domain.de;
Thu, 15 Mar 2007 14:59:34 +0100
Received-SPF: none (net76.empfänger-domain.local: 77.176.xxx.xxx (meine aktuelle IP vom ISP) is neither permitted nor denied by domain of meine-domain.de) client-ip=77.176.xxx.xxx; (meine aktuelle IP vom ISP) envelope-from=mein.name@meine-domain.de; helo=server02.site; (server02 = mein Mailserver)
Received: from mnch-4db0069d.pool.einsundeins.de ([77.176.xxx.xxx] helo=server02.site)
by net76.empfänger-domain.local (Firewall vom Empfänger)with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.43)
id 1HRqUG-0002AY-Nq
for empfänger-name@empfänger-domain.de; Thu, 15 Mar 2007 14:59:30 +0100
Received: from server02.site (localhost [127.0.0.1])
by server02.site (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id l2FDw3b9014085
for <empfänger-name@empfänger-domain.de>; Thu, 15 Mar 2007 14:58:04 +0100
Received: from server02.site (server02.site [192.168.1.2])
by server02.site (Scalix SMTP Relay 11.0.2.17)
via ESMTP; Thu, 15 Mar 2007 14:58:03 +0100 (CET)
Date: Thu, 15 Mar 2007 14:58:03 +0100
From: Mein Name <mein-name@meine-domain.de>
To: empfänger-name@empfänger-domain.de
Message-ID: <26243678.271173967083249.JavaMail.root@server02.si te>
Subject: TEST neu
X-MSMail-Priority: medium
x-scalix-Hops: 1
X-Mailer: Scalix 11.0.2.23
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_7_32002750.1173967083246"
X-Spam-Score: 3.1 (+++)
X-Spam-Report: 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP
[77.176.xxx.xxx listed in combined.njabl.org]
1.4 MISSING_MIMEOLE Message has X-MSMail-Priority, but no X-MimeOLE


Schick ich nun die selbe Nachricht an AOL, dann gibts nur folgendes zurück:



The original message was received at Thu, 15 Mar 2007 14:03:23 +0100
from localhost [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<aol-name@aol.com>
(reason: 554- (RTR:BB) http://postmaster.info.aol.com/errors/554rtrbb.html
)

----- Transcript of session follows -----
... while talking to mailin-01.mx.aol.com.:
<<< 554- (RTR:BB) http://postmaster.info.aol.com/errors/554rtrbb.html
<<< 554 Connecting IP: 77.176.xxx.xxx
... while talking to mailin-03.mx.aol.com.:
<<< 554- (RTR:BB) http://postmaster.info.aol.com/errors/554rtrbb.html
<<< 554 Connecting IP: 77.176.xxx.xxx
... while talking to mailin-04.mx.aol.com.:
<<< 554- (RTR:BB) http://postmaster.info.aol.com/errors/554rtrbb.html
<<< 554 Connecting IP: 77.176.xxx.xxx
... while talking to mailin-02.mx.aol.com.:
<<< 554- (RTR:BB) http://postmaster.info.aol.com/errors/554rtrbb.html
<<< 554 Connecting IP: 77.176.xxx.xxx
554 5.0.0 Service unavailable

tHaHooL
15.03.07, 14:14
An T-Online kann ich übrigens auch Mails schicken. Das hat vor der Smarthost Umstellung auch nicht geklappt... geht aber nun einwandfrei.

bla!zilla
15.03.07, 14:30
Deine Kiste sendet aber nicht über einen SmartHost. Das ist dein Problem. Im Header taucht der SmartHost nicht auf, sollte er aber. Und das Mails von MTA, die in einem dynamischen IP-Pool stehen, gedroppt werden, ist einfach nur normal und auch absolut in Ordnung.

tHaHooL
15.03.07, 14:52
Uppsss... dann muss ich das noch mal checken - danke!

Thallez
15.03.07, 19:18
Hier steht wie es geht hab ich ein paar Scalix Threads vorher erklärt

http://www.linuxforen.de/forums/showpost.php?p=1492076&postcount=8

tHaHooL
16.03.07, 07:14
Hi Thallez!

Danke für den Post.
Hab ich auch schon gefunden und probiert, aber hat bei mir nicht funktioniert.
Welche Distri hast Du dafür verwendet?
Ich hab im Moment OpenSuse 10.1 und bin mir nicht ganz sicher ob YAST da wieder seine Finger im Spiel hat - Dort kann man ja auch bei "Mail Transfer Agent" eine Authentifizierung einstellen, diese wird allerdings nicht in "Client-Info" gespeichert...

bla!zilla
16.03.07, 08:00
YaST hat da seine Finger nicht mit drin. Du sagst YaST was du machen willst und YaST tut es. Nicht alle Einstellungen sind über YaST erreichbar, also bitte den MTA händisch konfigurieren. Es gibt aber auch die Möglichkeit über die /etc/sysconfig/postfix den MTA zu konfigurieren. Dort findes du den Eintrag "POSTFIX_RELAYHOST=". Anschließend ein gepflegtes SuSEconfig --module postfix und gut is.

eule
16.03.07, 08:19
Dort findes du den Eintrag "POSTFIX_RELAYHOST=".
Ich dachte Scalix benutzt Sendmail, geht das auch mit Postfix?

tHaHooL
16.03.07, 08:22
@eule

Richtig, Scalix verwendet Sendmail.

Ok, danke für die Tipps - bin gerade nicht am System, werde es aber dann probieren. Ich berichte dann...

Thallez
16.03.07, 18:57
mach mal das leerzeichen hier weg


AuthInfo: mailserver.de "U:user" "P:password"

schreib das mal so


AuthInfo:mailserver.de "U:user" "P:password"

dann dürfte es gehen

Blade
16.03.07, 19:32
Den SmartHost kann man unter OpenSuSE 10.1 prima und funktionierend mit YAST einstellen. Überprüf mal die SmartHost-Einstellungen mit YAST.

RedDust
16.03.07, 21:20
Hallo, wollte mal nachfragen wie du das mit dem Mailserver geregelt hast, wil ich hatte damals Mercury benutzt und damit hab ich gar nix hinbekommen.

Thallez
17.03.07, 00:00
Mercury ist der nicht für Windows
Irgendwie werde ich aus deiner Frage nicht schlau

tHaHooL
21.03.07, 10:47
Den SmartHost kann man unter OpenSuSE 10.1 prima und funktionierend mit YAST einstellen. Überprüf mal die SmartHost-Einstellungen mit YAST.

Das hätte ich auch gedacht und auch so gemacht, aber irgendwie klappt das bei mir nicht. Ich hab die Einstellungen in "Yast -> Netzwerkdienste-> Mail Transfer Agent" vorgenommen, aber offensichtlich schickt er nicht über meinen Smarthost. Zumindest ist in dem von mir geposteten Header nix davon zu sehen.
Ist ganz so als würd er die Einstellungen von YAST ignorieren.

Thallez
21.03.07, 18:43
las doch einfach mal deine sendmail.cf und sendmail.mc sehen werden den fehler schon finden

tHaHooL
22.03.07, 09:08
Hier mal meine sendmail.cf



V10/Berkeley
O DontBlameSendmail=AssumeSafeChown,TrustStickyBit,G roupReadableSASLDBFile
Cwlocalhost
Fw-o /etc/mail/local-host-names %[^\#]
CP.
DSmein-smarthost.de
CO @ % !
C..
C[[
Kresolve host -a<OKR> -T<TEMP>
C{ResOk}OKR
FR-o /etc/mail/relay-domains %[^\#]
Karith arith
Kdequote dequote
F{G}/etc/mail/local-host-names
C{E}root
DnMAILER-DAEMON
Kmailertable hash -o /etc/mail/mailertable.db
Kgenerics hash -o /etc/mail/genericstable.db
Kvirtuser hash -o /etc/mail/virtusertable.db
CPREDIRECT
Kldapsx ldap -h localhost -p 5757 -M simple
-T<TMPF> -1 -b "" -v scalixInstanceName -k (mail=%0)
DZ8.13.6/SuSE Linux 0.8
O SevenBitInput=False
O AliasWait=10
O AliasFile=/etc/aliases
O MinFreeBlocks=100
O BlankSub=.
O HoldExpensive=False
O DeliveryMode=background
O TempFileMode=0600
O HelpFile=/usr/lib/sendmail.d/helpfile
O SendMimeErrors=True
O ForwardPath=$z/.forward.$w+$h:$z/.forward+$h:$z/.forward.$w:$z/.forward
O ConnectionCacheSize=2
O ConnectionCacheTimeout=5m
O HostStatusDirectory=.hoststat
O UseErrorsTo=False
O LogLevel=9
O CheckAliases=False
O OldStyleHeaders=True
O DaemonPortOptions=Name=MTA
O PrivacyOptions=authwarnings,needmailhelo,novrfy,no expn,noverb
O PostmasterCopy=Postmaster
O QueueDirectory=/var/spool/mqueue
O Timeout.iconnect=30s
O Timeout.ident=0s
O Timeout.queuereturn=5d
O Timeout.queuewarn=4h
O SuperSafe=True
O StatusFile=/var/lib/sendmail/statistics
O DefaultUser=daemon:daemon
O UserDatabaseSpec=/etc/mail/userdb.db
O MaxDaemonChildren=15
O ServiceSwitchFile=/etc/mail/service.switch
O HostsFile=/etc/hosts
O NoRecipientAction=add-to-undisclosed
O SmtpGreetingMessage=$j Sendmail $v/$Z; $b
O UnixFromLine=From $g $d
O OperatorChars=.:%@!^/[]+
O DeadLetterDrop=/var/log/dead.letter
O ControlSocketName=/var/run/sendmail/control
O MaxMimeHeaderLength=256/128
O MaxHeadersLength=32768
O CACertPath=/etc/mail/certs
Pfirst-class=0
Pspecial-delivery=100
Plist=-30
Pbulk=-60
Pjunk=-100
Ft-o /etc/mail/trusted-users %[^\#]
Troot
Tdaemon
Tuucp
Tmdom vscan wwwrun root uucp daemon mail
H?P?Return-Path: <$g>
HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
$.$?{auth_type}(authenticated$?{auth_ssf} bits=${auth_ssf}$.)
$.by $j ($v/$Z)$?r with $r$. id $i$?{tls_version}
(version=${tls_version} cipher=${cipher} bits=${cipher_bits} verify=${verify})$.$?u
for $u; $|;
$.$b
H?D?Resent-Date: $a
H?D?Date: $a
H?F?Resent-From: $?x$x <$g>$|$g$.
H?F?From: $?x$x <$g>$|$g$.
H?x?Full-Name: $x
H?M?Resent-Message-Id: <$t.$i@$j>
H?M?Message-Id: <$t.$i@$j>
Scanonify=3
R$@ $@ <@>
R$* $: $1 <@> mark addresses
R$* < $* > $* <@> $: $1 < $2 > $3 unmark <addr>
R@ $* <@> $: @ $1 unmark @host:...
R$* [ IPv6 : $+ ] <@> $: $1 [ IPv6 : $2 ] unmark IPv6 addr
R$* :: $* <@> $: $1 :: $2 unmark node::addr
R:include: $* <@> $: :include: $1 unmark :include:...
R$* : $* [ $* ] $: $1 : $2 [ $3 ] <@> remark if leading colon
R$* : $* <@> $: $2 strip colon if marked
R$* <@> $: $1 unmark
R$* ; $1 strip trailing semi
R$* < $+ :; > $* $@ $2 :; <@> catch <list:;>
R$* < $* ; > $1 < $2 > bogus bracketed semi
R$@ $@ :; <@>
R$* $: < $1 > housekeeping <>
R$+ < $* > < $2 > strip excess on left
R< $* > $+ < $1 > strip excess on right
R<> $@ < @ > MAIL FROM:<> case
R< $+ > $: $1 remove housekeeping <>
R@ $+ , $+ $2
R@ [ $* ] : $+ $2
R@ $+ : $+ $2
R $+ : $* ; @ $+ $@ $>Canonify2 $1 : $2 ; < @ $3 > list syntax
R $+ : $* ; $@ $1 : $2; list syntax
R$+ @ $+ $: $1 < @ $2 > focus on domain
R$+ < $+ @ $+ > $1 $2 < @ $3 > move gaze right
R$+ < @ $+ > $@ $>Canonify2 $1 < @ $2 > already canonical
R$- ! $+ $@ $>Canonify2 $2 < @ $1 .UUCP > resolve uucp names
R$+ . $- ! $+ $@ $>Canonify2 $3 < @ $1 . $2 > domain uucps
R$+ ! $+ $@ $>Canonify2 $2 < @ $1 .UUCP > uucp subdomains
R$* % $* $1 @ $2 First make them all @s.
R$* @ $* @ $* $1 % $2 @ $3 Undo all but the last.
R$* @ $* $@ $>Canonify2 $1 < @ $2 > Insert < > and finish
R$* $@ $>Canonify2 $1
SCanonify2=96
R$* < @ localhost > $* $: $1 < @ $j . > $2 no domain at all
R$* < @ localhost . $m > $* $: $1 < @ $j . > $2 local domain
R$* < @ localhost . UUCP > $* $: $1 < @ $j . > $2 .UUCP domain
R$* < @ [ $+ ] > $* $: $1 < @@ [ $2 ] > $3 mark [addr]
R$* < @@ $=w > $* $: $1 < @ $j . > $3 self-literal
R$* < @@ $+ > $* $@ $1 < @ $2 > $3 canon IP addr
R$* < @ $+ . UUCP > $* $: $1 < @ $[ $2 $] . UUCP . > $3
R$* < @ $+ . . UUCP . > $* $@ $1 < @ $2 . > $3
R$* < @ $* $=P > $* $: $1 < @ $2 $3 . > $4
R$* < @ $* $~P > $* $: $&{daemon_flags} $| $1 < @ $2 $3 > $4
R$* CC $* $| $* < @ $+.$+ > $* $: $3 < @ $4.$5 . > $6
R$* CC $* $| $* $: $3
R$* $| $* < @ $* > $* $: $2 < @ $[ $3 $] > $4
R$* $| $* $: $2
R$* < @ $=w > $* $: $1 < @ $2 . > $3
R$* < @ $=M > $* $: $1 < @ $2 . > $3
R$* < @ $={VirtHost} > $* $: $1 < @ $2 . > $3
R$* < @ $* $=G > $* $: $1 < @ $2 $3 . > $4
R$* < @ $* . . > $* $1 < @ $2 . > $3
Sfinal=4
R$+ :; <@> $@ $1 : handle <list:;>
R$* <@> $@ handle <> and list:;
R$* < @ $+ . > $* $1 < @ $2 > $3
R$* < @ *LOCAL* > $* $1 < @ $j > $2
R$* < $+ > $* $1 $2 $3 defocus
R@ $+ : @ $+ : $+ @ $1 , @ $2 : $3 <route-addr> canonical
R@ $* $@ @ $1 ... and exit
R$+ @ $- . UUCP $2!$1 u@h.UUCP => h!u
R$+ % $=w @ $=w $1 @ $2 u%host@host => u@host
SRecurse=97
R$* $: $>canonify $1
R$* $@ $>parse $1
Sparse=0
R$* $: $>Parse0 $1 initial parsing
R<@> $#local $: <@> special case error msgs
R$* $: $>ParseLocal $1 handle local hacks
R$* $: $>Parse1 $1 final parsing
SParse0
R<@> $@ <@> special case error msgs
R$* : $* ; <@> $#error $@ 5.1.3 $: "553 List:; syntax illegal for recipient addresses"
R@ <@ $* > < @ $1 > catch "@@host" bogosity
R<@ $+> $#error $@ 5.1.3 $: "553 User address required"
R$+ <@> $#error $@ 5.1.3 $: "553 Hostname required"
R$* $: <> $1
R<> $* < @ [ $* ] : $+ > $* $1 < @ [ $2 ] : $3 > $4
R<> $* < @ [ $* ] , $+ > $* $1 < @ [ $2 ] , $3 > $4
R<> $* < @ [ $* ] $+ > $* $#error $@ 5.1.2 $: "553 Invalid address"
R<> $* < @ [ $+ ] > $* $1 < @ [ $2 ] > $3
R<> $* <$* : $* > $* $#error $@ 5.1.3 $: "553 Colon illegal in host name part"
R<> $* $1
R$* < @ . $* > $* $#error $@ 5.1.2 $: "553 Invalid host name"
R$* < @ $* .. $* > $* $#error $@ 5.1.2 $: "553 Invalid host name"
R$* < @ $* @ > $* $#error $@ 5.1.2 $: "553 Invalid route address"
R$* @ $* < @ $* > $* $#error $@ 5.1.3 $: "553 Invalid route address"
R$* , $~O $* $#error $@ 5.1.3 $: "553 Invalid route address"
R$* < @ > $* $@ $>Parse0 $>canonify $1 user@ => user
R< @ $=w . > : $* $@ $>Parse0 $>canonify $2 @here:... -> ...
R$- < @ $=w . > $: $(dequote $1 $) < @ $2 . > dequote "foo"@here
R< @ $+ > $#error $@ 5.1.3 $: "553 User address required"
R$* $=O $* < @ $=w . > $@ $>Parse0 $>canonify $1 $2 $3 ...@here -> ...
R$- $: $(dequote $1 $) < @ *LOCAL* > dequote "foo"
R< @ *LOCAL* > $#error $@ 5.1.3 $: "553 User address required"
R$* $=O $* < @ *LOCAL* >
$@ $>Parse0 $>canonify $1 $2 $3 ...@*LOCAL* -> ...
R$* < @ *LOCAL* > $: $1
SParse1
R$* < @ [ $+ ] > $* $: $>ParseLocal $1 < @ [ $2 ] > $3 numeric internet spec
R$* < @ [ $+ ] > $* $: $1 < @ [ $2 ] : $S > $3 Add smart host to path
R$* < @ [ $+ ] : > $* $#esmtp $@ [$2] $: $1 < @ [$2] > $3 no smarthost: send
R$* < @ [ $+ ] : $- : $*> $* $#$3 $@ $4 $: $1 < @ [$2] > $5 smarthost with mailer
R$* < @ [ $+ ] : $+ > $* $#esmtp $@ $3 $: $1 < @ [$2] > $4 smarthost without mailer
R$+ $: <!> $1 Mark for lookup
R<!> $+ < @ $={VirtHost} . > $: < $(virtuser $1 @ $2 $@ $1 $: @ $) > $1 < @ $2 . >
R<!> $+ < @ $=w . > $: < $(virtuser $1 @ $2 $@ $1 $: @ $) > $1 < @ $2 . >
R<@> $+ + $+ < @ $* . >
$: < $(virtuser $1 + + @ $3 $@ $1 $@ $2 $@ +$2 $: @ $) > $1 + $2 < @ $3 . >
R<@> $+ + $* < @ $* . >
$: < $(virtuser $1 + * @ $3 $@ $1 $@ $2 $@ +$2 $: @ $) > $1 + $2 < @ $3 . >
R<@> $+ + $* < @ $* . >
$: < $(virtuser $1 @ $3 $@ $1 $@ $2 $@ +$2 $: @ $) > $1 + $2 < @ $3 . >
R<@> $+ + $+ < @ $+ . > $: < $(virtuser + + @ $3 $@ $1 $@ $2 $@ +$2 $: @ $) > $1 + $2 < @ $3 . >
R<@> $+ + $* < @ $+ . > $: < $(virtuser + * @ $3 $@ $1 $@ $2 $@ +$2 $: @ $) > $1 + $2 < @ $3 . >
R<@> $+ + $* < @ $+ . > $: < $(virtuser @ $3 $@ $1 $@ $2 $@ +$2 $: ! $) > $1 + $2 < @ $3 . >
R<@> $+ < @ $+ . > $: < $(virtuser @ $2 $@ $1 $: @ $) > $1 < @ $2 . >
R<@> $+ $: $1
R<!> $+ $: $1
R< error : $-.$-.$- : $+ > $* $#error $@ $1.$2.$3 $: $4
R< error : $- $+ > $* $#error $@ $(dequote $1 $) $: $2
R< $+ > $+ < @ $+ > $: $>Recurse $1
R$=L < @ $=w . > $#local $: @ $1 special local names
R$+ < @ $=w . > $#local $: $1 regular local name
R$* <@ $+ > $* $: < $2 > $1 < @ $2 > $3 extract host name
R< $+ . > $* $: < $1 > $2 strip trailing dot
R< $+ > $* $: < $(mailertable $1 $) > $2 lookup
R< $~[ : $* > $* $>MailerToTriple < $1 : $2 > $3 check -- resolved?
R< $+ > $* $: $>Mailertable <$1> $2 try domain
R$* < @ $=Z . UUCP. > $* $#uucp-uudom $@ $2 $: $1 < @ $2 .UUCP. > $3
R$* < @ $=Y . UUCP. > $* $#uucp-new $@ $2 $: $1 < @ $2 .UUCP. > $3
R$* < @ $=U . UUCP. > $* $#uucp-old $@ $2 $: $1 < @ $2 .UUCP. > $3
R$* < @ $+ .UUCP. > $* $#uucp-old $@ $2 $: $1 < @ $2 .UUCP. > $3 user@host.UUCP
R$* < @ $* > $* $: $>MailerToTriple < $S > $1 < @ $2 > $3 glue on smarthost name
R$* < @$* > $* $#esmtp $@ $2 $: $1 < @ $2 > $3 user@host.domain
R$=L $#local $: @ $1 special local names
R$+ $#local $: $1 regular local names
SLocal_localaddr
Slocaladdr=5
R$+ $: $1 $| $>"Local_localaddr" $1
R$+ $| $#ok $@ $1 no change
R$+ $| $#$* $#$2
R$+ $| $* $: $1
R$+ + * $#local $@ $&h $: $1
R$+ + $* $#local $@ + $2 $: $1 + *
R$+ $: <> $1
R< > $+ $: < > < $1 <> $&h > nope, restore +detail
R< > < $+ <> + $* > $: < > < $1 + $2 > check whether +detail
R< > < $+ <> $* > $: < > < $1 > else discard
R< > < $+ + $* > $* < > < $1 > + $2 $3 find the user part
R< > < $+ > + $* $#local $@ $2 $: @ $1 strip the extra +
R< > < $+ > $@ $1 no +detail
R$+ $: $1 <> $&h add +detail back in
R$+ <> + $* $: $1 + $2 check whether +detail
R$+ <> $* $: $1 else discard
R< local : $* > $* $: $>MailerToTriple < local : $1 > $2 no host extension
R< error : $* > $* $: $>MailerToTriple < error : $1 > $2 no host extension
R< $~[ : $+ > $+ $: $>MailerToTriple < $1 : $2 > $3 < @ $2 >
R< $+ > $+ $@ $>MailerToTriple < $1 > $2 < @ $1 >
SMailertable=90
R$* <$- . $+ > $* $: $1$2 < $(mailertable .$3 $@ $1$2 $@ $2 $) > $4
R$* <$~[ : $* > $* $>MailerToTriple < $2 : $3 > $4 check -- resolved?
R$* < . $+ > $* $@ $>Mailertable $1 . <$2> $3 no -- strip & try again
R$* < $* > $* $: < $(mailertable . $@ $1$2 $) > $3 try "."
R< $~[ : $* > $* $>MailerToTriple < $1 : $2 > $3 "." found?
R< $* > $* $@ $2 no mailertable match
SMailerToTriple=95
R< > $* $@ $1 strip off null relay
R< error : $-.$-.$- : $+ > $* $#error $@ $1.$2.$3 $: $4
R< error : $- : $+ > $* $#error $@ $(dequote $1 $) $: $2
R< error : $+ > $* $#error $: $1
R< local : $* > $* $>CanonLocal < $1 > $2
R< $~[ : $+ @ $+ > $*<$*>$* $# $1 $@ $3 $: $2<@$3> use literal user
R< $~[ : $+ > $* $# $1 $@ $2 $: $3 try qualified mailer
R< $=w > $* $@ $2 delete local host
R< $+ > $* $#relay $@ $1 $: $2 use unqualified mailer
SCanonLocal
R< $* > < @ $+ > : $+ $@ $>Recurse $3
R< $* > $+ $=O $+ < @ $+ > $@ $>Recurse $2 $3 $4
R< $* > $* < @ $* . > $: < $1 > $2 < @ $3 >
R< > $* < @ $* > $* $#local $@ $1@$2 $: $1
R< > $+ $#local $@ $1 $: $1
R< $+ @ $+ > $* < @ $* > $: < $1 > $3 < @ $4 >
R< $+ > $* <@ $* > $* $#local $@ $2@$3 $: $1
R< $+ > $* $#local $@ $2 $: $1
SMasqHdr=93
R$+ < @ $* $=G . > $: < $1@$2$3 > $1 < @ $2$3 . > @ mark
R$+ < @ *LOCAL* > $: < $1@$j > $1 < @ *LOCAL* > @ mark
R< $+ > $+ < $* > @ $: < $(generics $1 $: @ $1 $) > $2 < $3 >
R<@$+ + $* @ $+> $+ < @ $+ >
$: < $(generics $1+*@$3 $@ $2 $:@$1 + $2@$3 $) > $4 < @ $5 >
R<@$+ + $* @ $+> $+ < @ $+ >
$: < $(generics $1@$3 $: $) > $4 < @ $5 >
R<@$+ > $+ < @ $+ > $: < > $2 < @ $3 >
R< > $+ < @ $+ . > $: < $(generics @$2 $@ $1 $: $) > $1 < @ $2 . >
R< > $+ < @ $+ > $: < $(generics $1 $: $) > $1 < @ $2 >
R< > $+ + $* < @ $+ > $: < $(generics $1+* $@ $2 $: $) > $1 + $2 < @ $3 >
R< > $+ + $* < @ $+ > $: < $(generics $1 $: $) > $1 + $2 < @ $3 >
R< $* @ $* > $* < $* > $@ $>canonify $1 @ $2 found qualified
R< $+ > $* < $* > $: $>canonify $1 @ *LOCAL* found unqualified
R< > $* $: $1 not found
R$* < @ $* $=N . > $@ $1 < @ $2 $3 . >
R$* < @ *LOCAL* > $@ $1 < @ $j . >
SMasqEnv=94
R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2
SParseLocal=98
R$* < @ $+ .REDIRECT. > $: $1 < @ $2 . REDIRECT . > < ${opMode} >
R$* < @ $+ .REDIRECT. > <i> $: $1 < @ $2 . REDIRECT. >
R$* < @ $+ .REDIRECT. > < $- > $#error $@ 5.1.1 $: "551 User has moved; please try " <$1@$2>
R$+ < @ $+ . > $: $>ScalixMapper <$1 < @ $2 . >> <$1 @ $2>
SCanonAddr
R$* $: $>Parse0 $>canonify $1 make domain canonical
SParseRecipient
R$* $: <?> $>CanonAddr $1
R<?> $* < @ $* . > <?> $1 < @ $2 > strip trailing dots
R<?> $- < @ $* > $: <?> $(dequote $1 $) < @ $2 > dequote local part
R<?> $* $=O $* < @ $* > $: <NO> $1 $2 $3 < @ $4>
R<?> $* $@ $1
R<NO> $* < @ $* $=R > $: <RELAY> $1 < @ $2 $3 >
R<RELAY> $* < @ $* > $@ $>ParseRecipient $1
R<$+> $* $@ $2
SLocal_check_relay
Scheck_relay
R$* $: $1 $| $>"Local_check_relay" $1
R$* $| $* $| $#$* $#$3
R$* $| $* $| $* $@ $>"Basic_check_relay" $1 $| $2
SBasic_check_relay
R$* $: < $&{deliveryMode} > $1
R< d > $* $@ deferred
R< $* > $* $: $2
SLocal_check_mail
Scheck_mail
R$* $: $1 $| $>"Local_check_mail" $1
R$* $| $#$* $#$2
R$* $| $* $@ $>"Basic_check_mail" $1
SBasic_check_mail
R$* $: < $&{deliveryMode} > $1
R< d > $* $@ deferred
R< $* > $* $: $2
R$* $: $1 $| $>"tls_client" $&{verify} $| MAIL
R$* $| $#$+ $#$2
R$* $| $* $: $1
R<> $@ <OK> we MUST accept <> (RFC 1123)
R$+ $: <?> $1
R<?><$+> $: <@> <$1>
R<?>$+ $: <@> <$1>
R$* $: $&{daemon_flags} $| $1
R$* f $* $| <@> < $* @ $- > $: < ? $&{client_name} > < $3 @ $4 >
R$* u $* $| <@> < $* > $: <?> < $3 >
R$* $| $* $: $2
R<@> < $* @ localhost > $: < ? $&{client_name} > < $1 @ localhost >
R<@> < $* @ [127.0.0.1] >
$: < ? $&{client_name} > < $1 @ [127.0.0.1] >
R<@> < $* @ localhost.$m >
$: < ? $&{client_name} > < $1 @ localhost.$m >
R<@> < $* @ localhost.UUCP >
$: < ? $&{client_name} > < $1 @ localhost.UUCP >
R<@> $* $: $1 no localhost as domain
R<? $=w> $* $: $2 local client: ok
R<? $+> <$+> $#error $@ 5.5.4 $: "553 Real domain name required for sender address"
R<?> $* $: $1
R$* $: <?> $>CanonAddr $1 canonify sender address and mark it
R<?> $* < @ $+ . > <?> $1 < @ $2 > strip trailing dots
R<?> $* < @ $* $=P > $: <OKR> $1 < @ $2 $3 >
R<?> $* < @ $j > $: <OKR> $1 < @ $j >
R<?> $* < @ $+ > $: <? $(resolve $2 $: $2 <PERM> $) > $1 < @ $2 >
R<? $* <$->> $* < @ $+ >
$: <$2> $3 < @ $4 >
R<?> $* $: $&{daemon_flags} $| <?> $1
R$* u $* $| <?> $* $: <OKR> $3
R$* $| $* $: $2
R<?> $* $: < ? $&{client_addr} > $1
R<?> $* $@ <OKR> ...local unqualed ok
R<? $+> $* $#error $@ 5.5.4 $: "553 Domain name required for sender address " $&f
...remote is not
R<?> $* $: @ $1 mark address: nothing known about it
R<$={ResOk}> $* $@ <OKR> domain ok: stop
R<TEMP> $* $#error $@ 4.1.8 $: "451 Domain of sender address " $&f " does not resolve"
R<PERM> $* $#error $@ 5.1.8 $: "553 Domain of sender address " $&f " does not exist"
SLocal_check_rcpt
Scheck_rcpt
R$* $: $1 $| $>"Local_check_rcpt" $1
R$* $| $#$* $#$2
R$* $| $* $@ $>"Basic_check_rcpt" $1
SBasic_check_rcpt
R<> $#error $@ nouser $: "553 User address required"
R$@ $#error $@ nouser $: "553 User address required"
R$* $: < $&{deliveryMode} > $1
R< d > $* $@ deferred
R< $* > $* $: $2
R$* $: $1 $| @ $>"Rcpt_ok" $1
R$* $| @ $#TEMP $+ $: $1 $| T $2
R$* $| @ $#$* $#$2
R$* $| @ RELAY $@ RELAY
R$* $| @ $* $: O $| $>"Relay_ok" $1
R$* $| T $+ $: T $2 $| $>"Relay_ok" $1
R$* $| $#TEMP $+ $#error $2
R$* $| $#$* $#$2
R$* $| RELAY $@ RELAY
R T $+ $| $* $#error $1
R$* $#error $@ 5.7.1 $: "550 Relaying denied"
SRcpt_ok
R$* $: $>ParseRecipient $1 strip relayable hosts
R$* $: $1 $| $>RelayTLS client authenticated?
R$* $| $# $+ $# $2 error/ok?
R$* $| $* $: $1 no
R$* $: $1 $| $>"Local_Relay_Auth" $&{auth_type}
R$* $| $# $* $# $2
R$* $| NO $: $1
R$* $| $* $: $1 $| $&{auth_type}
R$* $| $: $1
R$* $| $={TrustAuthMech} $# RELAY
R$* $| $* $: $1
R$+ < @ $=w > $@ RELAY
R$+ < @ $* $=R > $@ RELAY
R$* $: <?> $1
R<?> $* < @ $+ > $: <REMOTE> $1 < @ $2 >
R<?> $+ $@ RELAY
R<$+> $* $: $2
SRelay_ok
R$* $: $&{client_addr}
R$@ $@ RELAY originated locally
R0 $@ RELAY originated locally
R127.0.0.1 $@ RELAY originated locally
RIPv6:::1 $@ RELAY originated locally
R$=R $* $@ RELAY relayable IP address
R$* $: [ $1 ] put brackets around it...
R$=w $@ RELAY ... and see if it is local
R$* $: < $&{client_resolve} >
R<TEMP> $#TEMP $@ 4.4.0 $: "450 Relaying temporarily denied. Cannot resolve PTR record for " $&{client_addr}
R<FORGED> $#error $@ 5.7.1 $: "550 Relaying denied. IP name possibly forged " $&{client_name}
R<FAIL> $#error $@ 5.7.1 $: "550 Relaying denied. IP name lookup failed " $&{client_name}
R$* $: <@> $&{client_name}
R<@> $* $=P $:<?> $1 $2
R<@> $+ $:<?> $[ $1 $]
R$* . $1 strip trailing dots
R<?> $=w $@ RELAY
R<?> $* $=R $@ RELAY
SLocal_trust_auth
Strust_auth
R$* $: $&{auth_type} $| $1
R$@ $| $* $#error $@ 5.7.1 $: "550 not authenticated"
R$* $| $&{auth_authen} $@ identical
R$* $| <$&{auth_authen}> $@ identical
R$* $| $* $: $1 $| $>"Local_trust_auth" $2
R$* $| $#$* $#$2
R$* $#error $@ 5.7.1 $: "550 " $&{auth_authen} " not allowed to act as " $&{auth_author}
SLocal_Relay_Auth
Ssrv_features
Stry_tls
Stls_rcpt
Stls_client
R$* $| $* $@ $>"TLS_connection" $1
Stls_server
R$* $@ $>"TLS_connection" $1
STLS_connection
RSOFTWARE $#error $@ 4.7.0 $: "403 TLS handshake."
SRelayTLS
Sauthinfo
SEnvFromL
R<@> $n errors to mailer-daemon
R@ <@ $*> $n temporarily bypass Sun bogosity
R$+ $: $>AddDomain $1 add local domain if needed
R$* $: $>MasqEnv $1 do masquerading
SEnvToL
R$+ < @ $* > $: $1 strip host part
SHdrFromL
R<@> $n errors to mailer-daemon
R@ <@ $*> $n temporarily bypass Sun bogosity
R$+ $: $>AddDomain $1 add local domain if needed
R$* $: $>MasqHdr $1 do masquerading
SHdrToL
R$+ $: $>AddDomain $1 add local domain if needed
R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2
SAddDomain
R$* < @ $* > $* $@ $1 < @ $2 > $3 already fully qualified
R$+ $@ $1 < @ *LOCAL* > add local qualification
SMasqSMTP
R$* < @ $* > $* $@ $1 < @ $2 > $3 already fully qualified
R$+ $@ $1 < @ *LOCAL* > add local qualification
SPseudoToReal
R< @ $+ > $* $@ < @ $1 > $2 resolve <route-addr>
R$+ < @ $+ .UUCP. > $: < $2 ! > $1 convert to UUCP form
R$+ < @ $* > $* $@ $1 < @ $2 > $3 not UUCP form
R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. >
R< $&h ! > $-.$+ ! $+ $@ $3 < @ $1.$2 >
R< $&h ! > $+ $@ $1 < @ $&h .UUCP. >
R< $+ ! > $+ $: $1 ! $2 < @ $Y > use UUCP_RELAY
R$+ < @ $~[ $* : $+ > $@ $1 < @ $4 > strip mailer: part
R$+ < @ > $: $1 < @ *LOCAL* > if no UUCP_RELAY
SEnvFromSMTP
R$+ $: $>PseudoToReal $1 sender/recipient common
R$* :; <@> $@ list:; special case
R$* $: $>MasqSMTP $1 qualify unqual'ed names
R$+ $: $>MasqEnv $1 do masquerading
SEnvToSMTP
R$+ $: $>PseudoToReal $1 sender/recipient common
R$+ $: $>MasqSMTP $1 qualify unqual'ed names
R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2
SHdrFromSMTP
R$+ $: $>PseudoToReal $1 sender/recipient common
R:; <@> $@ list:; special case
R$* <@> $* $@ $1 <@> $2 pass null host through
R< @ $* > $* $@ < @ $1 > $2 pass route-addr through
R$* $: $>MasqSMTP $1 qualify unqual'ed names
R$+ $: $>MasqHdr $1 do masquerading
SMasqRelay
R$+ $: $>MasqSMTP $1
R$+ $: $>MasqHdr $1
SFromU
R<@> $n errors to mailer-daemon
R:; <@> $@
R$* < @ $* . > $* $1 < @ $2 > $3 strip trailing dots
R$* < @ $=w > $1 strip local name
R<@ $- . UUCP > : $+ $1 ! $2 convert to UUCP format
R<@ $+ > : $+ $1 ! $2 convert to UUCP format
R$* < @ $- . UUCP > $2 ! $1 convert to UUCP format
R$* < @ $+ > $2 ! $1 convert to UUCP format
R$&h ! $+ ! $+ $@ $1 ! $2 $h!...!user => ...!user
R$&h ! $+ $@ $&h ! $1 $h!user => $h!user
R$+ $: $U ! $1 prepend our name
R! $+ $: $k ! $1 in case $U undefined
SEnvToU
R:; <@> $@
R$* < @ $* . > $* $1 < @ $2 > $3 strip trailing dots
R$* < @ $=w > $1 strip local name
R<@ $- . UUCP > : $+ $1 ! $2 convert to UUCP format
R<@ $+ > : $+ $1 ! $2 convert to UUCP format
R$* < @ $- . UUCP > $2 ! $1 convert to UUCP format
R$* < @ $+ > $2 ! $1 convert to UUCP format
SHdrToU
R:; <@> $@
R$* < @ $* . > $* $1 < @ $2 > $3 strip trailing dots
R$* < @ $=w > $1 strip local name
R<@ $- . UUCP > : $+ $1 ! $2 convert to UUCP format
R<@ $+ > : $+ $1 ! $2 convert to UUCP format
R$* < @ $- . UUCP > $2 ! $1 convert to UUCP format
R$* < @ $+ > $2 ! $1 convert to UUCP format
R$&h ! $+ ! $+ $@ $1 ! $2 $h!...!user => ...!user
R$&h ! $+ $@ $&h ! $1 $h!user => $h!user
R$+ $: $U ! $1 prepend our name
R! $+ $: $k ! $1 in case $U undefined
SEnvFromUD
R<@> $n errors to mailer-daemon
R$* $@ $>EnvFromSMTP $1
SEnvFromUUD
R<@> $n errors to mailer-daemon
R$* $: $>EnvFromSMTP $1
R$* < @ $* . > $* $1 < @ $2 > $3 strip trailing dots
R<@ $- . UUCP > : $+ $@ $1 ! $2 convert to UUCP format
R<@ $+ > : $+ $@ $1 ! $2 convert to UUCP format
R$* < @ $- . UUCP > $@ $2 ! $1 convert to UUCP format
R$* < @ $+ > $@ $2 ! $1 convert to UUCP format
Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn09, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=procmail -a $h -d $u
Mprog, P=/bin/sh, F=lsDFMoqeu09, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D=$z:/,
T=X-Unix/X-Unix/X-Unix,
A=sh -c $u
Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h
Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=TCP $h
Mprocmail, P=/usr/bin/procmail, F=DFMSPhnu9, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP,
T=DNS/RFC822/X-Unix,
A=procmail -m $h $f $u
Muucp, P=/usr/bin/uux, F=DFMhuUd, S=FromU, R=EnvToU/HdrToU,
M=2000000, T=X-UUCP/X-UUCP/X-Unix,
A=uux - -r -a$g -gC $h!rmail ($u)
Muucp-old, P=/usr/bin/uux, F=DFMhuUd, S=FromU, R=EnvToU/HdrToU,
M=2000000, T=X-UUCP/X-UUCP/X-Unix,
A=uux - -r -a$g -gC $h!rmail ($u)
Msuucp, P=/usr/bin/uux, F=mDFMhuUd, S=FromU, R=EnvToU/HdrToU,
M=2000000, T=X-UUCP/X-UUCP/X-Unix,
A=uux - -r -a$g -gC $h!rmail ($u)
Muucp-new, P=/usr/bin/uux, F=mDFMhuUd, S=FromU, R=EnvToU/HdrToU,
M=2000000, T=X-UUCP/X-UUCP/X-Unix,
A=uux - -r -a$g -gC $h!rmail ($u)
Muucp-dom, P=/usr/bin/uux, F=mDFMhud, S=EnvFromUD/HdrFromSMTP, R=EnvToSMTP,
M=2000000, T=X-UUCP/X-UUCP/X-Unix,
A=uux - -r -a$g -gC $h!rmail ($u)
Muucp-uudom, P=/usr/bin/uux, F=mDFMhud, S=EnvFromUUD/HdrFromSMTP, R=EnvToSMTP,
M=2000000, T=X-UUCP/X-UUCP/X-Unix,
A=uux - -r -a$g -gC $h!rmail ($u)
Mbsmtp, P=/usr/lib/bsmtp/bsmtp, F=DFmMnuX8,
S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=bsmtp -f $g $h $u
Mfido, P=/usr/lib/ifmail/ifmail, F=msSDFMuC, S=EnvFromUD/HdrFromSMTP, R=EnvToSMTP,
M=2000000, T=X-UUCP/X-UUCP/X-Unix,
A=ifmail $u -r$h
SScalixMapper
R<$+><$+> $: <$(ldapsx $2 $: $)> <$1> <$2>
R<$* <TMPF>> <$+> <$+> $: $&{opMode} $| TMPF <$&{addr_type}> $| $2
R$* $| TMPF <$*> $| $+ $@ $3
R<$+> <scalix $*> <$+> $# scalix_xport $@ $1 $: scalix
R<$+> <$+> <$+> $# scalix_mime $@ $1 $: $2
R<> <$+> <$+> $@ $1
Mscalix_mime, P=/opt/scalix/bin/unix.in, F=PDFMXmnu, E=\n,
A=unix.in -s $h
Mscalix_xport, P=/opt/scalix/bin/xport.in, F=LMn,
A=xport.in -s $h $u



Eine sendmail.mc hab ich gar nicht :(

Thallez
22.03.07, 20:50
tut mir leid in deiner sendmail.cf find ich mich garnicht zurecht irgendwie ist die bei Red Hat besser formatiert und übersichlicher.
Da du keine sendmail.mc hast in welche Datei machst du denn die Änderungen bevor du die mit den m4 Makrointerpreter in die sendmal.cf übersetzt?
Ich administriere leider keine Suse Server deswegen kann ich auch nicht ebend mal nachaschauen. Wie es bei Suse aussieht.

Hier ist mal meine sendmail.mc vielleicht hielft es dir weiter



divert(-1)dnl
dnl #
dnl # This is the sendmail macro config file for m4. If you make changes to
dnl # /etc/mail/sendmail.mc, you will need to regenerate the
dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is
dnl # installed and then performing a
dnl #
dnl # make -C /etc/mail
dnl #
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
dnl #
dnl # default logging level is 9, you might want to set it higher to
dnl # debug the configuration
dnl #
dnl define(`confLOG_LEVEL', `9')dnl
dnl #
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
dnl define(`SMART_HOST',`smtp.your.provider')
dnl #
define(`confDEF_USER_ID',``8:12'')dnl
dnl define(`confAUTO_REBUILD')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
dnl #
dnl # The following allows relaying if the user authenticates, and disallows
dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
dnl #
dnl define(`confAUTH_OPTIONS', `A p')dnl
dnl #
define(`SMART_HOST',`mail.dasrelay.de')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl
dnl # PLAIN is the preferred plaintext authentication method and used by
dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
dnl # use LOGIN. Other mechanisms should be used if the connection is not
dnl # guaranteed secure.
dnl # Please remember that saslauthd needs to be running for AUTH.
dnl #
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl #
dnl # Rudimentary information on creating certificates for sendmail TLS:
dnl # cd /usr/share/ssl/certs; make sendmail.pem
dnl # Complete usage:
dnl # make -C /usr/share/ssl/certs usage
dnl #
dnl define(`confCACERT_PATH',`/usr/share/ssl/certs')
dnl define(`confCACERT',`/usr/share/ssl/certs/ca-bundle.crt')
dnl define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')
dnl define(`confSERVER_KEY',`/usr/share/ssl/certs/sendmail.pem')
dnl #
dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
dnl # slapd, which requires the file to be readble by group ldap
dnl #
dnl define(`confDONT_BLAME_SENDMAIL',`groupreadablekey file')dnl
dnl #
dnl define(`confTO_QUEUEWARN', `4h')dnl
dnl define(`confTO_QUEUERETURN', `5d')dnl
dnl define(`confQUEUE_LA', `12')dnl
dnl define(`confREFUSE_LA', `18')dnl
define(`confTO_IDENT', `0')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
dnl #
dnl # The following limits the number of processes sendmail can fork to accept
dnl # incoming messages or process its message queues to 12.) sendmail refuses
dnl # to accept connections once it has reached its quota of child processes.
dnl #
dnl define(`confMAX_DAEMON_CHILDREN', 12)dnl
dnl #
dnl # Limits the number of new connections per second. This caps the overhead
dnl # incurred due to forking new sendmail processes. May be useful against
dnl # DoS attacks or barrages of spam. (As mentioned below, a per-IP address
dnl # limit would be useful but is not available as an option at this writing.)
dnl #
dnl define(`confCONNECTION_RATE_THROTTLE', 3)dnl
dnl #
dnl # The -t option will retry delivery if e.g. the user runs over his quota.
dnl #
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
dnl #
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
dnl #
dnl # The following causes sendmail to additionally listen to port 587 for
dnl # mail from MUAs that authenticate. Roaming users who can't reach their
dnl # preferred sendmail daemon due to port 25 being blocked or redirected find
dnl # this useful.
dnl #
dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
dnl #
dnl # The following causes sendmail to additionally listen to port 465, but
dnl # starting immediately in TLS mode upon connecting. Port 25 or 587 followed
dnl # by STARTTLS is preferred, but roaming clients using Outlook Express can't
dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use STARTTLS
dnl # and doesn't support the deprecated smtps; Evolution <1.1.1 uses smtps
dnl # when SSL is enabled-- STARTTLS support is available in version 1.1.1.
dnl #
dnl # For this to work your OpenSSL certificates must be configured.
dnl #
dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
dnl #
dnl # The following causes sendmail to additionally listen on the IPv6 loopback
dnl # device. Remove the loopback address restriction listen to the network.
dnl #
dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')dnl
dnl #
dnl # enable both ipv6 and ipv4 in sendmail:
dnl #
dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Name=MTA-v6, Family=inet6')
dnl #
dnl # We strongly recommend not accepting unresolvable domains if you want to
dnl # protect yourself from spam. However, the laptop and users on computers
dnl # that do not have 24x7 DNS do need this.
dnl #
FEATURE(`accept_unresolvable_domains')dnl
dnl #
dnl FEATURE(`relay_based_on_MX')dnl
dnl #
dnl # Also accept email sent to "localhost.localdomain" as local email.
dnl #
LOCAL_DOMAIN(`localhost.localdomain')dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
dnl MASQUERADE_AS(`mydomain.com')dnl
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #
dnl FEATURE(masquerade_envelope)dnl
dnl #
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
dnl #
dnl FEATURE(masquerade_entire_domain)dnl
dnl #
dnl MASQUERADE_DOMAIN(localhost)dnl
dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl
dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
MAILER(scalix)dnl
dnl

Blade
27.03.07, 09:52
DSmein-smarthost.de
... dort sollte eigentlich der smarthost-relay-server Deines Providers drin stehn, tut er aber nicht?

Thallez
27.03.07, 21:26
Ich vermute ja auch das es nur nicht richtig in die sendmail.cf ünernommen wird.

tHaHooL
28.03.07, 14:49
... dort sollte eigentlich der smarthost-relay-server Deines Providers drin stehn, tut er aber nicht?

Doch, da steht der schon so drin. Ich hab auch mal meinen root-Server angegeben, aber hat trotzdem nicht geklappt.

Ich setz jetzt einfach mal mein SuSE auf einer VM neu auf und schau mir mal die Grundkonfiguration an. Ich denke da ist sich Scalix u. Yast gegenseitig in die Quere gekommen...

Blade
28.03.07, 21:27
Schreib in die sendmail.cf einfach den smarthost-Server per Editor rein und starte dann sendmail neu. Berichte was dann passiert.