Re: [twsocket] Proposal for new feature in OverbyteIcsSmtpProt.pas

2008-03-26 Thread DZ-Jay
Hello:
I don't think this is necessary.  First, this headers should be  
handled by the application (and indeed can easily be done as you  
pointed out).  Second, there is a conventional X-Loop header used and  
supported by many MTAs.

http://www.ninebynine.org/IETF/Messaging/draft-klyne-hdrreg-mail 
-00.html#hdr.X-Loop

Most delivery agents do this automatically.  It is extremely unlikely  
that two modern SMTP servers enter in a delivery loop, because this  
used to be such a big problem before.  In any case, this should be  
handled at the server level, and SmtpProt is intended to be an SMTP  
client.

dZ.

  --
DZ-Jay [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


On Mar 25, 2008, at 15:27, Bjørnar Nielsen wrote:

 New property:

 property  XAutoGeneratedReply : Boolean  read   
 FXAutoGeneratedReply  {Bjørnar}

 
  write FXAutoGeneratedReply; {Bjørnar}



 The reason for using this is to tell the receiving mailserver that it  
 should not answer this email with I'm on holliday or similar. Two  
 mailservers could send each other mails in definite if no one breaks  
 the loop. So if you are sending an autogenerated mail, set this flag  
 to not get a autogenerated mail back.



 In procedure TCustomSmtpClient.Data;

 if FXAutoGeneratedReply then begin  
   {Bjørnar}

  FHdrLines.Add('X-Autogenerated: Reply');   
   {Bjørnar}

 end;
   {Bjørnar}

 Regards Bjørnar

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Proposal for new feature in OverbyteIcsSmtpProt.pas

2008-03-26 Thread Bjørnar Nielsen
I did not know of this header-field.

Why not add properties for both? The xautogeneratedreply works for my purpose 
and the mailservers I have testet against.

Regards Bjørnar

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DZ-Jay
Sent: 26. mars 2008 10:07
To: ICS support mailing
Subject: Re: [twsocket] Proposal for new feature in OverbyteIcsSmtpProt.pas

Hello:
I don't think this is necessary.  First, this headers should be
handled by the application (and indeed can easily be done as you
pointed out).  Second, there is a conventional X-Loop header used and
supported by many MTAs.

http://www.ninebynine.org/IETF/Messaging/draft-klyne-hdrreg-mail
-00.html#hdr.X-Loop

Most delivery agents do this automatically.  It is extremely unlikely
that two modern SMTP servers enter in a delivery loop, because this
used to be such a big problem before.  In any case, this should be
handled at the server level, and SmtpProt is intended to be an SMTP
client.

dZ.

  --
DZ-Jay [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


On Mar 25, 2008, at 15:27, Bjørnar Nielsen wrote:

 New property:

 property  XAutoGeneratedReply : Boolean  read
 FXAutoGeneratedReply  {Bjørnar}


  write FXAutoGeneratedReply; {Bjørnar}



 The reason for using this is to tell the receiving mailserver that it
 should not answer this email with I'm on holliday or similar. Two
 mailservers could send each other mails in definite if no one breaks
 the loop. So if you are sending an autogenerated mail, set this flag
 to not get a autogenerated mail back.



 In procedure TCustomSmtpClient.Data;

 if FXAutoGeneratedReply then begin
   {Bjørnar}

  FHdrLines.Add('X-Autogenerated: Reply');
   {Bjørnar}

 end;
   {Bjørnar}

 Regards Bjørnar

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.0/1343 - Release Date: 25.03.2008 
19:17


No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.0/1343 - Release Date: 25.03.2008 
19:17

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] Proposal for new feature in OverbyteIcsSmtpProt.pas

2008-03-26 Thread DZ-Jay
Bjørnar Nielsen wrote:
 I did not know of this header-field.
 
 Why not add properties for both? The xautogeneratedreply works for my purpose 
 and the mailservers I have testet against.
 
 Regards Bjørnar

Well, because delivery loops are a server problem, and a mail user agent 
not only should not take the burden of protecting against them, but 
cannot be trusted to do so (after all, if a server is vulnerable to 
this, a MUA will most definitely be the attack vector to it).

Have you really encountered a delivery loop with a mail server?  If so, 
you should communicate it to the server administrator, as this is 
usually a configuration problem.

dZ.



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Proposal for new feature in OverbyteIcsSmtpProt.pas

2008-03-26 Thread Bjørnar Nielsen
I have made a sollution where I send a receipt to the sender of an email, 
telling, Thanks for your reply, your case nr is: #234 etc.

The loop is when the mail I send the receipt to is a similar solution telling 
me their case nr etc. Off course I break the loop when I get the second reply, 
but I don't want any replys. I don't want a receipt back from my outgoing 
receipt. This is why I want to set this header-info.

Regards Bjørnar

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DZ-Jay
Sent: 26. mars 2008 13:57
To: ICS support mailing
Subject: Re: [twsocket] Proposal for new feature in OverbyteIcsSmtpProt.pas

Bjørnar Nielsen wrote:
 I did not know of this header-field.

 Why not add properties for both? The xautogeneratedreply works for my purpose 
 and the mailservers I have testet against.

 Regards Bjørnar

Well, because delivery loops are a server problem, and a mail user agent
not only should not take the burden of protecting against them, but
cannot be trusted to do so (after all, if a server is vulnerable to
this, a MUA will most definitely be the attack vector to it).

Have you really encountered a delivery loop with a mail server?  If so,
you should communicate it to the server administrator, as this is
usually a configuration problem.

dZ.



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.0/1343 - Release Date: 25.03.2008 
19:17


No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.0/1343 - Release Date: 25.03.2008 
19:17

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

[twsocket] Proposal for new feature in OverbyteIcsSmtpProt.pas

2008-03-25 Thread Bjørnar Nielsen
New property:

property  XAutoGeneratedReply : Boolean  read  FXAutoGeneratedReply  
{Bjørnar}


write FXAutoGeneratedReply; {Bjørnar}



The reason for using this is to tell the receiving mailserver that it should 
not answer this email with I'm on holliday or similar. Two mailservers could 
send each other mails in definite if no one breaks the loop. So if you are 
sending an autogenerated mail, set this flag to not get a autogenerated mail 
back.



In procedure TCustomSmtpClient.Data;

if FXAutoGeneratedReply then begin   
{Bjørnar}

 FHdrLines.Add('X-Autogenerated: Reply');
{Bjørnar}

end; 
{Bjørnar}

Regards Bjørnar




No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.0/1341 - Release Date: 24.03.2008 
15:03

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be