Das Notes Forum

Domino 9 und frühere Versionen => ND8: Administration & Userprobleme => Thema gestartet von: Moverik am 26.05.09 - 15:02:29

Titel: per IMAP Mails versenden?
Beitrag von: Moverik am 26.05.09 - 15:02:29
Hallo,
ich versuche zur Zeit den Imap Dienst auf unserem Domino Server anstendig zum laufen zu bekommen. Bis jetzt habe ich es allerdings nur geschafft, dass ich Mails sowohl aus dem Lan als auch aus dem Internet empfangen kann, und Mails aus dem Lan ins Internet schicken kann. Aus dem Internet ins Internet über den Domino Server geht es leider nicht.


"26.05.2009 14:37:55   SMTP Server [09FC:000B-0C98] Connection from tmo-101-218.customers.d1-online.com rejected for policy reasons. Connecting host is denied in your configuration.
26.05.2009 14:37:55   SMTP Server: tmo-101-218.customers.d1-online.com (80.187.101.218) connected
26.05.2009 14:37:56   SMTP Server: Authentication succeeded for user ***/*** ; connecting host 80.187.101.218
26.05.2009 14:37:58   SMTP Server: tmo-101-218.customers.d1-online.com (80.187.101.218) disconnected. 0 message[s received"

Daraufhin habe ich testhalber mal "tmo-101-218.customers.d1-online.com" bei SMTP Outbound Controls -> "Allow messages only from the following Internet addresses to be sent to the Internet:"
eingetragen, hat aber leider nichts gebracht. Jetzt weiß ich nicht mehr weiter.

Per SSL klappt übrigens gar nichts, das wäre dann meine nächste Frage. Port 443 ist aktiviert und auf der Firewall freigegeben. Aber da tut sich absolut gar nichts.
Titel: Re: per SMTP Mails versenden?
Beitrag von: m3 am 26.05.09 - 15:10:00
1) Per IMAP4 kann man keine Mails versenden, das geht nur via SMTP.

2) In der Form ist das auch gut so, da Du sonst einen offenen Relay betreiben würdest.
Du willst
a) die Mails über den Notes-Client versenden
oder
b) dich vor dem Versenden anmelden. Aus der Admin-Hilfe, Kapitel "Specifying enforcement of inbound relay controls":

Zitat
By default, if you deny relaying for a domain or set of domains (for example, all external domains), all hosts in the denied domains are subject to the relay controls. This level of restriction prevents remote IMAP or POP3 clients that connect to Domino by way of Internet service providers (ISPs) in external domains from sending outbound Internet mail because Domino does not recognize the source of the message as a valid relay origin.
To ensure that Domino allows POP3 or IMAP users to send outbound Internet mail, you can customize relay enforcement to allow all authenticated users to relay. After the Domino SMTP listener determines that a connecting host has been authenticated, it treats the connection as though it originated from a local user and exempts it from the Inbound relay controls.
...
Allow all authenticated users to relay -  Users who log in with a valid name and password are exempt from the applicable inbound relay controls. Use this to enable relaying by POP3 or IMAP users who connect to the network from ISP accounts outside the local Internet domai

3) Willkommen im Forum, bitte auch die Forumsregeln (http://atnotes.de/projekte/bp/team/tmc/_forumsregeln/rules001.html#22) beachten.
Titel: Re: per IMAP Mails versenden?
Beitrag von: (h)uMan am 26.05.09 - 15:17:56
...
Per SSL klappt übrigens gar nichts, das wäre dann meine nächste Frage. Port 443 ist aktiviert und auf der Firewall freigegeben. Aber da tut sich absolut gar nichts.

Hat der Domino-Server denn auch ein gültiges SSL-Zertifikat?

Siehe Thema "Setting up SSL on a Domino server" in der Admin-Hilfe
Titel: Re: per SMTP Mails versenden?
Beitrag von: Moverik am 26.05.09 - 15:39:00
1) Per IMAP4 kann man keine Mails versenden, das geht nur via SMTP.

2) In der Form ist das auch gut so, da Du sonst einen offenen Relay betreiben würdest.
Du willst
a) die Mails über den Notes-Client versenden
oder
b) dich vor dem Versenden anmelden. Aus der Admin-Hilfe, Kapitel "Specifying enforcement of inbound relay controls":

Zitat
By default, if you deny relaying for a domain or set of domains (for example, all external domains), all hosts in the denied domains are subject to the relay controls. This level of restriction prevents remote IMAP or POP3 clients that connect to Domino by way of Internet service providers (ISPs) in external domains from sending outbound Internet mail because Domino does not recognize the source of the message as a valid relay origin.
To ensure that Domino allows POP3 or IMAP users to send outbound Internet mail, you can customize relay enforcement to allow all authenticated users to relay. After the Domino SMTP listener determines that a connecting host has been authenticated, it treats the connection as though it originated from a local user and exempts it from the Inbound relay controls.
...
Allow all authenticated users to relay -  Users who log in with a valid name and password are exempt from the applicable inbound relay controls. Use this to enable relaying by POP3 or IMAP users who connect to the network from ISP accounts outside the local Internet domai

3) Willkommen im Forum, bitte auch die Forumsregeln (http://atnotes.de/projekte/bp/team/tmc/_forumsregeln/rules001.html#22) beachten.

Also "Allow all authenticated users to relay" hatte ich bereits eingestellt. Danach klappte es dann auch mit dem empfangen.
Wenn ich versuche mit dem Thunderbird eine Mail zu versenden werde ich auch vor dem versenden erneut nach meinem PW gefragt, aber dann kommt halt: "Fehler beim Senden der Nachricht. Der Mail-Server antwortete: Mail from ***@***.de rejected for policy reasons...." und auf der Server Konsole steht das oben gepostete.

Und ein gültiges SSL Zertifikat hat der Server auch ;/ . Bei der Geschichte bin ich mir aber noch nicht ganz sicher ob es nicht am Thunderbird liegt. Wenn ich nämlich SSL im Thunderbird auswähle scheint es mir so als würde er keinen Mux tun, also nichtmal versuchen irgendwie zu verbinden.

Und zu den Forenregeln, ich war erst etwas verwundert bezüglich Nicknames, da ihr ja auch welche habt. Hab mich dann auch mal an euch orientiert und hoffe es ist so ok.

Titel: Re: per IMAP Mails versenden?
Beitrag von: m3 am 26.05.09 - 15:51:06
Wie schaut Dein SMTPInbound Site Document aus? So:
    TCP Authentication
    Anonymous: Yes
    Name & password: Yes

Chri Linfoot hat dazu auch einen guten Blogpost geschrieben: Setting up Domino SMTP TLS (http://chris-linfoot.net/d6plinks/CWLT-6MHEQN)

Aus der Admin-Hilfe: Securing SMTP sessions using the STARTTLS extension  (http://www-12.lotus.com/ldd/doc/domino_notes/Rnext/help6_admin.nsf/b3266a3c17f9bb7085256b870069c0a9/4d97f4853cfa5a2f85256c1d00395ba7?OpenDocument)

Ansonsten würde ich mal das logging ein bissl aufdrehen: Domino Router notes.ini debug parameters for SMTP (http://www-01.ibm.com/support/docview.wss?rs=463&context=SSKTMJ&dc=DA400&uid=swg27003007&loc=en_US&cs=UTF-8&lang=en&rss=ct463lotus)


Titel: Re: per IMAP Mails versenden?
Beitrag von: Moverik am 26.05.09 - 16:43:45
Mhm...SMTPInbound Site sieht so aus wie du sagst.

Über den Blogpost hab ich mal drübergelesen. Bis morgen lass ich die Sache aber erstmal liegen.
Aber schonmal danke für deine Hilfe!