Koozali.org: home of the SME Server

[Solved] Trouble sending email - Multiple errors

Offline jim7jim

  • **
  • 61
  • +0/-0
[Solved] Trouble sending email - Multiple errors
« on: January 22, 2013, 10:02:27 PM »
Hello, I've started having trouble sending email to multiple domains. I'm getting multiple errors back from remote email servers. Examples:

Remote host said: 500 Unrecognized command
Remote host said: 500 Syntax error, unrecognized command - psmtp
Remote host said: 502 Unimplemented command.

I just rebooted the server and tried sending an email to one of my external accounts and got one of the bounce messages. I'm starting to look through the logs but any guidance would be appreciated.

TIA!
« Last Edit: January 23, 2013, 08:43:47 AM by jim7jim »

Offline jim7jim

  • **
  • 61
  • +0/-0
Re: Trouble sending email - Multiple errors
« Reply #1 on: January 22, 2013, 11:01:48 PM »
Ok, I'm having some trouble receiving too. It looks like the server keeps throwing 'Unrecognized command' errors on at least some incoming email:

 521 Closing connection. 4 unrecognized commands.  Perhaps you should read RFC 2821?

I'll continue to look through the logs.

Offline jim7jim

  • **
  • 61
  • +0/-0
Re: Trouble sending email - Multiple errors
« Reply #2 on: January 23, 2013, 01:08:30 AM »
Found some more log entries that might help someone more experienced. These are from an email I sent from my live.com account. SME says unrecognized commands of 'received:', '   ', and 'x-eip:'

2013-01-22 18:59:35.936989500 9346 dispatching Received: from BAY167-W113 ([65.54.190.60]) by bay0-omc1-s3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);
2013-01-22 18:59:35.936992500 9346 running plugin (unrecognized_command): tls
2013-01-22 18:59:35.936994500 9346 Plugin tls, hook unrecognized_command returned DECLINED,
2013-01-22 18:59:35.936995500 9346 running plugin (unrecognized_command): count_unrecognized_commands
2013-01-22 18:59:35.936997500 9346 count_unrecognized_commands plugin (unrecognized_command): Unrecognized command 'received:'
2013-01-22 18:59:35.937008500 9346 Plugin count_unrecognized_commands, hook unrecognized_command returned DECLINED,
2013-01-22 18:59:35.937010500 9346 500 Unrecognized command
2013-01-22 18:59:35.937011500 9346 dispatching     Tue, 22 Jan 2013 15:59:33 -0800
2013-01-22 18:59:35.937013500 9346 running plugin (unrecognized_command): tls
2013-01-22 18:59:35.937014500 9346 Plugin tls, hook unrecognized_command returned DECLINED,
2013-01-22 18:59:35.937047500 9346 running plugin (unrecognized_command): count_unrecognized_commands
2013-01-22 18:59:35.937049500 9346 count_unrecognized_commands plugin (unrecognized_command): Unrecognized command '   '
2013-01-22 18:59:35.937051500 9346 Plugin count_unrecognized_commands, hook unrecognized_command returned DECLINED,
2013-01-22 18:59:35.937053500 9346 500 Unrecognized command
2013-01-22 18:59:35.937054500 9346 dispatching X-EIP: [iUkkujYTQVA2MLQF6cUE+qudXcDs94Z3]
2013-01-22 18:59:35.937067500 9346 running plugin (unrecognized_command): tls
2013-01-22 18:59:35.937069500 9346 Plugin tls, hook unrecognized_command returned DECLINED,
2013-01-22 18:59:35.937070500 9346 running plugin (unrecognized_command): count_unrecognized_commands
2013-01-22 18:59:35.937072500 9346 count_unrecognized_commands plugin (unrecognized_command): Unrecognized command 'x-eip:'
2013-01-22 18:59:35.937074500 9346 Plugin count_unrecognized_commands, hook unrecognized_command returned DECLINED,
2013-01-22 18:59:35.937081500 9346 500 Unrecognized command


I'm also having trouble sending external emails but internal ones on our domain are working. Is this just some sort or parsing error by SME?

TIA

Offline jim7jim

  • **
  • 61
  • +0/-0
Re: Trouble sending email - Multiple errors
« Reply #3 on: January 23, 2013, 07:44:10 AM »
Ok, I did a fresh install of version 7.6. I have not restored a backup yet. I created one user to test and I'm getting the same unrecognized command errors:
logging::logterse plugin (deny): ` 65.54.190.149   bay0-omc3-s11.bay0.hotmail.com   bay0-omc3-s11.bay0.hotmail.com   <*changed*@live.com>   <test@*changeddomain*.com>   count_unrecognized_commands   903   Closing connection. 4 unrecognized commands.  Perhaps you should read RFC 2821?   msg denied before queued


Also getting relaying denied errors:
logging::logterse plugin (deny): ` 119.249.205.150   Unknown   skaro.freeserve.co.uk   <ditufjumm.vaaehs@skaro.freeserve.co.uk>      check_goodrcptto   901   relaying denied

I'm going to do a restore in case those settings matter. I'm starting to wonder if it's my firewall or ISP?

Offline jim7jim

  • **
  • 61
  • +0/-0
Re: Trouble sending email - Multiple errors
« Reply #4 on: January 23, 2013, 08:43:02 AM »
Whoops. Looks like it was my untangle box hosing things up. Wish I would have checked that earlier .... :oops: