How to setup smtp on iseries




















To view the cleanup task options on your system, bring up the Cleanup Tasks menu by typing in the following Go to Menu GO command on a green screen command line. The cleanup options are fairly straightforward. The rest of the options deal with how many days worth of each type of system output you want to keep after cleanup completes i.

If you opt for automatic cleanup, the cleanup job will run every night. Unfortunately, because of nightly schedules, backups, system traffic, or other issues, not everyone wants to run system cleanup every night. You can insert the cleanup tasks into your job scheduler to run either as a scheduled job on certain nights of the week or as a reactive job after a critical companion job such as a nightly backup finishes.

However, if your system is already set to run system cleanup automatically each night, you may receive the following message. And the command will not run. To do this, go into option 1, Change Cleanup Options , on the Cleanup Tasks menu and make the following changes.

The reason you might want to use a job scheduler instead of the automatic cleanup function is that you may not want cleanup to run at the same time every night. Some nights, you may want to run it at 10 p. For that, you have to turn to a scheduling program. The first step is to add an entry to your job scheduler for the days you want cleanup to run.

Note: The host name and domain name you use for the wizard constitute your fully qualified domain name. You must configure the POP server to completely prepare your iSeries server for e-mail. You need to create user profiles to enroll e-mail users. User profiles are how iSeries identifies an addressee or sender of e-mail.

Any user you want as part of your e-mail system must have a user profile on the iSeries server. By creating a user profile for each user, you enroll the users in the system distribution directory automatically. The system distribution directory is what SMTP uses to determine where to deliver local e-mail. If nothing else, your ISP should have provided you with one when you signed up. SMTP servers run on port 25, so you need to tell the Telnet software to connect to port After you type that command, the Telnet session starts.

The following shows a sample SMTP session. The lines in red are the data that I typed to the server, and the parts in blue are responses from the server back to me. The exact text of the messages that the server sends you varies depending on the server software.

Numbers in the range are errors. In the preceding example, I told the server that I was named mypc. The server usually responds with its own name. Again, this should only contain the e-mail address itself, not the human-readable name. You can send as many RCPT commands as needed to specify all the recipients of a message. The DATA command designates the start of the file containing the e-mail message itself. When the DATA command has been accepted by the server, everything that follows is considered part of the e-mail message body.

This message body should be formatted the way I described in the previous article article ID If all is well, the server sends back a response to tell you that the message has been accepted.

Wait a minute! What if I had a line with a period by itself in my message body?! To accommodate that possibility, any line of text in the e-mail message that starts with a period should be preceded by one extra period. The server will strip the first period from each line. For example:. When the server reads each line of the preceding message, it looks for a period in the first column, and if one is there, it removes it.

If not, the line is added to the e-mail message, and the next line is processed. As long as an extra period is added to any line that starts with a period, the message is interpreted successfully. The preceding section describes how the SMTP protocol sends messages from one place to another.



0コメント

  • 1000 / 1000