Link to home
Start Free TrialLog in
Avatar of evaughn44319
evaughn44319Flag for United States of America

asked on

GWIA responds "501 command syntax error" on inbound mail. Outbound mail works.

The first paragraph below is an excerpt from a post at http://forums.novell.com/novell-product-support-forums/groupwise/groupwise-7x/gw7-gwia/104590-gwia-501-syntax-errors.html.

** Excerpt start **
"GWIA is having troubles receiving email from the internet. I can telnet to
port 25 from an outside host. when testing, after i do "rcpt to:<email
address>" 501 command syntax error appears. outgoing mail works fine. i
have changed the /hn- switch to valid public "A" record. when sending from
an outside email account an undeliverable message comes to account stating
"There was a SMTP communication problem with the recipient's email server.
Please contact your system administrator. <mail.mailserver.com #5.5.0
smtp;501 Command syntax error>
** Excerpt end **

I started getting this exact same error on a NetWare/OES 6.5 Small Business Server today. I had to rebuild it from scratch due to hardware failure last week so everything is current. By that I mean NW 6.5 (NetWare kernel) w/SP7 and post SP7 updates, GroupWise 7.0.3 PLUS newly released Hot Patch 1 and Border Manager 3.8 w/SP5.

Internet email worked okay (a few quirks noted in GW 7.0.3 HP1 readme) until I went about getting BM to allow SMTP traffic through it from a PC with a custom app needing to comm with an external SMTP server and NOT GWIA. Using the default BM filter exceptions did not allow SMTP traffic through. GWIA could send and receive email, but pass through would not work. I tweaked and tweaked the BM filters to no avail. It was at this point that I discovered that GW 7.0.3 HP1 was released last week.

This morning internet email appeared to be working okay. I went ahead and installed HP1 for GW 7.0.3 in response to the quirky issues seen.

Next I resumed tweaking the BM filter exceptions until I got SMTP to pass through. I had to enable NAT (dynamic only) on the public interface, set nat dynamic mode to pass thru = on, and change the default stateful SMTP filter exceptions from specifying the public IP as the destination host on outgoing and the source host on incoming. I changed the destination for outgoing to any and the source for incoming to any. With these changes in place SMTP traffic from the PC with the custom app needing to comm with an external SMTP server worked.

At this point outbound email would go out through GWIA. Some time later someone from the outside reported that they were getting their mail bounced back. Upon testing from the outside, manually by using telnet on port 25, I found the exact same symptom reported in the original post above...after i do "rcpt to:<email
address>" 501 command syntax error appears.

In response I've done the obvious things. Which was to back out/undo everything I put in place for the SMTP traffic to pass through BM. Meaning I put the stateful SMTP filter exceptions back as they were and I disabled NAT. No change getting the 501 error.

After much research and tweaking I decided to back rev GWIA to 7.0.3 without HP1. I even deleted the eDir GWIA object and allowed the install to create a new one. No change. Since that didn't resolve the issue I deleted the newly created eDir GWIA object and then installed the 7.0.3 HP1 GWIA again and let that install create a new eDir GWIA object. No change.

Rebooted. No change.

So, here I am with a server that simply had some quirky/known 7.0.3 GWIA issues but now will not accept incoming email at all. Sorry so long folks. I wanted to provide the "whole" story up front. Any help would be most appreciated.
Avatar of Ghost96
Ghost96
Flag of United States of America image

While I probably missed this in your typing (and I'm assuming the answer is yes) - I'm hoping I'm wrong with my assumption...

So are you actually running GW and BM on the same box?  Do you have 2 NICs in this server (I would assume so) since/if you are running BM?

I probably missed this too, but have you tried telnetting directly to GroupWise Internally and not Externally?

I'm no pro with BM at all, so I probably won't be much for help, but I figured I'd post anyway.

I would have also thought you would do a static NAT and not a Dynamic NAT for SMTP traffic or communications, allowing "any" from the outside world and not simply the "source host" on incoming.
Avatar of ChrisLemoine
ChrisLemoine

Can you recieve email with the ipflt unloaded? If so, you have a BM filter issue.  You may need to look at your smtp filter.  

Also, set your NAT back to Static and Dynamic.
ASKER CERTIFIED SOLUTION
Avatar of evaughn44319
evaughn44319
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well glad you got it all sorted out.  Thanks for posting back with us to provide the solution :)