Alaska Software Inc. - Why mail 553 error
Username: Password:
AuthorTopic: Why mail 553 error
Shum [MingYik]Why mail 553 error
on Tue, 24 Apr 2007 15:23:36 +0800
Hello All,

I try asinet smtpclient with the following error obtain from 
oSmtpClient:buffer   var:
553 this mail is rejected by antispam system, id=......

???


If under Outlook Express   e-mail can be sent without error ?


Any help ?


---------------------------
Shum [MingYik]
www.mingyik.com
---------------------------
Thomas Braun
Re: Why mail 553 error
on Tue, 24 Apr 2007 09:45:33 +0200
Shum [MingYik] wrote:

> Hello All,
> 
> I try asinet smtpclient with the following error obtain from 
> oSmtpClient:buffer   var:
> 553 this mail is rejected by antispam system, id=......
> 
> ???
> 
> If under Outlook Express   e-mail can be sent without error ?

Most likely you are using SMTP authentication with OE, but not with
ASINET...

This Microsoft article sums it up quite good:

http://office.microsoft.com/en-us/outlook/HA011128331033.aspx

Thomas
Shum [MingYik]Re: Why mail 553 error
on Tue, 24 Apr 2007 23:08:33 +0800
Hello Thomas Braun, and All,

Many thanks for your information ....

1.) It is no problem for me to send mail by Xbase++ & Asinet lib
through my ISP's SMTP server which authentication is required.

2.) Now I need to send email through some free SMTP server (which needed 
authentication as well)
however, it fail as i describe before ...But it success with Outlook Express 
!


Following are 2 mail format:
A.) sendwith Asinet lib through my ISP's SMTP server
B.) sendwith Outlook express through a free SMTP server (since it fail with 
Asinet lib)

A.)
Return-Path: <shum@mingyik.com>
Delivered-To: shum@mingyik.com
Received: (qmail 21338 invoked by uid 89); 24 Apr 2007 02:53:40 +0800
Received: from unknown (HELO smtp02.net-yan.com) (210.0.255.157)
  by 0 Netmail Cluster System v1 with SMTP; 24 Apr 2007 02:53:40 +0800
Received-SPF: none (0: domain at mingyik.com does not designate permitted 
sender hosts)
Received: (qmail 46388 invoked from network); 23 Apr 2007 18:56:10 -0000
Received: from unknown (HELO nowhere.com) 
(wschum88@hgcbroadband.com@[221.124.44.132])
          (envelope-sender <shum@mingyik.com>)
          by smtp02.net-yan.com (qmail-ldap-1.03) with SMTP
          for <shum@mingyik.com>; 23 Apr 2007 18:56:10 -0000
From: shum@mingyik.com
To: shum@mingyik.com
Subject: Dialy Sales Report of 2007 April, 24
MIME-Version: 1.0
Date: Date: Tue, 24 Apr 2007 02:58:28 +0800
Content-Type: text/plain
X-Antivirus: avast! (VPS 000735-2, 23/04/2007), Outbound message
X-Antivirus-Status: Clean
X-Antivirus: avast! (VPS 000735-2, 23/04/2007), Inbound message
X-Antivirus-Status: Clean


B.)
Return-Path: <hestia33@21cn.com>
Delivered-To: shum@mingyik.com
Received: (qmail 24724 invoked by uid 89); 24 Apr 2007 12:21:26 +0800
Received: from unknown (HELO 21cn.com) (59.36.102.60)
  by 0 Netmail Cluster System v1 with SMTP; 24 Apr 2007 12:21:26 +0800
Received-SPF: pass (0: SPF record at 21cn.com designates 59.36.102.60 as 
permitted sender)
HMM_SOURCE_IP:10.27.2.2:60119.474292709
HMM_ATTACHE_NUM:0000
HMM_SOURCE_TYPE:SMTP
Received: from 21cn.com (dgproxy2.inner-hermes.com [10.27.2.2])
 by 21cn.com (HERMES) with ESMTP id E10C638067
 for <shum@mingyik.com>; Tue, 24 Apr 2007 12:30:05 +0800 (CST)
Received: from aisp2-smtp (unknown [61.140.60.71])
 by 21cn.com (HERMES) with ESMTP
 for <shum@mingyik.com>; Tue, 24 Apr 2007 12:30:05 +0800 (CST)
Received: from mypc002([221.124.44.132])
 by aisp2-smtp(Knowledge-based Antispam Gateway 2.124g4) with ESMTP id 
local16807.1177389112 for <shum@mingyik.com>;
 Tue Apr 24 12:32:02 2007 +0800
X-Original-AuthLogin: hestia33@21cn.com
Message-ID: <006301c78628$b29bb070$6400a8c0@MYPC002>
From: "hestia33" <hestia33@21cn.com>
To: "shum [Ming Yik]" <shum@mingyik.com>
Subject: testing111
Date: Tue, 24 Apr 2007 12:26:05 +0800
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="big5";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3028
Disposition-Notification-To: "hestia33" <hestia33@21cn.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-Antivirus: avast! (VPS 000735-2, 23/04/2007), Outbound message
X-Antivirus-Status: Clean
X-Antivirus: avast! (VPS 000735-2, 23/04/2007), Inbound message
X-Antivirus-Status: Clean


Any idea ?


Shum
www.mingyik.com




"Thomas Braun" <spam@software-braun.de> 
???????:q4rtqo5rmfg$.ior3cszb9w6d.dlg@40tude.net...
> Shum [MingYik] wrote:
>
>> Hello All,
>>
>> I try asinet smtpclient with the following error obtain from
>> oSmtpClient:buffer   var:
>> 553 this mail is rejected by antispam system, id=......
>>
>> ???
>>
>> If under Outlook Express   e-mail can be sent without error ?
>
> Most likely you are using SMTP authentication with OE, but not with
> ASINET...
>
> This Microsoft article sums it up quite good:
>
> http://office.microsoft.com/en-us/outlook/HA011128331033.aspx
>
> Thomas
Andreas Gehrs-Pahl
Re: Why mail 553 error
on Wed, 25 Apr 2007 06:45:56 -0400
Shum,

Could you post the SMTP settings in Outlook Express and the ones you use 
in your program (you should obfuscate the Login Name and Password, though!)

Maybe this will show what the problem is. The "553" error specifies that the 
email was considered SPAM, and the Outlook Express email "B.)" is routed 
through a SPAM Proxy Server, while your ASINet email "A.)" is sent directly, 
without even being relayed to a different SMTP server (it appears).

I suppose that the email has to come from the SPAM Proxy Server -- and 
probably also contain the required "HMM_xxx:" headers -- before it is 
relayed by the actual "21cn.com" SMTP server. As I have never seen such an 
"SMTP-over-Proxy-Server" approach (outside of Web-based EMail) -- neither 
ASINet nor SEE4XB have any settings for Proxy Servers -- I assume that the 
"aisp2-smtp" server (at 61.140.60.71) should be specified, rather than the 
actual (relaying) "smtpf1.forptr.21cn.com" server (at 59.36.102.60). But I 
can't find a Reverse DNS entry for it, so I don't really know.

Your ASINet email "A.)" was sent directly to your ISP's SMTP server named 
"smtp02.hgcbroadband.com" or "smtp02.net-yan.com" (at 210.0.255.157), which 
means that the email didn't need to be relayed to another SMTP server. For 
the "B.)" email, Outlook Express connected to a "foreign" SMTP server using 
the credentials of "hestia33@21cn.com", and then the email was first routed 
through the Anti-SPAM Proxy and then relayed to your email Server by the 
"21cn.com" SMTP Server.

In addition to some code, you could also post a Log of the failed attempt, 
which should look something like this:

Info: Socket created successfully
Info: Successfully connected to xxxx.xxx
Info: Server response: 220 xxx.xxxx.xxx ESMTP server ready (or some stuff)
[...]
Info: Server response: 553 this mail is rejected by antispam system...
Error: Unexpected response from server 5
Error: could not connect!

This might help in establishing where and when the error occurred.

-- Andreas

---                                                                      ---
  Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
  415 Gute Street                     or: Andreas@DDPSoftware.com
  Owosso, MI 48867-4410               or: Andreas@Aerospace-History.net
  Tel: (989) 723-9927           Web Site: http://www.Aerospace-History.net
---                                                                      ---
Shum [MingYik]Re: Why mail 553 error
on Thu, 26 Apr 2007 01:54:53 +0800
Hello Andreas Gehrs-Pahl,

Thanks for your words,

attached file mail10.jpg  is the result from htmlmail.exe from Asinet lib 's 
example

Shum
www.migyik.com




"Andreas Gehrs-Pahl" <Andreas@DDPSoftware.com> 
???????:x2lftdxqdp3x.nihffjrbna8j.dlg@40tude.net...
> Shum,
>
> Could you post the SMTP settings in Outlook Express and the ones you use
> in your program (you should obfuscate the Login Name and Password, 
> though!)
>
> Maybe this will show what the problem is. The "553" error specifies that 
> the
> email was considered SPAM, and the Outlook Express email "B.)" is routed
> through a SPAM Proxy Server, while your ASINet email "A.)" is sent 
> directly,
> without even being relayed to a different SMTP server (it appears).
>
> I suppose that the email has to come from the SPAM Proxy Server -- and
> probably also contain the required "HMM_xxx:" headers -- before it is
> relayed by the actual "21cn.com" SMTP server. As I have never seen such an
> "SMTP-over-Proxy-Server" approach (outside of Web-based EMail) -- neither
> ASINet nor SEE4XB have any settings for Proxy Servers -- I assume that the
> "aisp2-smtp" server (at 61.140.60.71) should be specified, rather than the
> actual (relaying) "smtpf1.forptr.21cn.com" server (at 59.36.102.60). But I
> can't find a Reverse DNS entry for it, so I don't really know.
>
> Your ASINet email "A.)" was sent directly to your ISP's SMTP server named
> "smtp02.hgcbroadband.com" or "smtp02.net-yan.com" (at 210.0.255.157), 
> which
> means that the email didn't need to be relayed to another SMTP server. For
> the "B.)" email, Outlook Express connected to a "foreign" SMTP server 
> using
> the credentials of "hestia33@21cn.com", and then the email was first 
> routed
> through the Anti-SPAM Proxy and then relayed to your email Server by the
> "21cn.com" SMTP Server.
>
> In addition to some code, you could also post a Log of the failed attempt,
> which should look something like this:
>
> Info: Socket created successfully
> Info: Successfully connected to xxxx.xxx
> Info: Server response: 220 xxx.xxxx.xxx ESMTP server ready (or some stuff)
> [...]
> Info: Server response: 553 this mail is rejected by antispam system...
> Error: Unexpected response from server 5
> Error: could not connect!
>
> This might help in establishing where and when the error occurred.
>
> -- Andreas
>
> ---                                                                      ---
>  Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
>  415 Gute Street                     or: Andreas@DDPSoftware.com
>  Owosso, MI 48867-4410               or: Andreas@Aerospace-History.net
>  Tel: (989) 723-9927           Web Site: http://www.Aerospace-History.net
> ---                                                                      ---



mail10.jpg
Shum [MingYik]Re: Why mail 553 error
on Thu, 26 Apr 2007 02:56:23 +0800
Hello All,

I try to use socmapi.dll to post e-mail through OutLook Express 
(automatically)...
(by using free smtp server ie.: smtp.21cn.com)  ... But fail again ...???


However, if send-mail with OE manually (using free smtp server ie.: 
smtp.21cn.com)
It is OK


above testing: OE with same configuration:
ie.: default account are same:  the account setting with the smtp.21cn.com 
server

the only different (I think) is one by socmapi.dll under Xbase++ application
and the other one is type and send manually.

anothe ref.:  if the default account is setting using my ISP smtp server 
....then both testing are send OK
without problem...


Shum
www.mingyik.com



"Shum [MingYik]" <shum@mingyik.com> glsD:36609bbf$5bd3e536$3bbbec@news.alaska-software.com...
> Hello Andreas Gehrs-Pahl,
>
> Thanks for your words,
>
> attached file mail10.jpg  is the result from htmlmail.exe from Asinet lib 
> 's example
>
> Shum
> www.migyik.com
>
>
>
>
> "Andreas Gehrs-Pahl" <Andreas@DDPSoftware.com> 
> ???????:x2lftdxqdp3x.nihffjrbna8j.dlg@40tude.net...
>> Shum,
>>
>> Could you post the SMTP settings in Outlook Express and the ones you use
>> in your program (you should obfuscate the Login Name and Password, 
>> though!)
>>
>> Maybe this will show what the problem is. The "553" error specifies that 
>> the
>> email was considered SPAM, and the Outlook Express email "B.)" is routed
>> through a SPAM Proxy Server, while your ASINet email "A.)" is sent 
>> directly,
>> without even being relayed to a different SMTP server (it appears).
>>
>> I suppose that the email has to come from the SPAM Proxy Server -- and
>> probably also contain the required "HMM_xxx:" headers -- before it is
>> relayed by the actual "21cn.com" SMTP server. As I have never seen such 
>> an
>> "SMTP-over-Proxy-Server" approach (outside of Web-based EMail) -- neither
>> ASINet nor SEE4XB have any settings for Proxy Servers -- I assume that 
>> the
>> "aisp2-smtp" server (at 61.140.60.71) should be specified, rather than 
>> the
>> actual (relaying) "smtpf1.forptr.21cn.com" server (at 59.36.102.60). But 
>> I
>> can't find a Reverse DNS entry for it, so I don't really know.
>>
>> Your ASINet email "A.)" was sent directly to your ISP's SMTP server named
>> "smtp02.hgcbroadband.com" or "smtp02.net-yan.com" (at 210.0.255.157), 
>> which
>> means that the email didn't need to be relayed to another SMTP server. 
>> For
>> the "B.)" email, Outlook Express connected to a "foreign" SMTP server 
>> using
>> the credentials of "hestia33@21cn.com", and then the email was first 
>> routed
>> through the Anti-SPAM Proxy and then relayed to your email Server by the
>> "21cn.com" SMTP Server.
>>
>> In addition to some code, you could also post a Log of the failed 
>> attempt,
>> which should look something like this:
>>
>> Info: Socket created successfully
>> Info: Successfully connected to xxxx.xxx
>> Info: Server response: 220 xxx.xxxx.xxx ESMTP server ready (or some 
>> stuff)
>> [...]
>> Info: Server response: 553 this mail is rejected by antispam system...
>> Error: Unexpected response from server 5
>> Error: could not connect!
>>
>> This might help in establishing where and when the error occurred.
>>
>> -- Andreas
>>
>> ---                                                                       
>> ---
>>  Andreas Gehrs-Pahl              E-Mail: GPahl@CharterMI.net
>>  415 Gute Street                     or: Andreas@DDPSoftware.com
>>  Owosso, MI 48867-4410               or: Andreas@Aerospace-History.net
>>  Tel: (989) 723-9927           Web Site: http://www.Aerospace-History.net
>> ---                                                                       
>> ---
>
>