Link to home
Create AccountLog in
Avatar of j_powers
j_powers

asked on

Sending email outbound using AS400

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.
Avatar of Member_2_276102
Member_2_276102

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
Avatar of j_powers

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Member_2_276102
Member_2_276102

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
"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.
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
Like I said, our interface program overwrites those settings. But I will keep an eye on it.

Thanks.