• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Why is my i/OS Email Coming Back Undeliverable?

    April 27, 2011 Hey, Joe

    We send a lot of emails from our i 6.1.1 partition using the operating system’s SMTP server and a third-party email application. We recently converted from paper to email invoices, which has resulted in a big spike in System i email. Now we’re also seeing more messages returned from our external SMTP relay as “undeliverable.” What’s going on and what can I do about it?

    –Glen

    Given the increased traffic, it looks like your external SMTP server is being overwhelmed with email demands and that is delaying delivery. The external server may simply be busy and not able to handle your mass emails. If delivery is delayed long enough, your i/OS SMTP server will exceed its retransmission parameters for delivery and it will simply stop delivering email to the external server. To combat these time-outs, here’s a quick solution for improving the odds of getting your email delivered.

    On your i/OS partition, check your SMTP retransmission parameters to see if you’re allowing enough time to send out your newly generated email messages. All SMTP servers have first- and second-level retransmission parameters that tell your iSeries, System i, or Power i server how long to attempt forwarding email to an SMTP relay before the partition gives up and marks the message as “undeliverable.”

    If you’re using your partition’s default SMTP retransmission parameters, the server attempts to deliver email according to the following rules.

    • The SMTP server will attempt to deliver each message three times before marking it as undeliverable.
    • After the first delivery attempt, the system attempts a second delivery if the email isn’t delivered to its next hop after 30 minutes. If the second attempt isn’t delivered after another 30 minutes, it sends the email a third time. If your third delivery isn’t successful 30 minutes later, the SMTP server marks the email as “undeliverable” and returns it to the sender.

    Default i/OS SMTP email delivery is attempted three times over 90 minutes before the system gives up trying to send a message. This isn’t a lot of attempts as opposed to SMTP servers in the non-i/OS world, where email forwarding is attempted over a period ranging anywhere from 12 to 72 hours before marking a message as undeliverable.

    So one thing you can try is to increase the system’s SMTP server email delivery retransmission parameters to allow for a longer delivery window before a message becomes undeliverable. Start by changing your parameters to 24 delivery attempts over a 12-hour period, with each subsequent delivery attempt occurring every 30 minutes. Doing this will change your i/OS email retransmission schedule from three retransmissions in 90 minutes to 24 retransmissions over 12 hours. With this type of transmission schedule, your email messages have a much lower chance of being marked as “undeliverable” due to a busy SMTP server.

    Changing your SMTP retry parameters is easy on the green screen. Typing in the following Change SMTP Attributes (CHGSMTPA) command will change your default retry parameter to the 24 delivery attempts in 12 hours scenario I mentioned above.

    CHGSMTPA RTYMIN(24 30) RTYDAY(0 0) RTYHOUR(0 0)
    

    The Retries By Minute (RTYMIN) parameter of “24 30” sets up our 24 delivery attempts every 30 minutes scenario. Notice that there are also Retries By Day (RTYDAY) and Retries By Hour (RTYHOUR) parameters. These parameters are used as secondary retry parameters that backstop RTYMIN when its retries are exhausted. If you’re just setting up the 12 hours every 30 minute scenario, you can safely ignore the RTYDAY and RTYHOUR parameters (setting them to zero) and just set up RTYMIN.

    Note that SMTP retry parameters can also be set up in System i Navigator (OpsNav). To do this, display all your system’s TCP/IP servers by opening the Network→Servers→TCP/IP node under your partition. Find and right-click on the SMTP server entry in the screen that lists out all the available TCP/IP servers. Select Properties from the pop-up menu that appears. On the SMTP Properties screen, click on the Outbound Mail Retries tab to get the following screen where you can change your SMTP server’s first and second level retry parameters.

    Whether you are changing your parameters via the green screen or through OpsNav, an SMTP server parameter change takes effect immediately.

    Delivering your emails over a longer period of time should result in fewer undeliverable messages when the external SMTP server is busy. You can also adjust your retry parameters upward if you find the 24 times in 12 hours scenario does not work for you.

    HTH

    –Joe



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    BCD:  FREE Webinar: New Presto 3 - The MOST flexible IBM i Web GUI for green screens. View NOW!
    Vision Solutions:  Real-Time Database Sharing: What Can It Do for Your Business? FREE White Paper!
    COMMON:  Join us at the 2011 Conference & Expo, May 1 - 4 in Minneapolis, MN

    IT Jungle Store Top Book Picks

    BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The iSeries Pocket Database Guide: List Price, $59
    The iSeries Pocket SQL Guide: List Price, $59
    The iSeries Pocket WebFacing Primer: List Price, $39
    Migrating to WebSphere Express for iSeries: List Price, $49
    Getting Started with WebSphere Express for iSeries: List Price, $49
    The All-Everything Operating System: List Price, $35
    The Best Joomla! Tutorial Ever!: List Price, $19.95

    Jamaica Port Authority Revs IT Systems to Handle More Traffic IBM Is Prepping Power7+ and Pondering Power8

    Leave a Reply Cancel reply

Volume 11, Number 14 -- April 27, 2011
THIS ISSUE SPONSORED BY:

ProData Computer Services
SEQUEL Software
COMMON

Table of Contents

  • DDS Design with RD Power
  • Updating Through a Join with SQL, Take Two
  • Why is my i/OS Email Coming Back Undeliverable?

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle