INECO Forum Overzicht Overzicht Aanmelden Aanmelden Registreer Registreer Profiel Profiel Ledenlijst Ledenlijst Groepen Groepen Zoeken Zoeken

SMTP Debug parameters.
 
 
 
 
 Geplaatst   Bericht 
Marcel Rothuizen

Marcel Rothuizen
 

Aanmelddatum: 10-11-2000
Woonplaats: Heteren (Gld)
Datum: 07-07-2007 22:03:36    Bericht: SMTP Debug parameters.

Om SMTP verkeer op de Domino server te debuggen zijn er een paar handige parameters om tijdelijk in de notes.ini te plaatsen en zo extra informatie te krijgen.

Voor uitgaande berichten: 

Setting the notes.ini parameter SmtpSaveOutboundToFile=1 (0 = Off, 1= On) will result in each outbound SMTP message being copied to a temporary file on the server. These messages will be saved as individual TMP files within the TMP directory specified for the server.


The file names will be STXXXXXX.TMP (where XXXXXX will be 6 numerical digits).
The contents of the files will contain the header information and the MIME information.

Using a remote console on the Domino server, issue the following command:
set config SmtpSaveOutboundToFile=1

OR

Open the server's notes.ini and add the following parameter within the file:
SmtpSaveOutboundToFile=1

Note: Recycle the Domino server for the change in the NOTES.INI to take effect.

Zie het volledige bericht op: http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg21088993 

 

Voor inkomende berichten:

Setting the smtpsaveimporterrors parameter described below and restarting the SMTP listener task will result in each message being copied to a temporary file on the server.
These messages will be saved as individual TMP files within the TMP directory specified for the server.
The file names will be STXXXXXX.TMP (where XXXXXX will be 6 numerical digits).
The contents of the files will contain the header information and the MIME information.

Using a remote console on the Domino server, issue the following command (and then restart the SMTP task):
set config smtpsaveimporterrors=x

(where x is 0, 1, 2 or 3, as described below)

OR

Open the server's notes.ini and add the following parameter within the file (and then restart the Domino server):
smtpsaveimporterrors=x

(where x is 0, 1, 2 or 3, as described below)

The value of the parameter controls the saving of messages as follows:
0 - Disabled

1 - Save all messages that fail to import (parse/save in mail.box). This setting is useful to trap messages that we fail to accept from other SMTP servers sending mail to this server. It is important to note that only message that result in import errors will be written to a temp file when using this value.

2 - Save all messages that are received at the server.

3 - Save all inbound messages during import, delete all messages that have been successfully received and written into mail.box. Only messages that fail to be imported into mail.box will be saved to a temp file. Because the temporary file is deleted after each successful conversion, the disk space and maintenance required for the temporary files is significantly less than with option 2. The new option is especially useful if troubleshooting a crash scenario where the time between crashes spans days or weeks.

Zie het volledige bericht op: http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg21095102

 E-mail Website ICQ MSNM Skype Hyves LinkedIn 
Marcel Rothuizen

Marcel Rothuizen
 

Aanmelddatum: 10-11-2000
Woonplaats: Heteren (Gld)
Datum: 09-07-2007 15:54:15    Bericht: Telnet naar mail server.

Omdat een server naar bepaalde providers geen mail kon versturen heb ik een behoorlijke tijd moeten zoeken op dit op  te lossen.

Na de zonder sucses SMTPTimeoutMultiplier parameter op  1000 te hebben gezet en alle mogelijke debug opties te hebben geprobeerd kwam ik eindelijk op het idee om eens op de command prompt een bericht op de probleem server te plaatsen met telnet:

telnet mailrelay.planet.nl 25
reactie: 220 esmtp14.wxs.nl etc.. oftwel een juiste welkomst tekst.

EHLO xxxx.nl (xxxx was een domeinnaam van de klant)
reactie: 250 OK ..Ok dus.

MAIL FROM:administrator@xxxx.nl
451 does not resolve xxxx.nl o.i.d.... ofwel de oorzaak: dit domein bleek te zijn opgeheven. Er zijn providers die dat blijkbaar accepteren maar Planet niet.
Na het aanpassen van het afzenderadres in een geldig adres bleek alles te werken!

Complete procedure mail via telnet (bron microsoft):

telnet servername portnumber
For example, type:
telnet mailrelay.planet.nl 25
Note You can replace servername with the IP address or the FQDN of the SMTP server that you want to connect to. Remember to press ENTER after each command.

If the command works, you receive a response from the SMTP server that is similar to the following:
220 mailrelay.planet.nl SMTP server naam e.d.

Note You may receive different responses from the receiving server. What is important is that you receive the 220 response with the FQDN of the server and the version of SMTP.
2. Start communication by typing the following command:
EHLO test.com
Note You can use the HELO command, but EHLO is a verb that exists in the Extended SMTP verb set that is supported in all current Microsoft implementations of SMTP. It is a good idea to use EHLO, unless you believe that there is a problem with the Extended SMTP Verbs.

If the command is successful, you receive the following response:
250 OK
 
3. Type the following command to tell the receiving SMTP server who the message is from:
MAIL FROM:Admin@test.com
Note This address can be any SMTP address that you want, but it is a good idea to consider the following issues: a.  Some SMTP mail systems filter messages based on the MAIL FROM: address and may not permit certain IP addresses to connect or may not permit the IP address to send e-mail to the SMTP mail system if the connecting IP address does not match the domain where the SMTP mail system resides. In this example, that domain is test.com. 
b.  If you do not use a valid e-mail address when you send a message, you cannot determine if the message had a delivery problem, because the non-delivery report (NDR) cannot reach an IP address that is not valid. If you use a valid e-mail address, you receive the following response from the SMTP server:
250 OK - MAIL FROM Admin@test.com
 
 
4. Type the following command to tell the receiving SMTP server whom the message is to.

Note It is a good idea to always use a valid recipient SMTP address in the domain that you are sending to. For example, if you are sending to john@domain.com, you must be certain that john@domain.com exists in the domain. Otherwise, you will receive an NDR.

Type the following command with the SMTP address of the person you want to send to:
RCPT TO: User@Domain.Com
You receive the following response:
250 OK - Recipient User@ Domain.Com
 
5. Type the following command to tell the SMTP server that you are ready to send data:
DATA
You receive the following response: 354 Send data. End with CRLF.CRLF
 
6. You are now ready to start typing the 822/2822 section of the message. The user will see this part of the message in their inbox. Type the following command to add a subject line:
Subject: test message
Press ENTER two times. You do not receive a response from this command.

Note The two ENTER commands comply with Request for Comments (RFC) 822 and 2822. 822 commands must be followed by a blank line. 
7. Type the following command to add message body text:
This is a test message you will not see a response from this command.
8. Type a period (.) at the next blank line, and then press ENTER. You receive the following response:
250 OK
 
9. Close the connection by typing the following command:
QUIT
You receive the following response:
221 closing connection

 E-mail Website ICQ MSNM Skype Hyves LinkedIn 
Zoek in afgelopen ok
 
   Overzicht / Lotus Notes Beheer / Server  
Pagina 1 van 1 

IBM LOTUS NOTES migratie doet u samen met INECO

Powered by Lotus Domino R8.5.3 on Fedora Core 14 Dit  forum is gemaakt door Intranet &  Network Consultancy. © 2011.
Voor vragen of opmerkingen  kunt u contact opnemen met:  .
Deze site is gemaakt met Lotus Notes R8.5.3 en draait op Fedora Core 14.

INECO Support Contract banner