PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : sendmail versendet keine email's an andere server



planetmax
20.08.04, 19:37
Hi,

Ich habe ein Problem mit Sendmail, sendmail stellt emails nur an emailaddressen zu die auf meinem server sind.

Hier ist die sendmail.cf:

www.byplanet.de/sendmail.cf

Hier die mail log:


Aug 20 03:16:48 y019 sendmail[3543]: i7K1GP8W003543: ruleset=check_rcpt, arg1=<talent311@hanmail.net>, relay=[222.101.164.252], reject=550 5.7.1 <talent311@hanmail.net>... Relaying denied. IP name lookup failed [222.101.164.252]
Aug 20 03:16:49 y019 sendmail[3543]: i7K1GP8W003543: from=<talent7@empal.com>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=[222.101.164.252]
Aug 20 10:43:55 y019 sendmail[6122]: i7K8hj8X006122: ruleset=check_rcpt, arg1=<china9988@21cn.com>, relay=[222.101.168.86], reject=550 5.7.1 <china9988@21cn.com>... Relaying denied. IP name lookup failed [222.101.168.86]
Aug 20 10:43:55 y019 sendmail[6122]: i7K8hj8X006122: from=<china9988@21cn.com>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[222.101.168.86]
Aug 20 10:44:24 y019 sendmail[6129]: i7K8iM8X006129: ruleset=check_rcpt, arg1=<china9988@21cn.com>, relay=[222.101.168.86], reject=550 5.7.1 <china9988@21cn.com>... Relaying denied. IP name lookup failed [222.101.168.86]
Aug 20 10:44:24 y019 sendmail[6129]: i7K8iM8X006129: from=<china9988@21cn.com>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[222.101.168.86]
Aug 20 10:56:21 y019 ipop3d[6202]: pop3 service init from 80.121.115.15
Aug 20 10:56:26 y019 ipop3d[6202]: Login user=web1p1 host=M1945P015.adsl.highway.telekom.at [80.121.115.15] nmsgs=0/0
Aug 20 10:56:26 y019 ipop3d[6202]: Logout user=web1p1 host=M1945P015.adsl.highway.telekom.at [80.121.115.15] nmsgs=0 ndele=0
Aug 20 11:01:31 y019 sendmail[6244]: i7K91P8X006244: ruleset=check_rcpt, arg1=<china9988@21cn.com>, relay=[222.101.168.86], reject=550 5.7.1 <china9988@21cn.com>... Relaying denied. IP name lookup failed [222.101.168.86]
Aug 20 11:01:32 y019 sendmail[6244]: i7K91P8X006244: from=<china9988@21cn.com>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[222.101.168.86]
Aug 20 11:47:34 y019 ipop3d[6577]: pop3 service init from 80.121.115.15
Aug 20 11:47:35 y019 ipop3d[6577]: Login user=web1p1 host=M1945P015.adsl.highway.telekom.at [80.121.115.15] nmsgs=0/0
Aug 20 11:47:35 y019 ipop3d[6577]: Logout user=web1p1 host=M1945P015.adsl.highway.telekom.at [80.121.115.15] nmsgs=0 ndele=0
Aug 20 12:00:18 y019 ipop3d[6686]: pop3 service init from 80.121.115.15
Aug 20 12:00:18 y019 ipop3d[6686]: Login user=web1p1 host=M1945P015.adsl.highway.telekom.at [80.121.115.15] nmsgs=0/0
Aug 20 12:00:18 y019 ipop3d[6686]: Logout user=web1p1 host=M1945P015.adsl.highway.telekom.at [80.121.115.15] nmsgs=0 ndele=0
Aug 20 12:37:45 y019 ipop3d[6918]: pop3 service init from 80.121.117.199
Aug 20 12:37:48 y019 ipop3d[6918]: Command stream end of file while reading line user=web1p2 host=M1967P007.adsl.highway.telekom.at [80.121.117.199]
Aug 20 12:37:56 y019 ipop3d[6919]: pop3 service init from 80.121.117.199
Aug 20 12:37:59 y019 ipop3d[6919]: Command stream end of file while reading line user=web1p2 host=M1967P007.adsl.highway.telekom.at [80.121.117.199]
Aug 20 12:38:02 y019 ipop3d[6932]: pop3 service init from 80.121.117.199
Aug 20 12:38:02 y019 ipop3d[6932]: Login user=web1p2 host=M1967P007.adsl.highway.telekom.at [80.121.117.199] nmsgs=0/0
Aug 20 12:38:02 y019 ipop3d[6932]: Logout user=web1p2 host=M1967P007.adsl.highway.telekom.at [80.121.117.199] nmsgs=0 ndele=0
Aug 20 12:38:43 y019 sendmail[6933]: i7KAcH8W006933: ruleset=check_rcpt, arg1=<planetmax@gmx.net>, relay=M1967P007.adsl.highway.telekom.at [80.121.117.199], reject=550 5.7.1 <planetmax@gmx.net>... Relaying denied
Aug 20 12:38:43 y019 sendmail[6933]: i7KAcH8W006933: from=<planetmax@xcel-network.net.tc>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=M1967P007.adsl.highway.telekom.at [80.121.117.199]


Danke

Blade
21.08.04, 14:50
So wie ich Dich verstehe, willst Du Deinen Server als Mail-Relay-Server konfigurieren? Standardmäßig verbietet das sendmail und es werden nur die lokal bekannten Mails akzeptiert und verarbeitet. Dafür musst Du die Relay-Einstellungen von sendmail anpassen. Ich konfiguriere das ganze mit webmin.

Schreib mal ein bischen genauer was Du vor hast und wie es funzen soll :cool:

planetmax
21.08.04, 17:56
Hi,

Ich will das man meinem Server emails an andere Server schicken kann und umgekehrt.

Danke für deine Hilfe :)

Blade
21.08.04, 18:48
Dann musst Du Deine mailertable korrekt füllen bzw. einen Standard-SMTP-Server einstellen und dann noch die relay-Einstellung korrekt konfigurieren.

planetmax
21.08.04, 21:03
Hi,

Ich habe mit mailserver leider noch net viel erfahrungen kannst du mir das bitte etwas genauer und leichter erklären.


Danke

Blade
21.08.04, 22:11
Mach ich doch glatt gerne, schreib aber bitte erst mal genau auf, was Dein Mail-Server so alles extern und intern tun soll! Dann gebe ich gerne weitere Hilfen und Anleitungen ... :ugly:

planetmax
21.08.04, 22:19
Also der mail server soll email's an andere server schicken können und email's von andere server empfangen können.

Blade
22.08.04, 12:46
Kennst Du die fremden nicht lokal bekannten Domains der mails, die über Deinen Server verschickt werden sollen und sollen diese dann an externe Mail-Server weitergeschickt werden? Hast Du eine Dial-in-Verbindung oder eine feste IP?

planetmax
22.08.04, 13:06
Ne die kenne ich nicht, und die email sollen direkt versendet werden.
Der Server hat ne statische ip

Blade
22.08.04, 13:16
Bist Du Dir überhaupt bewußt, was Du da vor hast? Wenn Du Deinen Server als Relay-Server für alle im Internet frei gibst, produzierst Du innerhalb kürzester Zeit eine Spam-Schleuder hoch drei ... Hast Du das wirklich vor?

planetmax
22.08.04, 13:26
Ja ich brauch das ja.

Blade
22.08.04, 13:52
Ok, dann installier Dir Webmin (http://www.webmin.com) starte das Tool und gehe zum Punkt Server ... sendmail. Hier kannst Du alles ganz easy per Mausklick für sendmail unter Windows einstellen. Hier kannst Du auch das relay- und spam-Verhalten von sendmail so konfigurieren, dass sendmail total freigegeben ist. Hilfetexte gibt es dazu auch.

Schau Dir mal die Config-Datei /etc/mail/access an, da wird geregelt, wer sendmail benutzen darf ... :eek:

planetmax
22.08.04, 14:04
Ok webmin hab ich installiert.

Was muss jetzt bei sendmail und weiterleitungsdomänen rein das der alle akzeptiert?

Blade
22.08.04, 14:22
Schau Dir die Spam-Kontrolle (access) an. Hier kannst Du z.B. mit: 200 Relay das komplette Netzwerk mit IP 200.xxx.yyy .... freigeben.

Schau aber auch mal hier vorbei Sendmail-Hilfe (http://www.sendmail.org/tips/relaying.html)

Hier wird es heiß:
Several other features are probably a bad idea, unless you are inside a firewall, because they make your system vulnerable to abuse by spammers:

FEATURE(relay_local_from). This feature allows relaying if the message claims to originate at your domain. Since forging this address is trivial, this is probably a bad idea.
FEATURE(loose_relay_check). This turns off checking for explicit routing through your host, such as target%C.ORG@A.COM.
FEATURE(promiscuous_relay). If you really want to forward all the spam on the net, this will turn off all checking for relaying