Port 587 Plesk

beatagonist

Registered User
Hi Leute.

Bin mal wieder zu dumm und such mich im netz kaputt nach ner Lösung.

Folgendes Problem: Einer meiner Kunden geht über AOL ins Netz. Er hat das Problem, dass er beim Emailversand ziemliche Probleme hat. Oft muss er 5-6 mal verschicken, bis mal eine mail durchgeht.

Mein Server läuft mit Plesk 8.0. Hab auch schon im Netz gesucht und gefunden, dass mein Kunde seinen mailclient auf port 587 laufen lassen soll. Mit dem Port bekommt er allerdings gar keine Verbindung. Kann oder vielmehr muss ich irgendwo beim Server diesen Port einstellen/freischalten?

Danke für eure Hilfe.
 
Hallo!
Ich halte die Aktion von AOL inzwischen für relativ sinnfrei. Sollten sie endlich ihre komischen Proxies in den Griff bekommen. Wenn ich als AOL Kunde eine Verbindung via SMTP zu einem Server aufbaue, möchte ich nicht, das mein Provider mir dazwischenfunkt.

Welchen MTA setzt du auf deinem Server ein?

PS : Hier ist der AOL Krams beschrieben.

mfG
Thorsten
 
Hi Leute,

An einer Lösung für dieses Problem bin ich auch sehr interessiert :)
MTA ist bei mir qmail. Ich habe mal etwas von der Möglichkeit gelesen einfach die Verbindungen von Port 587 via iptabels auf Port 25 umzuleiten... Hab allerdings keine Ahnung wie ich das anstellen kann. :confused:
 
Einfach die Dienstedefinition in /etc/xinetd.d/smtp_psa duplizieren und den eingetragenen Port ändern.
 
Nur zur Vollständigkeit:

Für Postfix muß in der master.cf folgende Zeile eingetragen werden:
Code:
submission inet n - n - - smtpd
Falls submission nicht in der /etc/services stehen sollte kann auch '587' statt dessen hingeschrieben werden.
Wer sein Postfix in der chroot laufen läßt (std. bei Debian Sarge) muß das mittlere 'n' gegen ein '-' tauschen.

huschi.
 
Sorry ich habe da noch eine Frage, hier mal meine smtp_psa:
Code:
service smtp
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        disable         = no
        user            = root
        instances       = UNLIMITED
        server          = /var/qmail/bin/tcp-env
        server_args     = /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

Wo kann ich da einen Port ändern :confused:

Ps. Wie könnte ich das auf meinem Visas Server regeln? Der hat auch q-mail drauf...?
 
Last edited by a moderator:
Nimmst die selbe Datei und kopierst den Inhalt noch einmal mit einer kleinen Änderung, so daß sie so aussieht:
Code:
service smtp
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        disable         = no
        user            = root
        instances       = UNLIMITED
        server          = /var/qmail/bin/tcp-env
        server_args     = /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

service [COLOR="Red"]587[/COLOR]
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        disable         = no
        user            = root
        instances       = UNLIMITED
        server          = /var/qmail/bin/tcp-env
        server_args     = /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}
(Wie oben schon gesagt, kann stat 587 auch 'submission' eingesetzt werden.)

huschi.
 
Sorry, dass ich den Thread nochmal aufrolle, habe aber genau das gemacht und smtp ist am port 587 nicht zu erreichen.

Habe plesk und wmail am laufen.
den service in smtp_psa kopiert auch firewall angepasst und neu gestartet...???

Hat sich da mittlerweile vielleicht was geändert, da der thread acuh schon älter ist?

danke, nick
 
Zeige uns bitte Deine ganz smtp_psa.
Steht etwas in den messages/syslog bei einem Neustart von xinetd. (Du hast ihn doch neu gestartet?)
Hast Du schon ein "telnet localhost 587" versucht?

huschi.
 
Hi,

ich habe das gleiche Problem.

Das finde ich der log Datei nach dem Neustart:

Code:
Nov 30 13:36:47 v32367 xinetd[19592]: Exiting...
Nov 30 13:36:47 v32367 xinetd[21548]: attribute: disable should not be in default section [file=/etc/xinetd.conf] [line=9]
Nov 30 13:36:47 v32367 xinetd[21548]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=12]
Nov 30 13:36:47 v32367 xinetd[21548]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28]
Nov 30 13:36:47 v32367 xinetd[21548]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=26]
Nov 30 13:36:47 v32367 xinetd[21548]: Reading included configuration file: /etc/xinetd.d/ftp_psa [file=/etc/xinetd.d/ftp_psa] [line=26]
Nov 30 13:36:47 v32367 xinetd[21548]: Reading included configuration file: /etc/xinetd.d/poppassd_psa [file=/etc/xinetd.d/poppassd_psa] [line=13]
Nov 30 13:36:47 v32367 xinetd[21548]: Reading included configuration file: /etc/xinetd.d/smtp_psa [file=/etc/xinetd.d/smtp_psa] [line=13]
Nov 30 13:36:47 v32367 xinetd[21548]: Reading included configuration file: /etc/xinetd.d/smtps_psa [file=/etc/xinetd.d/smtps_psa] [line=24]
Nov 30 13:36:47 v32367 xinetd[21548]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=12]
Nov 30 13:36:47 v32367 xinetd[21548]: added service talk [file=/etc/inetd.conf] [line=31]
Nov 30 13:36:47 v32367 xinetd[21548]: added service ntalk [file=/etc/inetd.conf] [line=32]
Nov 30 13:36:47 v32367 xinetd[21548]: added service finger [file=/etc/inetd.conf] [line=40]
Nov 30 13:36:47 v32367 xinetd[21548]: inetd.conf - Bad value for wait: nowait/1000 [file=/etc/inetd.conf] [line=51]
Nov 30 13:36:47 v32367 xinetd[21548]: added service poppassd [file=/etc/inetd.conf] [line=51]
Nov 30 13:36:47 v32367 xinetd[21548]: added service ftp [file=/etc/inetd.conf] [line=52]
Nov 30 13:36:47 v32367 xinetd[21548]: removing chargen
Nov 30 13:36:47 v32367 xinetd[21548]: removing chargen
Nov 30 13:36:47 v32367 xinetd[21548]: removing daytime
Nov 30 13:36:47 v32367 xinetd[21548]: removing daytime
Nov 30 13:36:47 v32367 xinetd[21548]: removing echo
Nov 30 13:36:47 v32367 xinetd[21548]: removing echo
Nov 30 13:36:47 v32367 xinetd[21548]: removing time
Nov 30 13:36:47 v32367 xinetd[21548]: removing time
Nov 30 13:36:47 v32367 xinetd[21548]: Port not specified and can't find service: 587 with getservbyname
Nov 30 13:36:47 v32367 xinetd[21548]: bind failed (Address already in use (errno = 98)). service = poppassd
Nov 30 13:36:47 v32367 xinetd[21548]: Service poppassd failed to start and is deactivated.
Nov 30 13:36:47 v32367 xinetd[21548]: bind failed (Address already in use (errno = 98)). service = ftp
Nov 30 13:36:47 v32367 xinetd[21548]: Service ftp failed to start and is deactivated.
Nov 30 13:36:47 v32367 xinetd[21548]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in.
Nov 30 13:36:47 v32367 xinetd[21548]: Started working: 7 available services

Das kommt, über telnet
Code:
v32367:~# telnet localhost 587
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

Das ist meine psa_smtp
Code:
service smtp
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        disable         = no
        user            = root
        instances       = UNLIMITED
        server          = /var/qmail/bin/tcp-env
        server_args     = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

service 587
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        disable         = no
        user            = root
        instances       = UNLIMITED
        server          = /var/qmail/bin/tcp-env
        server_args     = /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

Stefan
 
Und warum ließt Du Dir die Fehlermeldung nicht durch?
Nov 30 13:36:47 v32367 xinetd[21548]: Port not specified and can't find service: 587 with getservbyname
Du mußt evtl. noch "port 587" reinschreiben.
"man xinetd.conf" hilft Dir aber ganz bestimmt... ;)

huschi.
 
Habe das Problem bei mir so gelöst.Über ssh als root einloggen und dann

Code:
iptables -t nat -A PREROUTING -p tcp --dport 587 -i eth0 -j REDIRECT --to-ports 25

Bekam ich mal auf nachfrage von der Strato Service Hotline.Hat bisher auch immer ohne weiteres funktioniert ;)
 
Und warum ließt Du Dir die Fehlermeldung nicht durch?

Man bin ich doof.... da hast du natürlich recht.



Du mußt evtl. noch "port 587" reinschreiben.
"man xinetd.conf" hilft Dir aber ganz bestimmt... ;)

Ich habe nun in der smtp_psa
Code:
service 587
{
        port            = 587
        socket_type     = stream
        protocol        = tcp
        wait            = no
        disable         = no
        user            = root
        instances       = UNLIMITED
        server          = /var/qmail/bin/tcp-env
        server_args     = /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

Ich habe auch in der /etc/services den Port eingetragen. Wenn ich nun via telnet drauf zugreife kommt was. Allerdings kommt von außen noch nichts?!
 
Back
Top