1. 24 Apr, 2001 3 commits
    • Alain Magloire authored
    • Alain Magloire authored
    • 	* pop3d/*.[ch]:  Rename all the pop function pop3d_xx()
      	instead of pop3_xx() to be consistent with imap4d/*.
      
      	* mailbox/mbx_pop.c (pop_user): This is sudden death; for many pop
      	servers, it is important to let them time to remove locks or move
      	the .user.pop files.  This happen when we do BUSY_CHECK().  For
      	example, the user does not want to read the entire file, and wants
      	start to read a new message, closing the connection and immediately
      	contact the server again, and we'll end up having
      	"-ERR Mail Lock busy" or something similar. To prevent this race
      	condition we sleep 2 seconds.
      
      2001-04-23 Sergey Poznyakoff
      
      	It is often convenient to separte log outputs from POP and SMTP
      	servers. --with-log-facility flag which allows to specify to which
      	log facility the loggin output should be directed.
      	System administrators often prefere to have more information about
      	unsuccessfull authentications. I have added more verbose logging
      	to pop3d/user.c. Both failed attempts and possible account probes
      	(USER immediately followed by QUIT) are logged.
      	Made pop3d to be less verbose about its WELCOME prompt. When the
      	symbol TERSE_MODE is defined, pop3d introduces itself just as
      	+OK POP3 ready <apop_hash>
      	insead of divulging its type and version. This is a bit paranoid,
      	but it is better to be on the safe side...
      Alain Magloire authored
  2. 23 Apr, 2001 3 commits
  3. 22 Apr, 2001 1 commit
    • 	* imap4d/delete.c: First implementation.
      	* imap4d/list.c: First implementation.
      	* imap4d/rename.c: First implementation.
      	* imap4d/util.c: New functions.
      	(util_tilde_expansion): expand ~.
      	(util_unquote): Remove surrounding double quotes.
      	(util_getfullpath): Expand the path to absolute.
      	* imap4d/fetch.c:  Did not cycle throught the items.
      	(fetch_send_address): Patch from Sam Roberts, did not
      	use the index.
      
      	* mailbox/attachement.c (message_unencapsulate): Little buglet
      	strncasemp() passing the wrong size.
      Alain Magloire authored
  4. 20 Apr, 2001 4 commits
  5. 18 Apr, 2001 1 commit
    • an email excerpt:
      states is the valid states for a command (eg. LOGIN is only valid in
      non-authenticated state, SELECT is valid in authenticated or
      selected). success is the state to enter when the command completes
      successfully (STATE_NONE means no change) and failure is the state to
      enter when the command fails.
      
      The fetch code is getting close to completion! ye!
      Alain Magloire authored
  6. 17 Apr, 2001 1 commit
  7. 16 Apr, 2001 14 commits
  8. 15 Apr, 2001 2 commits
    • Test. · 8f4858ac
      Alain Magloire authored
    • From Sam. · 5bed8190
      	* examples/{Makefile,Addrs,addr.c,Addrs.good}: address test f/w.
      	* include/mailutils/address.h,mailbox/{address.c,parse822.c}: now
      	  stuff a group name into an _address, and added a function to do
      	  a quick check if it is a group.
      	* mailbox/parse822.c: fixed bug where ",sam@foo.bar" wasn't valid.
      Alain Magloire authored
  9. 14 Apr, 2001 9 commits
  10. 13 Apr, 2001 2 commits
    • Alain Magloire authored
    • 	  made during the tidying over the last month were:
      	  - use C comments only.
      	  - don't use C++ reserved words.
      	  - fix is_digit() to be like the other is functions
      	  - Changed return codes to:
      	   . no mem (ENOMEM)
      	   . function wasn't called correctly, usually a missing
      	     argument (EINVAL)
      	   . invalid syntax found during parsing (ENOENT)
      	   . success == 0
      	  - const-corrected the APIs
      	  - removed unnecessary (in C) casts.
      	  - mailbox_t* removed in favor of address_t.
      	  - fix handful of memory leaks detected by Alain.
      Alain Magloire authored