[xmail] Re: Message ID Numbers?

2005-03-31 Thread Rob Arends
I would be looking further into the capabilities of pop3 under PHP.
I would be _very_ surprised if it did not support UIDL.

Rob :-)
_
Signature: Live like you'll die tomorrow!
Reply: I tried your signature out once. It took years off my life!  
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dustin C. Hatch
> Sent: Friday, April 01, 2005 10:13 AM
> To: xmail@xmailserver.org
> Subject: [xmail] Re: Message ID Numbers?
> 
> 
> As I said, PHP does the downloading, so I have no control 
> over what command it uses. I think I can make my program use 
> the message numbers only once, and after that use the UIDL 
> numbers, but I have no control over how they are referenced 
> initially by php.
> 
> Dustin C. Hatch
> http://www.dchweb,com
> 
> > 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]
> > 
> > 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> xmail" in the body of a message to [

[xmail] Re: Message ID Numbers?

2005-03-31 Thread Dustin C. Hatch

As I said, PHP does the downloading, so I have no control over what command it 
uses. I think I can make my program use the message numbers only once, and 
after that use the UIDL numbers, but I have no control over how they are 
referenced initially by php.

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

> 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]
> 
> 
-
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-31 Thread Dustin C. Hatch

As I said, PHP does the downloading, so I have no control over what command it 
uses. I think I can make my program use the message numbers only once, and 
after that use the UIDL numbers, but I have no control over how they are 
referenced initially by php.

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

> 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]
> 
> 
-
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: Need some direction... please

2005-03-31 Thread Liron Newman
Check out ripMIME - http://www.pldaniels.com/ripmime/ripmime-1.4.0.5.tar.gz

Randy Adams wrote:

>I have a special need of being able to check an incoming email for the
>type of attachment it has (if any).   And if that email contains an .jpg
>..bmp or .gif attachment, I need to copy that attachment to a directory
>located on the same server.
>
>Its used for screening pictures that come into our TV station via
>email.  We often have reporters and photographers email pictures from
>their camera phone.  The quicker we can have pictures of breaking news
>on the air, the better our coverage of the event.
>
>I am using xmail 1.21 on a Mandrake 10.1 official box.  And Qdig as the
>front end for the editors and graphics dept.
>
>Anyone have a clue where I can start or any advice?
>
>Best regards.
>
>
>
>Randy Adams
>IS Director
>WHBQ Fox 13
>Memphis, TN
>901.320.1341
>-
>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] Need some direction... please

2005-03-31 Thread Randy Adams
I have a special need of being able to check an incoming email for the
type of attachment it has (if any).   And if that email contains an .jpg
..bmp or .gif attachment, I need to copy that attachment to a directory
located on the same server.

Its used for screening pictures that come into our TV station via
email.  We often have reporters and photographers email pictures from
their camera phone.  The quicker we can have pictures of breaking news
on the air, the better our coverage of the event.

I am using xmail 1.21 on a Mandrake 10.1 official box.  And Qdig as the
front end for the editors and graphics dept.

Anyone have a clue where I can start or any advice?

Best regards.



Randy Adams
IS Director
WHBQ Fox 13
Memphis, TN
901.320.1341
-
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-31 Thread Jeffrey Laramie
> > 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 fixed this, a problem with the log timestamp, and added logging for a 
successful script execution so that this log is consistant with the other 
mailman logs. The improved script is here:

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

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: Information about Outlook Express version problem

2005-03-31 Thread lascjr
- Original Message - 
From: "CLEMENT Francis" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 31, 2005 5:53 AM
Subject: [xmail] Re: Information about Outlook Express version problem


>
> This is a strange think as the 'X-AuthUser' is added by XMAIL not by =
> outlook
> or any overs mua !

I know this information, for this motive i post the message. I wrong at
subject, is Outlook, not Outlook Express.
In some way it seems that the smtp process is stopped to the way and then
delivers.

>
> Are you sure that the sender outlook configuration used the 'good' smtp
> server ?
> And that outlook was configured to 'auth' on smtp ...
> Note that some anti-virus software badly handle this configuration (for
> example norton anti-virus).
> In such cases you need to tell outlook to auth AND select 'specify =
> login
> informations and type again login and password in the dialog box (don't
> select default 'same as pop3')

Yes, all configurations are correctly and not have any anti-virus or filters
software in machine.

>
> Verify that the mail really passed the xmail server by reading the =
> xmail
> logs and if auth was really done.
> And verify if xmail tried to trigger the filters.post-data filters in =
> the
> logs ...

I know that he is strange but this occurred per 2 days in two distinct
computers, after the update the problems are solved.

I don't simulate the problem now because the problem is only in older
version and the client has updated, i will try to simulate this in other
machine with the specified software and with log actived.

thanks

Luis A S C Junior

>
> Francis
>
>
> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Envoy=E9 : mercredi 30 mars 2005 20:43
> =C0 : xmail@xmailserver.org
> Objet : [xmail] Information about Outlook Express version problem
>
>
> 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: Information about Outlook Express version problem

2005-03-31 Thread CLEMENT Francis

This is a strange think as the 'X-AuthUser' is added by XMAIL not by =
outlook
or any overs mua !

Are you sure that the sender outlook configuration used the 'good' smtp
server ?
And that outlook was configured to 'auth' on smtp ...
Note that some anti-virus software badly handle this configuration (for
example norton anti-virus).
In such cases you need to tell outlook to auth AND select 'specify =
login
informations and type again login and password in the dialog box (don't
select default 'same as pop3')

Verify that the mail really passed the xmail server by reading the =
xmail
logs and if auth was really done.
And verify if xmail tried to trigger the filters.post-data filters in =
the
logs ...

Francis


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoy=E9 : mercredi 30 mars 2005 20:43
=C0 : xmail@xmailserver.org
Objet : [xmail] Information about Outlook Express version problem


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]
-
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]