Das Notes Forum

Domino 9 und frühere Versionen => ND6: Administration & Userprobleme => Thema gestartet von: boemitsu am 30.01.06 - 17:45:48

Titel: SMTP Auth für Linux
Beitrag von: boemitsu am 30.01.06 - 17:45:48
Hallo,

Für Windows gibt's dies ja hier (http://smtpauth.sourceforge.net/). Meine Frage:gibt es auch ein solches für Linux?

...habe keine Lust 2 Mailserver auf der gleichen Kiste laufen zu lassen...also keine Weiterleitung auf Postfix, sendmail oder was auch immer...DOMINO RULES THEM ALL  8)


...und warum unterstützt dies Domino nicht nativ ?  :o


Danke !



Titel: Re: SMTP Auth für Linux
Beitrag von: m3 am 30.01.06 - 18:55:37
Da sollte was passendes drunter sein:
http://bent.latency.net/smtpprox/
http://memberwebs.com/nielsen/software/proxsmtp/
http://quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/SmtpProxy#M2
http://untroubled.org/nullmailer/
http://martin.edenhofer.de/cgi-bin/index.pl?Site=Projects
Titel: Re: SMTP Auth für Linux
Beitrag von: boemitsu am 30.01.06 - 20:55:54
Danke für die Links, hatte auch noch   diesen (http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/db76c0c3b851870a85256e1000084885?OpenDocument) gefunden...

Wollte also smtpauthprox benutzen...naja, leider blieb es beim wollte.
Evtl. kennst du dich damit aus uns kannst mir noch weiterhelfen...

Vorgehen:
-Auspacken von smtpprox
-In diesem Directory das smtpauthprox Script reinkopieren, ausführbar machen, Username und PW reinschreiben
-Berechtigungen überprüfen
-Checken ob mmencode (ist bei slackware mimencode) und shareutils vorhanden sind
-Perl v5.8 ist inst.

-Im Domino Directory - Config Doc - Basic - Relay host... auf 127.0.0.1:10025

-./smtpauthprox 127.0.0.1:10025 smtp.hispeed.ch &


Ergebnis:

01/30/2006 19:49:46   SMTP Server: localhost (127.0.0.1) connected
01/30/2006 19:49:46   Router: Transferring mail to domain 127.0.0.1:10025 (host 127.0.0.1:10025 [127.0.0.1]) via SMTP
01/30/2006 19:49:46   SMTP Server: Message 00676F23 (MessageID: <OFA25C1773.F09F8B95-ONC1257106.00676B98-C1257106.006BD5D2@mydomain.ch>) received
01/30/2006 19:49:46   Router: Transferred 1 messages to 127.0.0.1:10025 (host 127.0.0.1:10025) via SMTP
01/30/2006 19:49:46   SMTP Server: localhost (127.0.0.1) disconnected. 1 message received
01/30/2006 19:49:47   Router: Message 00676B98 transferred to 127.0.0.1:10025 for myname@hispeed.ch via SMTP
01/30/2006 19:49:47   SMTP Server: localhost (127.0.0.1) connected
01/30/2006 19:49:47   Router: Transferring mail to domain 127.0.0.1:10025 (host 127.0.0.1:10025 [127.0.0.1]) via SMTP
01/30/2006 19:49:47   SMTP Server: Message 00676F86 (MessageID: <OFA25C1773.F09F8B95-ONC1257106.00676B98-C1257106.006BD5D2@mydomain.ch>) received
01/30/2006 19:49:47   SMTP Server: localhost (127.0.0.1) disconnected. 1 message received
01/30/2006 19:49:47   Router: Transferred 1 messages to 127.0.0.1:10025 (host 127.0.0.1:10025) via SMTP

.
.
.
usw

Bis irgendwann eine Fehlermeldung kommt (Die ist beim Verfolgen auf der Konsole vorhersehbar.. ::))
"Error transferring to 127.0.0.1:10025. Maximum hop count exceeded. Message probably in a routing loop. Maximum hop count exceed. Message probably in a routing loop."

Tja...und das Mail kommt natürlich nie bei meinem ISP an....irgendwie seh ich's nicht mehr.. ???


Welches setzt du ein ?
Titel: Re: SMTP Auth für Linux
Beitrag von: m3 am 30.01.06 - 21:12:19
Ich brauch sowas nicht, ich hab eine ordentliche Standleitung ;)

Probier mal
/smtpauthprox 127.0.0.1:10025 62.2.95.12:25 &
Titel: Re: SMTP Auth für Linux
Beitrag von: boemitsu am 31.01.06 - 18:22:15
Das ganze Vorgehen

1) wget http://bent.latency.net/smtpprox/smtpprox-1.2.tar.gz

2) tar -xvzf smtpprox-1.2.tar.gz

3) cd smtpprox-1.2

4) wget  http://bent.latency.net/smtpprox/smtpauthprox

5) chmod u+x smtpauthprox

6) Edit smtpauthprox (Username/PW)

7) Berechtigungen überprüfen

8) Checken ob mmencode (ist bei slackware mimencode), Perl und  shareutils vorhanden sind

9) Im Domino Directory - Config Doc - Basic - Relay host... auf 127.0.0.1:10025

10) Im Serverdokument - Ports - Internet Ports - Mail

muss noch bei Mail (SMTP Outbound) der TCPIP port number auf 10025 gestellt werden.

11) ./smtpauthprox 127.0.0.1:10025 smtp.yourisp.de &


Viel Spass !  8)








Titel: Re: SMTP Auth für Linux
Beitrag von: eknori am 31.01.06 - 18:27:35
evtl. dazu noch folgender Hinweis :

SMTP relay with authentication (http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/db76c0c3b851870a85256e1000084885?OpenDocument)
Titel: Re: SMTP Auth für Linux
Beitrag von: boemitsu am 01.02.06 - 11:04:49
und eine Erklärung für den Unterschiede zwischen HELO and EHLO

The Difference Between HELO and EHLO

EHLO indicates that the client supports at least one of several possible extensions that are not part of the basic SMTP specification. HELO indicates that it does not, and that only the minimum SMTP set will be used when talking to this server. Many of these extensions are common and standardized; others may be local to the particular SMTP host only, in which case, the extended commands must begin with the letter X. All extended commands the server supports must be listed as part of the server’s response to EHLO, one per line, each line prefixed with code 250. Typical uses of extended commands are to transfer binary information in non-encoded form, and to tunnel another protocol through SMTP.

Quelle (http://www.microsoft.com/technet/technetmag/issues/2005/11/HowITWorksSMTP/default.aspx)


Weitere:

RFC2821 (http://www.ietf.org/rfc/rfc2821.txt?number=2821)
Liste der Extensions (http://www.iana.org/assignments/mail-parameters)


Titel: Re: SMTP Auth für Linux
Beitrag von: m3 am 01.02.06 - 11:50:03
Chris Linfoot: Spamware and malware often use HELO, not EHLO (http://chris-linfoot.net/d6plinks/CWLT-6KYCB3)