kaythorn wrote:
> BTW: You can always search the list archive at:
> http://www.elists.org/pipermail/twsocket
> 
> Actually I did try this first, but got "Page not available"

Possibly it was temporarily not available, usually it works.

> 
> Thank you, Arno, for your help, project now working, but on sending
> myself a message I get back 
> 
> X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on
>  as002.apm-internet.net
> X-Spam-Report:
>  *  1.7 INVALID_MSGID Message-Id is not valid, according to RFC 2822

A message-id according to RFC 2822 is simply a unique id. I wonder why
SpamAssassin recognize it as invalid. Maybe because the local hostname
contains a space?

SmtpProt.pas:

function GenerateMessageID : String;                                     {AG}
begin
    Result := FormatDateTime('yyyymmddhhnnsszzz', Now + TimeZoneBiasDT) + '.' +
              IntToHex(Random(32767), 4) + IntToHex(Random(32767), 4) +
              IntToHex(Random(32767), 4) + IntToHex(Random(32767), 4) +
              '@' + LocalHostName;
end;

LocalHostName() returns the Windows computer name if a DNS name is unavailable.
Also note that Helo/Ehlo uses LocalHostName() as well in case of property
SignOn is blank, according to the RFC the Helo-string may not contain spaces.


---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html



> -
> Received: from unknown (HELO Kaythorn) (62.255.116.96)
>   by smtp001.apm-internet.net with SMTP; 17 Jul 2006 13:19:34 -0000
> Reply-To: [EMAIL PROTECTED]
> Return-Path: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Confirmation of Sales Enquiries emails
> Sender: [EMAIL PROTECTED]
> Mime-Version: 1.0
> Content-Type: text/html; charset="iso-8859-1"
> Date: Mon, 17 Jul 2006 14:29:28 +0100
> Message-ID: <[EMAIL PROTECTED] Couvela>
> X-Mailer: ICS SMTP Component V2.50
> 
> 
> Is there something I can do to pacify X-Spam?
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to