From: dummy1969 on
I have a problem sending msg to account of fastwebnet.it.
I always recive a message refused.

Making test via a telnet connection I made this discover.

If I close the message WITHOUT put the command Subject at the end of
the msg, it's refused

==============================================================
220 aa022msr.fastwebnet.it ESMTP Service (7.3.105.6) Ready ehlo
libero.it 250-aa022msr.fastwebnet.it 250-DSN 250-8BITMIME 250-
PIPELINING 250-HELP 250-AUTH DIGEST-MD5 PLAIN 250-DELIVERBY 300 250
SIZE 30000000 mail from:<l(a)libero.it>
501 Syntax error in parameters or arguments to MAIL command MAIL
FROM:<L(a)LIBERO.IT> 250 MAIL FROM:<L(a)LIBERO.IT> OK RCPT
TO:<luciana(a)videorent.fastwebnet.it>
250 RCPT TO:<luciana(a)videorent.fastwebnet.it> OK data
354 Start mail input; end with <CRLF>.<CRLF> saluti .
554 Message refused
==============================================================


Instead if I put the command Subject before closing the message it's
accepted
==============================================================
220 aa022msr.fastwebnet.it ESMTP Service (7.3.105.6) ready ehlo
l(a)libero.it 250-aa022msr.fastwebnet.it 250-DSN 250-8BITMIME 250-
PIPELINING 250-HELP 250-AUTH DIGEST-MD5 PLAIN 250-DELIVERBY 300 250
SIZE 30000000 MAIL FROM:l(a)libero.it
501 Syntax error in parameters or arguments to MAIL command MAIL
FROM:<l(a)libero.it> 250 MAIL FROM:<l(a)libero.it> OK RCPT
TO:luciana(a)videorent.fastwebnet.it
501 Syntax error in parameters or arguments to RCPT command RCP
TO:<luciana(a)videorent.fastwebnet.it>
500 RCP command unrecognized
DATA
554 DATA Transaction failed, no recipients given RCPT
TO:<luciana(a)videorent.fastwebnet.it>
250 RCPT TO:<luciana(a)videorent.fastwebnet.it> OK DATA
354 Start mail input; end with <CRLF>.<CRLF> CIAO
Subject:questa è una prova .
250 <45D743D200AB851C> Mail accepted
quit
221 aa022msr.fastwebnet.it QUIT
==============================================================

This behavior could be caused by some sendmail setting ? If true how
can change to work correctly ? If not could be caused by some client
configuration ?

Thanks to all for any kind of help

From: ThanksButNo on
On Feb 22, 2:11 am, dummy1...(a)gmail.com wrote:
> I have a problem sending msg to account of fastwebnet.it.
> I always recive a message refused.
>
> Making test via a telnet connection I made this discover.
>
> If I close the message WITHOUT put the command Subject at the end of
> the msg, it's refused
>
> ==============================================================
> 220 aa022msr.fastwebnet.it ESMTP Service (7.3.105.6) Ready ehlo
> libero.it 250-aa022msr.fastwebnet.it 250-DSN 250-8BITMIME 250-
> PIPELINING 250-HELP 250-AUTH DIGEST-MD5 PLAIN 250-DELIVERBY 300 250
> SIZE 30000000 mail from:<l...(a)libero.it>
> 501 Syntax error in parameters or arguments to MAIL command MAIL
> FROM:<L...(a)LIBERO.IT> 250 MAIL FROM:<L...(a)LIBERO.IT> OK RCPT
> TO:<luci...(a)videorent.fastwebnet.it>
> 250 RCPT TO:<luci...(a)videorent.fastwebnet.it> OK data
> 354 Start mail input; end with <CRLF>.<CRLF> saluti .
> 554 Message refused
> ==============================================================
>
> Instead if I put the command Subject before closing the message it's
> accepted
> ==============================================================
> 220 aa022msr.fastwebnet.it ESMTP Service (7.3.105.6) ready ehlo
> l...(a)libero.it 250-aa022msr.fastwebnet.it 250-DSN 250-8BITMIME 250-
> PIPELINING 250-HELP 250-AUTH DIGEST-MD5 PLAIN 250-DELIVERBY 300 250
> SIZE 30000000 MAIL FROM:l...(a)libero.it
> 501 Syntax error in parameters or arguments to MAIL command MAIL
> FROM:<l...(a)libero.it> 250 MAIL FROM:<l...(a)libero.it> OK RCPT
> TO:luci...(a)videorent.fastwebnet.it
> 501 Syntax error in parameters or arguments to RCPT command RCP
> TO:<luci...(a)videorent.fastwebnet.it>
> 500 RCP command unrecognized
> DATA
> 554 DATA Transaction failed, no recipients given RCPT
> TO:<luci...(a)videorent.fastwebnet.it>
> 250 RCPT TO:<luci...(a)videorent.fastwebnet.it> OK DATA
> 354 Start mail input; end with <CRLF>.<CRLF> CIAO
> Subject:questa è una prova .
> 250 <45D743D200AB851C> Mail accepted
> quit
> 221 aa022msr.fastwebnet.it QUIT
> ==============================================================
>
> This behavior could be caused by some sendmail setting ? If true how
> can change to work correctly ? If not could be caused by some client
> configuration ?
>
> Thanks to all for any kind of help

Are you getting that log from a manual telnet? Coz you're getting
syntax errors from not correctly formatting the "MAIL FROM" and "RCPT
TO" commands, and I'm pretty sure a sendmail on your end wouldn't make
those kinds of mistakes.

From: dummy1969 on
Yes I know it, but when I use the right command for mail from or rcpt
to I still get error and the end if I don't close message with subject
command. Any suggestion ?

thanks for your attention

best regards

On 23 Feb, 23:00, "ThanksButNo" <no.no.tha...(a)gmail.com> wrote:
> On Feb 22, 2:11 am, dummy1...(a)gmail.com wrote:
>
>
>
> > I have a problem sending msg to account of fastwebnet.it.
> > I always recive a message refused.
>
> > Making test via a telnet connection I made this discover.
>
> > If I close the message WITHOUT put the command Subject at the end of
> > the msg, it's refused
>
> > ==============================================================
> > 220 aa022msr.fastwebnet.it ESMTP Service (7.3.105.6) Ready ehlo
> > libero.it 250-aa022msr.fastwebnet.it 250-DSN 250-8BITMIME 250-
> > PIPELINING 250-HELP 250-AUTH DIGEST-MD5 PLAIN 250-DELIVERBY 300 250
> > SIZE 30000000 mail from:<l...(a)libero.it>
> > 501 Syntax error in parameters or arguments to MAIL command MAIL
> > FROM:<L...(a)LIBERO.IT> 250 MAIL FROM:<L...(a)LIBERO.IT> OK RCPT
> > TO:<luci...(a)videorent.fastwebnet.it>
> > 250 RCPT TO:<luci...(a)videorent.fastwebnet.it> OK data
> > 354 Start mail input; end with <CRLF>.<CRLF> saluti .
> > 554 Message refused
> > ==============================================================
>
> > Instead if I put the command Subject before closing the message it's
> > accepted
> > ==============================================================
> > 220 aa022msr.fastwebnet.it ESMTP Service (7.3.105.6) ready ehlo
> > l...(a)libero.it 250-aa022msr.fastwebnet.it 250-DSN 250-8BITMIME 250-
> > PIPELINING 250-HELP 250-AUTH DIGEST-MD5 PLAIN 250-DELIVERBY 300 250
> > SIZE 30000000 MAIL FROM:l...(a)libero.it
> > 501 Syntax error in parameters or arguments to MAIL command MAIL
> > FROM:<l...(a)libero.it> 250 MAIL FROM:<l...(a)libero.it> OK RCPT
> > TO:luci...(a)videorent.fastwebnet.it
> > 501 Syntax error in parameters or arguments to RCPT command RCP
> > TO:<luci...(a)videorent.fastwebnet.it>
> > 500 RCP command unrecognized
> > DATA
> > 554 DATA Transaction failed, no recipients given RCPT
> > TO:<luci...(a)videorent.fastwebnet.it>
> > 250 RCPT TO:<luci...(a)videorent.fastwebnet.it> OK DATA
> > 354 Start mail input; end with <CRLF>.<CRLF> CIAO
> > Subject:questa è una prova .
> > 250 <45D743D200AB851C> Mail accepted
> > quit
> > 221 aa022msr.fastwebnet.it QUIT
> > ==============================================================
>
> > This behavior could be caused by some sendmail setting ? If true how
> > can change to work correctly ? If not could be caused by some client
> > configuration ?
>
> > Thanks to all for any kind of help
>
> Are you getting that log from a manual telnet? Coz you're getting
> syntax errors from not correctly formatting the "MAIL FROM" and "RCPT
> TO" commands, and I'm pretty sure a sendmail on your end wouldn't make
> those kinds of mistakes.


From: dummy1969 on
Yes I know it, but when I use the right command for mail from or rcpt
to I still get error and the end if I don't close message with subject
command. Any suggestion ?

thanks for your attention

best regards

On 23 Feb, 23:00, "ThanksButNo" <no.no.tha...(a)gmail.com> wrote:
> On Feb 22, 2:11 am, dummy1...(a)gmail.com wrote:
>
>
>
> > I have a problem sending msg to account of fastwebnet.it.
> > I always recive a message refused.
>
> > Making test via a telnet connection I made this discover.
>
> > If I close the message WITHOUT put the command Subject at the end of
> > the msg, it's refused
>
> > ==============================================================
> > 220 aa022msr.fastwebnet.it ESMTP Service (7.3.105.6) Ready ehlo
> > libero.it 250-aa022msr.fastwebnet.it 250-DSN 250-8BITMIME 250-
> > PIPELINING 250-HELP 250-AUTH DIGEST-MD5 PLAIN 250-DELIVERBY 300 250
> > SIZE 30000000 mail from:<l...(a)libero.it>
> > 501 Syntax error in parameters or arguments to MAIL command MAIL
> > FROM:<L...(a)LIBERO.IT> 250 MAIL FROM:<L...(a)LIBERO.IT> OK RCPT
> > TO:<luci...(a)videorent.fastwebnet.it>
> > 250 RCPT TO:<luci...(a)videorent.fastwebnet.it> OK data
> > 354 Start mail input; end with <CRLF>.<CRLF> saluti .
> > 554 Message refused
> > ==============================================================
>
> > Instead if I put the command Subject before closing the message it's
> > accepted
> > ==============================================================
> > 220 aa022msr.fastwebnet.it ESMTP Service (7.3.105.6) ready ehlo
> > l...(a)libero.it 250-aa022msr.fastwebnet.it 250-DSN 250-8BITMIME 250-
> > PIPELINING 250-HELP 250-AUTH DIGEST-MD5 PLAIN 250-DELIVERBY 300 250
> > SIZE 30000000 MAIL FROM:l...(a)libero.it
> > 501 Syntax error in parameters or arguments to MAIL command MAIL
> > FROM:<l...(a)libero.it> 250 MAIL FROM:<l...(a)libero.it> OK RCPT
> > TO:luci...(a)videorent.fastwebnet.it
> > 501 Syntax error in parameters or arguments to RCPT command RCP
> > TO:<luci...(a)videorent.fastwebnet.it>
> > 500 RCP command unrecognized
> > DATA
> > 554 DATA Transaction failed, no recipients given RCPT
> > TO:<luci...(a)videorent.fastwebnet.it>
> > 250 RCPT TO:<luci...(a)videorent.fastwebnet.it> OK DATA
> > 354 Start mail input; end with <CRLF>.<CRLF> CIAO
> > Subject:questa è una prova .
> > 250 <45D743D200AB851C> Mail accepted
> > quit
> > 221 aa022msr.fastwebnet.it QUIT
> > ==============================================================
>
> > This behavior could be caused by some sendmail setting ? If true how
> > can change to work correctly ? If not could be caused by some client
> > configuration ?
>
> > Thanks to all for any kind of help
>
> Are you getting that log from a manual telnet? Coz you're getting
> syntax errors from not correctly formatting the "MAIL FROM" and "RCPT
> TO" commands, and I'm pretty sure a sendmail on your end wouldn't make
> those kinds of mistakes.


From: ThanksButNo on
On Feb 26, 5:22 am, dummy1...(a)gmail.com wrote:
> Yes I know it, but when I use the right command for mail from or rcpt
> to I still get error and the end if I don't close message with subject
> command. Any suggestion ?

If you send a normal message, via a normal mail agent (e.g., mailx,
or, search google for a very useful Perl script called "sendEmail") --

and that message contains a "Subject" line --

does it complain?

Vs. -- if you use the mail agent without a subject -- ??

It occurs to me that the SMTP server on the other end is simply doing
some validation on the headers in the message (the message body being
the part after the "DATA" command). I think sendmail doesn't normally
do that with the message body, but looking again over your transaction
logs, I don't think your destination server is using sendmail.
Generally, sendmail will announce itself and its version number at the
first connection.

E.g., if you "telnet sendmail.org 25", their sendmail server responds:

220 services.sendmail.org ESMTP Sendmail 8.14.0.Alpha1/8.14.0.Alpha1;
Mon, 26 Feb 2007 17:03:55 -0800 (PST)

So, right away you know they're using sendmail (as well as they
should, since it's their product!) and they're using version 8.14.0.

Looking once again at your logs:

220 aa022msr.fastwebnet.it ESMTP Service (7.3.105.6) Ready

So -- not sendmail.

I am unfamiliar with whatever smtp program is being used at that end,
but whatever it is, THAT is the guy complaining about your input and
giving error messages. Possibly it's an anti-spam measure to
guarantee that messages are at least correctly formatted.

I.e., this is not a sendmail problem.

Sorry. <:-(