Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: mbachmann on August 02, 2007, 12:37:18 AM

Title: qmail: 501 could not parse your mail from command
Post by: mbachmann 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?
Title: Re: qmail: 501 could not parse your mail from command
Post by: CharlieBrady 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>
Title: qmail: 501 could not parse your mail from command
Post by: mbachmann 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.