TechTip: SMTP and Email Relay

IBM i (OS/400, i5/OS)
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times
A few months ago, we learned that someone was using our V4R5 AS/400 as an email relay. We were able to stop this by creating QUSRSYS/QTMSADRLST and adding a member named Accept Relay (ACCEPTRLY).

Then, shortly after migrating to V5R1, we noticed some strange messages in QSYSOPR that led us to the conclusion that someone was once again using us as an email relay. A quick check revealed that QUSRSYS/QTMSADRLST no longer existed, so I recreated it. When the SMTP server was restarted, however, it deleted QUSRSYS/QTMSADRLST! I then checked the iSeries Information Center and found that it too directed me to use QUSRSYS/QTMSADRLST as the means to prevent unauthorized email relaying.

At that point, I called IBM. The IBM rep I spoke to said that the Information Center is wrong and that relaying is now controlled by the ALWRLY parameter of the CHGSMTPA command. I changed it to *NONE, and that solved our problem. So add this to your list of things to check when converting to V5R1!

Joe Wells is a Sr. Systems Analyst with University of Alabama Health Services Foundation. He can be reached by email at This email address is being protected from spambots. You need JavaScript enabled to view it..

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$0.00 Raised:
$