|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: 501 illegal syntax in command MAIL from.......smtpclient
From: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Wed Apr 19 2006 - 09:54:47 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Apr 19, 2006 at 04:46:57PM +0200, Remco Hannink wrote:
> The important postfix config rules are: (postconf -d)
>
> strict_rfc821_envelopes = no
>
> I use the following command to send the email:
>
> echo test | smtpclient -s test -f admin
192.168.1.4 name
hannink.org
>
> smtpd[17959]: > 220 server.hannink.org ESMTP Postfix
> smtpd[17959]: < HELO filekeeper
> smtpd[17959]: > 250 server.hannink.org
> smtpd[17959]: < MAIL FROM: <admin
192.168.1.4>
The correct syntax is: "MAIL FROM:<address>" without the SPACE between
"MAIL FROM:" and the address. More importantly <user
ba.re.IP.address>
is illegal. The preferred syntax is user
dom.ain or failing that, you can
use <user
[IP.address.domain.literal]>. You must put the IP address in [].
--
Viktor.
P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain the Unix email
environment. If you are interested, please drop me a note.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo
postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]