Openwall Project   /home  Owl  JtR  Pro  crypt  pam_passwdqc  tcb  phpass  scanlogd  popa3d  msulogin  /  Linux  BIND  /  advisories  presentations  /  services  donations  /  wordlists  passwords  /  community  lists  wiki  CVSweb  mirrors  signatures
bringing security into open environments
 
This website is powered by Openwall GNU/*/Linux security-enhanced OS
[<prev] [next>] [<thread-prev] [month] [year] [list]
Date: Wed, 16 Apr 2003 12:30:42 -0700 (PDT)
From: Dan Hollis <goemon@...me.net>
To: popa3d-users@...ts.openwall.com
Subject: Re: Handling the 'DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA'
 message?

On Wed, 16 Apr 2003, Solar Designer wrote:
> The reason this will add complexity is that the message numbers in
> mailbox and message numbers seen via POP3 will no longer match, and
> the mapping between the two will depend on whether or not there's this
> special message.

if(imapmessage)
  mboxoffset = 1
else
  mboxoffset = 0;
pop3messagenum = mboxnum + mboxoffset;

Something like that :-) Still quite readable I think.

-Dan
-- 
[-] Omae no subete no kichi wa ore no mono da. [-]

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux