Koozali.org: home of the SME Server

qmail: 501 could not parse your mail from command

mbachmann

qmail: 501 could not parse your mail from command
« on: August 02, 2007, 12:37:18 AM »
SME 7.2 server gateway, should recieve via SMTP from ISP

Code: [Select]
telnet 192.168.3.120 25 (this is the external interface)
Code: [Select]
Trying 192.168.3.120...
Connected to 192.168.3.120.
Escape character is '^]'.
220 metrokles.test.umeta.de ESMTP
HELO BROT
250 test.umeta.de Hi Unknown [192.168.3.100]; I am so happy to meet you.
MAIL FROM: mb@validadress.com
501 could not parse your mail from command
RCPT TO: existing.user@umeta.test.de
503 Use MAIL before RCPT


The SMTP transport functions but is this behaviour intended? It should reply "250 OK" after RFC 2821 shouldn't it?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: qmail: 501 could not parse your mail from command
« Reply #1 on: August 02, 2007, 02:07:59 AM »
Quote from: "mbachmann"

Code: [Select]
Trying 192.168.3.120...
Connected to 192.168.3.120.
Escape character is '^]'.
220 metrokles.test.umeta.de ESMTP
HELO BROT
250 test.umeta.de Hi Unknown [192.168.3.100]; I am so happy to meet you.
MAIL FROM: mb@validadress.com
501 could not parse your mail from command
RCPT TO: existing.user@umeta.test.de
503 Use MAIL before RCPT


The SMTP transport functions but is this behaviour intended? It should reply "250 OK" after RFC 2821 shouldn't it?


Only if you use a valid SMTP Mail from: command, such as:

Code: [Select]

MAIL FROM: <mb@validadress.com>

mbachmann

qmail: 501 could not parse your mail from command
« Reply #2 on: August 02, 2007, 10:17:43 PM »
Code: [Select]
MAIL FROM: <mb@validadress.com>
250 <mb@validadress.com>, sender OK - how exciting to get mail from you!


Thanks a lot, Charlie. I suspected it was my fault but not exactly why.