[xmail] Message ID Numbers?

2005-03-30 Thread Dustin C. Hatch

I recently developed a webmail client for POP3/POP3S so that I could use native 
XMail support and webmail. The way the inbox is designed, messages are released 
in reverse order of their MTA assigned ID number, ie 1 is on the bottom, 2 
next, a googol on the top, etc. This worked fine for a while, until I started 
getting many messages in my inbox. Then I started noticing that the messages 
were no longer arranged in order of their dates. I thought it was no big deal 
and just modified the code to sort the messages by date after converting them 
to a UNIX timestamp, etc. This worked for a while. The problem further 
complicated itself one day while I was reading a message, and, for a reason I 
now have forgotten, I refrehed the page, and the email changed! A new message 
had arrived while I was reading and had taken over the old message's ID number. 
This forced the message I was reading, and all subsequent messages, to 
increment their IDs.

I was wondering if this is a flaw in XMail, or if that is the way all MTAs 
work. I have never used anything else, so I don't know if others just generate 
seemingly random IDs for incoming messages. If it is a flaw, can it be fixed? 
Because my client fully relies on the message ID number for all functions, like 
deletion, forwarding, and replying, I need to have messages have constant ID 
numbers.

I would appreciate any information regarding this issue.

Thanks in advance,
Dustin C. Hatch
http://www.dchweb.com
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Message ID Numbers?

2005-03-30 Thread Victor Grimaldi
 
I have the same problem with NOCC , I think I was the only one.

and my english is too bad to to post



Dustin C. Hatch escribioacute;: I recently developed a webmail client for
POP3/POP3S so that I could use native XMail support and webmail. The way the
inbox is designed, messages are released in reverse order of their MTA
assigned ID number, ie 1 is on the bottom, 2 next, a googol on the top, etc.
This worked fine for a while, until I started getting many messages in my
inbox. Then I started noticing that the messages were no longer arranged in
order of their dates. I thought it was no big deal and just modified the
codeto sort the messages by date after converting them to a UNIX timestamp,
etc. This worked for a while. The problem further complicated itself one day
while I was reading a message, and, for a reason I now have forgotten, I
refrehed the page, and the email changed! A new message had arrived while I
was reading and had taken over the old message's ID number. This forced the
message I was reading, and all subsequent messages, to increment their IDs.
Iwas wondering if this is a flaw in XMail, or if that is the way all MTAs
work. I have never used anything else, so I don't know if others just
generate seemingly random IDs for incoming messages. If it is a flaw, can it
be fixed? Because my client fully relies on the message ID number for all
functions, like deletion, forwarding, and replying, I need to have messages
have constant ID numbers. I would appreciate any information regarding this
issue. Thanks in advance, Dustin C. Hatch http://www.dchweb.com[1] - To
unsubscribe from this list: send the line unsubscribe xmail in the body of
a message to [EMAIL PROTECTED] For general help: send the line
help in the body of a message to [EMAIL PROTECTED] 

--- Links ---
   1 http://www.dchweb.com
   2 mailto:[EMAIL PROTECTED]
   3 mailto:[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Message ID Numbers?

2005-03-30 Thread Tracy
Which number are you using for the message ID number? How are you getting 
this number?

At 07:04 3/30/2005, Dustin C. Hatch wrote:

I recently developed a webmail client for POP3/POP3S so that I could use 
native XMail support and webmail. The way the inbox is designed, messages 
are released in reverse order of their MTA assigned ID number, ie 1 is on 
the bottom, 2 next, a googol on the top, etc. This worked fine for a 
while, until I started getting many messages in my inbox. Then I started 
noticing that the messages were no longer arranged in order of their 
dates. I thought it was no big deal and just modified the code to sort the 
messages by date after converting them to a UNIX timestamp, etc. This 
worked for a while. The problem further complicated itself one day while I 
was reading a message, and, for a reason I now have forgotten, I refrehed 
the page, and the email changed! A new message had arrived while I was 
reading and had taken over the old message's ID number. This forced the 
message I was reading, and all subsequent messages, to increment their IDs.

I was wondering if this is a flaw in XMail, or if that is the way all MTAs 
work. I have never used anything else, so I don't know if others just 
generate seemingly random IDs for incoming messages. If it is a flaw, can 
it be fixed? Because my client fully relies on the message ID number for 
all functions, like deletion, forwarding, and replying, I need to have 
messages have constant ID numbers.

I would appreciate any information regarding this issue.

Thanks in advance,
Dustin C. Hatch
http://www.dchweb.com
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Message ID Numbers?

2005-03-30 Thread Davide Libenzi
On Wed, 30 Mar 2005, Dustin C. Hatch wrote:

 
 I recently developed a webmail client for POP3/POP3S so that I could use 
 native XMail support and webmail. The way the inbox is designed, 
 messages are released in reverse order of their MTA assigned ID number, 
 ie 1 is on the bottom, 2 next, a googol on the top, etc. This worked 
 fine for a while, until I started getting many messages in my inbox. 
 Then I started noticing that the messages were no longer arranged in 
 order of their dates. I thought it was no big deal and just modified the 
 code to sort the messages by date after converting them to a UNIX 
 timestamp, etc. This worked for a while. The problem further complicated 
 itself one day while I was reading a message, and, for a reason I now 
 have forgotten, I refrehed the page, and the email changed! A new 
 message 
 had arrived while I was reading and had taken over the old message's ID 
 number. This forced the message I was reading, and all subsequent 
 messages, to increment their IDs.
 
 I was wondering if this is a flaw in XMail, or if that is the way all 
 MTAs work. I have never used anything else, so I don't know if others 
 just generate seemingly random IDs for incoming messages. If it is a 
 flaw, can it be fixed? Because my client fully relies on the message ID 
 number for all functions, like deletion, forwarding, and replying, I 
 need to have messages have constant ID numbers.

You are aware that POP3 server are not guaranteed to preserve message IDs 
across session, yes? That's why UIDL have been added to the protocol, and 
XMail supports it.



- Davide

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: mailman python script

2005-03-30 Thread Davide Libenzi
On Tue, 29 Mar 2005, Jeffrey Laramie wrote:

 Hello All,
 
 I need some help updating the python script that intergrates XMail with the 
 mailman list manager. Unfortunately I didn't write the script, and since my 
 programming skills are quite limited and don't include python, my attempts to 
 modify the script aren't going anywhere. 

I have no clue about Python (and not even have urgent plans to learn it), 
but google always helps ...


 The 2 specific problems I have are:
 
 1. If the sender uses capitalization in the list name, XMail correctly 
 recognizes it and executes the correct command alias but the script doesn't 
 match the name to the correct list.

You might want to use a convetion for file names, and than use lower() to 
convert email addresses:

http://python.active-venture.com/lib/module-string.html


 2. The script doesn't append entries to the log file, but instead writes over 
 the first line each time.

You'll have to add an a to the open-mode of the log file (or add a seek 
to the end).



- Davide

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Information about Outlook Express version problem

2005-03-30 Thread lascjr
Hi,

I have a recent problem with Microsoft Outlook build 10.0.2627 (from Office
XP, not Outlook Express).

After send message from Outllook, the message has delivered without the
header X-AuthUser and not pass for filter (filters.post-data.tab).

When posted by Microsoft Outlook Express or others email clients, the header
X-AuthUser is show normal and the message pass for filter script correctly
(filters.post-data.tab).

After updated the Microsoft Office XP to Microsoft Office XP SP 3, the
version of Microsoft Outlook is build 10.0.6626 and the new send of same
message has working fine with the header X-AuthUser and filter proccess.

bye

Luis A S C Junior

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: mailman python script

2005-03-30 Thread Jeffrey Laramie
  1. If the sender uses capitalization in the list name, XMail correctly
  recognizes it and executes the correct command alias but the script
  doesn't match the name to the correct list.

 You might want to use a convetion for file names, and than use lower() to
 convert email addresses:

 http://python.active-venture.com/lib/module-string.html

Both mailman and the integration scripts create and use lower case list names 
and cmdaliases, so everything is consistant at the filesystem level. I simply 
needed to take the mixed case list name provided by @@RCPT and convert it to 
lower case before evaluating it. I actually had already found the right 
command and inserted it in the correct place. I just screwed up the usage 
using name = lower(name) instead of name = name.lower(). It's fixed now 
and if anyone is interested the updated script is here: 

http://www.ubaight.com/xmail/mailman


  2. The script doesn't append entries to the log file, but instead writes
  over the first line each time.

 You'll have to add an a to the open-mode of the log file (or add a seek
 to the end).

I'd like to make some other changes in the logging procedure so I'll play 
around with this tonight when I have more time.

Jeff
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Message ID Numbers?

2005-03-30 Thread Dustin C. Hatch

Okay, I guess I should clarify what I mean by message ID numbers. PHP downloads 
the messages over POP3 as you would using telnet. The message IDs that it uses 
are just like you would using the command line to read mail:

LIST
+OK 15 70871
1 5427
2 1826
3 16834
4 4043
5 3875
6 2373
7 15345
8 1642
9 3229
10 2662
11 3882
12 3052
13 3524
14 1382
15 1775

The problem is that these IDs do not stay the same if new mail arrives. I may 
be able to re-write the program to use the Message-ID:  header, if this is 
unchangeable. If someone has a better suggestion, let me know.

Dustin C. Hatch
http://www.dchweb.com

 On Wed, 30 Mar 2005, Dustin C. Hatch wrote:
 
  
  I recently developed a webmail client for POP3/POP3S so that I could use 
  native XMail support and webmail. The way the inbox is designed, 
  messages are released in reverse order of their MTA assigned ID number, 
  ie 1 is on the bottom, 2 next, a googol on the top, etc. This worked 
  fine for a while, until I started getting many messages in my inbox. 
  Then I started noticing that the messages were no longer arranged in 
  order of their dates. I thought it was no big deal and just modified the 
  code to sort the messages by date after converting them to a UNIX 
  timestamp, etc. This worked for a while. The problem further complicated 
  itself one day while I was reading a message, and, for a reason I now 
  have forgotten, I refrehed the page, and the email changed! A new 
  message 
  had arrived while I was reading and had taken over the old message's ID 
  number. This forced the message I was reading, and all subsequent 
  messages, to increment their IDs.
  
  I was wondering if this is a flaw in XMail, or if that is the way all 
  MTAs work. I have never used anything else, so I don't know if others 
  just generate seemingly random IDs for incoming messages. If it is a 
  flaw, can it be fixed? Because my client fully relies on the message ID 
  number for all functions, like deletion, forwarding, and replying, I 
  need to have messages have constant ID numbers.
 
 You are aware that POP3 server are not guaranteed to preserve message IDs 
 across session, yes? That's why UIDL have been added to the protocol, and 
 XMail supports it.
 
 
 
 - Davide
 
 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]
 
 
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Message ID Numbers?

2005-03-30 Thread Tracy
As Davide said, those numbers are only valid for the specific POP3 session 
that you received them in. Future sessions are not guaranteed to have the 
same numbers for the same messages.

You should use the UIDL numbers. Retrieve them as:

+OK Maildrop has 4 messages (12788 bytes)
UIDL
+OK 4
1 1028745740408.1556.karen
2 1062432866368.1924.karen
3 1062433302173.1404.karen
4 1067127927549.1956.karen

These numbers (1028745740408.1556.karen) are guaranteed not to change 
between sessions.


At 17:48 3/30/2005, Dustin C. Hatch wrote:

Okay, I guess I should clarify what I mean by message ID numbers. PHP 
downloads the messages over POP3 as you would using telnet. The message 
IDs that it uses are just like you would using the command line to read mail:

LIST
+OK 15 70871
1 5427
2 1826
3 16834
4 4043
5 3875
6 2373
7 15345
8 1642
9 3229
10 2662
11 3882
12 3052
13 3524
14 1382
15 1775

The problem is that these IDs do not stay the same if new mail arrives. I 
may be able to re-write the program to use the Message-ID:  header, if 
this is unchangeable. If someone has a better suggestion, let me know.

Dustin C. Hatch
http://www.dchweb.com

  On Wed, 30 Mar 2005, Dustin C. Hatch wrote:
 
  
   I recently developed a webmail client for POP3/POP3S so that I could use
   native XMail support and webmail. The way the inbox is designed,
   messages are released in reverse order of their MTA assigned ID number,
   ie 1 is on the bottom, 2 next, a googol on the top, etc. This worked
   fine for a while, until I started getting many messages in my inbox.
   Then I started noticing that the messages were no longer arranged in
   order of their dates. I thought it was no big deal and just modified the
   code to sort the messages by date after converting them to a UNIX
   timestamp, etc. This worked for a while. The problem further complicated
   itself one day while I was reading a message, and, for a reason I now
   have forgotten, I refrehed the page, and the email changed! A new
   message
   had arrived while I was reading and had taken over the old message's ID
   number. This forced the message I was reading, and all subsequent
   messages, to increment their IDs.
  
   I was wondering if this is a flaw in XMail, or if that is the way all
   MTAs work. I have never used anything else, so I don't know if others
   just generate seemingly random IDs for incoming messages. If it is a
   flaw, can it be fixed? Because my client fully relies on the message ID
   number for all functions, like deletion, forwarding, and replying, I
   need to have messages have constant ID numbers.
 
  You are aware that POP3 server are not guaranteed to preserve message IDs
  across session, yes? That's why UIDL have been added to the protocol, and
  XMail supports it.
 
 
 
  - Davide
 
  -
  To unsubscribe from this list: send the line unsubscribe xmail in
  the body of a message to [EMAIL PROTECTED]
  For general help: send the line help in the body of a message to
  [EMAIL PROTECTED]
 
 
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Message ID Numbers?

2005-03-30 Thread Brandon Wittenburg

Okay, I guess I should clarify what I mean by message ID numbers. PHP
downloads the messages over POP3 as you would using telnet. The message
IDs that it uses are just like you would using the command line to read
mail:

LIST
+OK 15 70871
1 5427
2 1826
3 16834
4 4043
5 3875
[snip]

Look at the POP3 command uidl

Regards,

Brandon Wittenburg
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]