vinaym
asked on
as400; email SMTP
Hi,
I got email set up instruction from various sources and I did that but when i do SNDDST it says successfully distributed but i never received email.
I changed SMTP attribute with this command
CHGSMTPA AUTOSTART(*SAME) RTYMIN(3 1) RTYDAY(0 0) RTYHOUR(0 0) USRIDDELIM(
'?') MAILROUTER(*NONE) FIREWALL(*NO) JOURNAL(*YES) ALLMAILMSF(*NO) DIALSCD(*NO)
There is filtering Linux firewall, that is why i made firewall parameter *No.
and then I started SMTP server by STRTCPSVR *SMTP.
SMTP job showing staus TIMW and then TIMA and then it disappears from WRKACTJOB.
I am not able to understand why SMTP is not running.
Please help me out.
Thanks,
Vinay
I got email set up instruction from various sources and I did that but when i do SNDDST it says successfully distributed but i never received email.
I changed SMTP attribute with this command
CHGSMTPA AUTOSTART(*SAME) RTYMIN(3 1) RTYDAY(0 0) RTYHOUR(0 0) USRIDDELIM(
'?') MAILROUTER(*NONE) FIREWALL(*NO) JOURNAL(*YES) ALLMAILMSF(*NO) DIALSCD(*NO)
There is filtering Linux firewall, that is why i made firewall parameter *No.
and then I started SMTP server by STRTCPSVR *SMTP.
SMTP job showing staus TIMW and then TIMA and then it disappears from WRKACTJOB.
I am not able to understand why SMTP is not running.
Please help me out.
Thanks,
Vinay
ASKER
Hi Steve,
Thanks for your reply. Please see joblog in attachments.
_________
Vinay
QPJOBLOG272528SMTPjoblog.txt
Thanks for your reply. Please see joblog in attachments.
_________
Vinay
QPJOBLOG272528SMTPjoblog.txt
The job log is clear. Your system has not been setup to send email.
Here is link to a doc that has all the details: http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/rzair/rzair.pdf
You may have more issues but if you want to solve the one the system is complaining about now, you should add your systems fully qualified name to it's host table. 'ISERIES.WEBMAIL.ITTI.COM' is the name.
do this:
CFGTCP
10
use option 1 to add the ip address of your system.
there is a chance that the ip is already in the table. if so use option 2 to change that entry and add the host name to it.
you can ping 'ISERIES.WEBMAIL.ITTI.COM' from the command line. if you get a response indicating your ip then start smtp and see what happens.
I have simplified this a bunch. there may be issues.
Steve Bowdoin
Here is link to a doc that has all the details: http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/rzair/rzair.pdf
You may have more issues but if you want to solve the one the system is complaining about now, you should add your systems fully qualified name to it's host table. 'ISERIES.WEBMAIL.ITTI.COM'
do this:
CFGTCP
10
use option 1 to add the ip address of your system.
there is a chance that the ip is already in the table. if so use option 2 to change that entry and add the host name to it.
you can ping 'ISERIES.WEBMAIL.ITTI.COM'
I have simplified this a bunch. there may be issues.
Steve Bowdoin
ASKER
Thanks Steve. I did what you explained.
Now I am able run smtp.
But when i am using SNDDST to send a test email to my id. I do not receive email.
Please help me in that.
Thanks,
Vinay
Now I am able run smtp.
But when i am using SNDDST to send a test email to my id. I do not receive email.
Please help me in that.
Thanks,
Vinay
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dear All,
Even if smtp is running but email is still not being sent.
any suggestion where to look at?
Or what else can be checked?
Thanks,
Even if smtp is running but email is still not being sent.
any suggestion where to look at?
Or what else can be checked?
Thanks,
ASKER
Please see why there multiple jobs of QMSF and QTSMTPxxx when i do wrkactjob
QMSF QMSF BCH .0 DEQW
QMSF QMSF BCH .0 DEQW
QMSF QMSF BCH .0 DEQW
QTSMTPBRCL QTCP BCH .0 DEQW
QTSMTPBRSR QTCP BCH .0 DEQW
QTSMTPCLTD QTCP BCH .0 DEQW
QTSMTPSRVD QTCP BCH .0 SELW
ASKER
I am still waiting for experts comments. I am not able o send email yet.
Thanks,
Thanks,
When you execute SNDDST, you aren't sending SMTP e-mail.
SNDDST is a SNA command. It sends SNA distributions (e-mail). In order for SNDDST to send through the SMTP e-mail server, you need to ensure that the gateway between SNA and SMTP is working. The gateway is handled by the "bridge" jobs that are named QTSMTPBRCL and QTSMTPBRSR. The QTSMTPBRCL job is the gateway (bridge) client job, and QTSMTPBRSR is the gateway server.
You show them to be active.
So far, we don't know if the problem is on the SNA side, on the SMTP side or in the gateway programs themselves.
First place to look would be in the Distribution Log. Use SNDDST to send a message with an internet address, and then run the DSPDSTLOG command with a beginning time just before you ran SNDDST. You see a log of what happened to your distribution. If it was successfully handed over to SMTP, you can start looking for SMTP problems. Otherwise you will look along the processing through the SNA functions.
Tom
SNDDST is a SNA command. It sends SNA distributions (e-mail). In order for SNDDST to send through the SMTP e-mail server, you need to ensure that the gateway between SNA and SMTP is working. The gateway is handled by the "bridge" jobs that are named QTSMTPBRCL and QTSMTPBRSR. The QTSMTPBRCL job is the gateway (bridge) client job, and QTSMTPBRSR is the gateway server.
You show them to be active.
So far, we don't know if the problem is on the SNA side, on the SMTP side or in the gateway programs themselves.
First place to look would be in the Distribution Log. Use SNDDST to send a message with an internet address, and then run the DSPDSTLOG command with a beginning time just before you ran SNDDST. You see a log of what happened to your distribution. If it was successfully handed over to SMTP, you can start looking for SMTP problems. Otherwise you will look along the processing through the SNA functions.
Tom
ASKER
helpful answer
ASKER
thanks
start STMP again, wait for it to fail, then WRKOUTQ QEZJOBLOG.
look for items with SMTP in their names.
Then post what you find.
Steve Bowdoin