?
Solved

Sending email outbound using AS400

Posted on 2007-10-02
6
Medium Priority
?
1,822 Views
Last Modified: 2013-12-06
So we have an Exchange 2003 solution installed. Works very well. We also have an AS400 that emails out Invoices, other stuff. I can connect the AS400 to exchange, and it works well if I need to send something internally. However if I try to send something to an external email address, it sends, but my external address does not recieve, nor do I get an Admin message.

I talked to my AS400 provider about it, they say it's an exchange issue, which I agree. However after running through all the settings, I am not seeing an answer on how to fix the problem. Maybe I am missing it.

Anyway, does anyone know what needs to be done to allow the AS400 to send email to Exchange so it can be sent out?

Thanks.
0
Comment
Question by:j_powers
  • 3
  • 3
6 Comments
 
LVL 27

Expert Comment

by:tliotta
ID: 20001284
j_powers:

Please prompt the CHGSMTPA command on your AS/400 and review both the <help> and the setting for the FIREWALL() parameter. This setting should be fully reviewed in addition to the MAILROUTER() parameter, but I would expect that one to be correct already. I'd look to see if FIREWALL(*YES) is set.

If the FIREWALL() setting is correct for you, then the first place to look on Exchange would be its 'relay' settings/restrictions.

After that...?

Tom
0
 
LVL 5

Author Comment

by:j_powers
ID: 20004231
Yes, both the mail router and the Firewall are set properly. Problem is I believe our interface program overrides those settings with their own, and those are also set correctly.

If we leave the mail server off and let the AS/400 send mail, it works just fine. But we really want to route this stuff through Exchange.

Relay settings?
0
 
LVL 27

Accepted Solution

by:
tliotta earned 500 total points
ID: 20010407
> Relay settings?

The thought comes from:

> I can connect the AS400 to exchange, and it works well if I need to send something internally. However if I try to send something to an external email address, it sends, but my external address does not recieve, nor do I get an Admin message.

Because Exchange routes okay internally, but fails to route externally when the originator is your AS/400, then it looks as if Exchange is denying 'relay' privileges to your AS/400 IP address.

I'm not up on Exchange configuration, so I can't provide clear instructions. I'd simply suggest asking your Exchange Admin to show you the Exchange directive that allows the AS/400 to relay through Exchange. But, it sounds as if you have no Exchange Admin or you're the Exchange Admin...?

The relay settings would be involved in controlling the "open relay" problem of mail servers. You want outside systems to talk SMTP with your mail server in order to deliver e-mail to you. But you _don't_ want outside systems to talk SMTP with your mail server such that they would be passing e-mail in and requesting it to be sent to the real destination somewhere outside your network. That would be a 'relay. That's what many spam systems do -- search for e-mail servers that allow "open relay".

You want your Exchange server to relay _only_ from systems that are approved, such as your AS/400. Often, relay privilege is granted only to IP addresses on the inside of your network for example. Proper subnetting can be important there.

That might be too simple an explanation, but it should be enough to get you started or to get someone who's an Exchange expert into the conversation.

Tom
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
LVL 5

Author Comment

by:j_powers
ID: 20017017
"Open Relay" is the key word I needed. I went into Exchange System Manager and set an Open Relay for my AS400. It then sent out emails internally and externally. Best part is when the email was bad, I got a SysAdmin message in my email box.

Thanks.
0
 
LVL 27

Expert Comment

by:tliotta
ID: 20018444
j_powers:

Glad it was that easy. Now, make sure you log that info along with the CHGSMTPA attributes somewhere! Sooner or later, an update to Exchange or i5/OS or TCP/IP on either of those or your network will happen and e-mail will inexplicably stop. CYA now and keep it handy.

Tom
0
 
LVL 5

Author Comment

by:j_powers
ID: 20018696
Like I said, our interface program overwrites those settings. But I will keep an eye on it.

Thanks.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
In this post, we will learn to set up the Group Naming policy and will see how it is going to impact the Display Name and the Email addresses of the Group.
This video discusses moving either the default database or any database to a new volume.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question