Kyle Lafkoff | 1 Feb 18:11
Favicon
Gravatar

Test suite?

Hello

I am a developer at cPanel. We are creating RPMs to ship with our product on multiple versions and
architectures of CentOS, RedHat and CloudLinux. Is there a test suite available we can run during the RPM
build to help us diagnose any bugs or issues we might encounter with functionality when building the UW
IMAP tookit?

Thanks
Kyle Lafkoff
UNIX Developer - cPanel Inc._______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Agustín Quintana | 21 Nov 10:59
Picon
Favicon

Problem purging mailbox with uw-imap mix format


English is not my native language; please excuse typing errors.

We have this configuration:

IMAP server
-----------
IMAP server: UW-IMAP 2007f.404
Default mail folder format: mbx
The server supports the following IMAP capabilities:
IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN
MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT
THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR
LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN

Webmail client
--------------
OS: Ubuntu 10.04.3 LTS
Webserver: Apache 2.2.14
PHP: 5.3.2
Horde (horde): 4.0.10
Mail (imp): 5.0.14
Imapproxy: 1.2.6

In order to improve performance, we convert some mailboxes from mbx or  
mbox to uw-imap "mix" format.

In the webmail client, if we mark some messages for deletion in  
mailbox with mix format, when we purge the mailbox ALL messages are  
deleted. This doesn't happen with mbx format.
(Continue reading)

Didier Gervaise | 15 Sep 16:10
Picon
Picon

Thunderbird 6.0.2 - Problems to create subfolders

Hello,

After an upgrade to Thunderbird 6.0.2,
when I right-click on a folder, the "New Subfolder" option don't appear
if the option "server support folders that contains sub-folder and 
message" is off.
It is possible to create a new subfolder (Folder only type) when 
right-clicking
on the "account" and choosing "New Folder" but only one folder in each 
subfolder.
To create subfolders "Message only" the option "server support folders 
that
contains sub-folder and message" must be set to "on".

Another strange thing: When I restart Thunderbird and right-click on a 
Folder,
I see the "New Subfolder" option, but only once.
So to create a subfolder and 3 sub-subfolders, I have to restart 
Thunderbird 4 times.

We never had this problem with previous versions of Thunderbird (2.x 
3.x)

I wonder if anybody have seen the same problem, if the problem is on 
Thunderbird
side or on the IMAP server side, and if there is a workaround.

IMAP server version: UW imap 2007e

Best Regards
(Continue reading)

Vlad | 15 Sep 01:31
Picon
Gravatar

imap-2007e segfaults in PHP 5.3.3

hi,


PHP 5.3.3 is built with imap-2007e and that cause PHP segfault on error or partial IMAP server response.
See gdb session:

Core was generated by `php -e download_emails.php [..cut..]'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f7c33b28221 in tcp_host (stream=0x0) at tcp_unix.c:767
767 {
Missing separate debuginfos, use: debuginfo-install audit-libs-2.1-5.el6.x86_64 bzip2-libs-1.0.5-7.el6_0.x86_64 [..cut..]
(gdb) bt
#0  0x00007f7c33b28221 in tcp_host (stream=0x0) at tcp_unix.c:767
#1  0x00007f7c33b6309c in imap_parse_header (stream=<value optimized out>, env=0x22803e0, hdr=0x7fffb595cf00, stl=0x0) at imap4r1.c:4525
#2  0x00007f7c33b633e2 in imap_cache (stream=0x21c5ba0, msgno=1, seg=<value optimized out>, stl=0x0, text=0x7fffb595cf00) at imap4r1.c:5022
#3  0x00007f7c33b6601c in imap_parse_unsolicited (stream=0x21c5ba0, reply=0x21c5e08) at imap4r1.c:3835
#4  0x00007f7c33b66bf3 in imap_reply (stream=0x21c5ba0, tag=0x7fffb595d5b0 "00000005") at imap4r1.c:3560
#5  0x00007f7c33b66de3 in imap_sout (stream=0x21c5ba0, tag=0x7fffb595d5b0 "00000005", base=0x21c5eb0 "", s=0x7fffb595d1a8) at imap4r1.c:3519
#6  0x00007f7c33b680d5 in imap_send (stream=0x21c5ba0, cmd=0x7f7c33c03039 "FETCH", args=0x7fffb595d640) at imap4r1.c:3129
#7  0x00007f7c33b6c987 in imap_msgdata (stream=0x21c5ba0, msgno=1, section=<value optimized out>, first=0, last=0, lines=<value optimized out>, 
    flags=<value optimized out>) at imap4r1.c:1845
#8  0x00007f7c33b412df in mail_fetch_header (stream=0x21c5ba0, msgno=1, section=0x0, lines=0x0, len=0x0, flags=2) at mail.c:1748
#9  0x00007f7c33e26963 in zif_imap_fetchheader (ht=2, return_value=0x217bc38, return_value_ptr=<value optimized out>, 
    this_ptr=<value optimized out>, return_value_used=<value optimized out>) at /usr/src/debug/php-5.3.3/ext/imap/php_imap.c:3140
#10 0x00000000005f5e58 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>)
    at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:316
#11 0x00000000005cd180 in execute (op_array=0x142e380) at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:107
#12 0x00000000005a787d in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/debug/php-5.3.3/Zend/zend.c:1194
#13 0x0000000000555b48 in php_execute_script (primary_file=0x7fffb5960820) at /usr/src/debug/php-5.3.3/main/main.c:2260
#14 0x00000000006315ee in main (argc=6, argv=0x7fffb5960a28) at /usr/src/debug/php-5.3.3/sapi/cli/php_cli.c:1192
(gdb) frame 0
#0  0x00007f7c33b28221 in tcp_host (stream=0x0) at tcp_unix.c:767
767 {
(gdb) frame 1
#1  0x00007f7c33b6309c in imap_parse_header (stream=<value optimized out>, env=0x22803e0, hdr=0x7fffb595cf00, stl=0x0) at imap4r1.c:4525
4525  rfc822_parse_msg (&nenv,NIL,(char *) hdr->data,hdr->size,NIL,
(gdb) print hdr->data
$1 = (unsigned char *) 0x2272e30 "\r\n00000005 NO FETCH failed: Internal error\r\n"
(gdb) print hdr->size
$2 = 2386
(gdb) list
4520 void imap_parse_header (MAILSTREAM *stream,ENVELOPE **env,SIZEDTEXT *hdr,
4521 STRINGLIST *stl)
4522 {
4523  ENVELOPE *nenv;
4524 /* parse what we can from this header */
4525  rfc822_parse_msg (&nenv,NIL,(char *) hdr->data,hdr->size,NIL,
4526    net_host (LOCAL->netstream),stream->dtb->flags);
4527  if (*env) { /* need to merge this header into envelope? */
4528    if (!(*env)->newsgroups) { /* need Newsgroups? */
4529      (*env)->newsgroups = nenv->newsgroups;

(gdb) frame 2
#2  0x00007f7c33b633e2 in imap_cache (stream=0x21c5ba0, msgno=1, seg=<value optimized out>, stl=0x0, text=0x7fffb595cf00) at imap4r1.c:5022
5022      else imap_parse_header (stream,&elt->private.msg.env,text,stl);
(gdb) list
5017  stream->msgno = msgno;
5018 }
5019 imap_parse_header (stream,&stream->env,text,stl);
5020      }
5021 /* regular caching */
5022      else imap_parse_header (stream,&elt->private.msg.env,text,stl);
5023    }
5024  }
5025 /* top level text */
5026  else if (!strcmp (seg,"TEXT")) {
(gdb) print text
$3 = (struct mail_sizedtext *) 0x7fffb595cf00
(gdb) print text->data
$4 = (unsigned char *) 0x2272e30 "\r\n00000005 NO FETCH failed: Internal error\r\n"
(gdb) frame 3
#3  0x00007f7c33b6601c in imap_parse_unsolicited (stream=0x21c5ba0, reply=0x21c5e08) at imap4r1.c:3835
3835      else imap_cache (stream,msgno,md.what,stl,&text);
(gdb) frame 4
#4  0x00007f7c33b66bf3 in imap_reply (stream=0x21c5ba0, tag=0x7fffb595d5b0 "00000005") at imap4r1.c:3560
3560 imap_parse_unsolicited (stream,reply);
(gdb) frame 5
..


any ideas?

/v
_______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
Petite Abeille | 11 Sep 15:02
Picon
Gravatar

IMAP features usage matrix?

Hello,

[Apologies if this is a FAQ, but my google-fu is failing me]

Would anyone know of a handy "features matrix", showing which email client uses which IMAP features?

For example, what email clients support/use IMAP SEARCH command, or SORT and THREAD extensions, UIDPLUS ,
IDLE, etc, etc...

Pointers much appreciated.

Thanks in advance.

PA.
_______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Andrew Daviel | 8 Sep 01:21
Picon
Favicon

Concurrent IMAP connections from MacOS


I note that modern email clients maintain multiple concurrent IMAP 
connections to the server, e.g. Thunderbird has a (configurable) default 
of (?) 5, which would speed up polling multiple inboxes on one server and 
allow faster message copying between multiple folders.

Excessive connections from one client, on the other hand, may be a 
dictionary attack.

I had set a per_source limit of 10 on POP and 20 on IMAP in Linux 
xinetd.d/*. That works fine with Thunderbird and Squirrelmail, Alpine 
etc. (we don't have big NAT'ted client farms). However, we've been 
getting connection problems from MAC machines and logging xinetd 
per_source_limit failures.

Is this a bug in Mac Mail ? Does it really need that many connections, 
and if so how many ? I'm reluctant to dedicate so much server resources 
to one or two users for no good reason, or weaken filters against network 
attack.

Nicholas Cole | 25 Jul 11:31
Picon

Compiling on OS X Lion

Dear List,

I am having trouble compiling version 2007f on OS X Lion.  The problem
appears to be the SSL components.  Is this a known problem? The
compile errors are shown at the end of this email.

Best wishes,

Nicholas

bash-3.2# cd imap-2007f
bash-3.2# make oxp
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in full compliance with RFC 3501 security
+ requirements:
++ TLS/SSL encryption is supported
++ Unencrypted plaintext passwords are prohibited
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
tools/an "ln -s" src/mailutil mailutil
tools/an "ln -s" src/mlock mlock
tools/an "ln -s" src/dmail dmail
tools/an "ln -s" src/tmail tmail
ln -s tools/an .
touch ip6
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox'
EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4
EXTRASPECIALS='' BUILDTYPE=osx IP=6 EXTRAAUTHENTICATORS=" gss" \
	PASSWDTYPE=pam \
	EXTRACFLAGS=" -DMAC_OSX_KLUDGE=1" \
	SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib
SSLCERTS=/System/Library/OpenSSL/certs
SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include
GSSLIB=/usr/lib PAMDLFLAGS=-lpam"
make[2]: `ip6' is up to date.
Building c-client for osx...
echo `cat SPECIALS`  > c-client/SPECIALS
cd c-client;make osx EXTRACFLAGS='-DMAC_OSX_KLUDGE=1'\
	 EXTRALDFLAGS=''\
	 EXTRADRIVERS='mbox'\
	 EXTRAAUTHENTICATORS='gss'\
	 PASSWDTYPE=pam SSLTYPE=nopwd IP=6\
	 SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib
SSLCERTS=/System/Library/OpenSSL/certs
SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include
GSSLIB=/usr/lib PAMDLFLAGS=-lpam
make build EXTRACFLAGS='-DMAC_OSX_KLUDGE=1' EXTRALDFLAGS=''
EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=pam
SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=osx \
	 CRXTYPE=nfs \
	 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
	 RSHPATH=/usr/bin/rsh \
	 BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer -Wno-pointer-sign"
sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c
osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -g -O2 -pipe -fno-omit-frame-pointer -Wno-pointer-sign
'-DMAC_OSX_KLUDGE=1' -DCHUNKSIZE=65536 > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
	 -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \
	 -DANONYMOUSHOME=\"/var/mail/anonymous\" \
	 -DACTIVEFILE=\"/usr/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
	 -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \
	 -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \
	 -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS
echo   > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o
utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o
fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o
tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" >
ARCHIVE
echo osx > OSTYPE
./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy
./mkauths gss ext md5 pla log
echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name
-DKRB5_DEPRECATED=1 >> OSCFLAGS
sh -c '(test -f /usr/lib/libk5crypto.a) && echo -L/usr/lib
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/lib
-lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS
echo "#include \"kerb_mit.c\"" >> auths.c
echo "  mail_versioncheck (CCLIENTVERSION);" >> linkage.c
ln -s os_osx.h osdep.h
ln -s os_osx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_bsd.c siglocal.c
ln -s crx_nfs.c crexcl.c
ln -s ip6_unix.c ip_unix.c
sh -c '(test osx = sc5 -o osx = sco -o ! -f
/usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep
statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo
-DNOFSTATVFS64 >> OSCFLAGS'
PAM password authentication
echo -lpam -ldl >> LDFLAGS
ln -s ckp_pam.c osdepckp.c
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/usr/include/openssl -I/usr/include/openssl/openssl
-DSSL_CERT_DIRECTORY=\"/System/Library/OpenSSL/certs\"
-DSSL_KEY_DIRECTORY=\"/System/Library/OpenSSL/private\" >> OSCFLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/lib -lssl -lcrypto  >> LDFLAGS
Building with SSL and plaintext passwords disabled unless SSL/TLS
echo "  mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make osx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
In file included from auths.c:2,
                 from env_unix.c:260,
                 from osdep.c:49:
auth_gss.c: In function 'auth_gssapi_server':
auth_gss.c:399: warning: format '%s' expects type 'char *', but
argument 3 has type 'void *'
auth_gss.c:406: warning: format '%s' expects type 'char *', but
argument 3 has type 'void *'
auth_gss.c:414: warning: format '%s' expects type 'char *', but
argument 3 has type 'void *'
osdep.c:85:26: error: pam/pam_appl.h: No such file or directory
osdep.c: At top level:
osdep.c:104: warning: 'struct pam_response' declared inside parameter list
osdep.c:104: warning: its scope is only this definition or
declaration, which is probably not what you want
osdep.c:104: warning: 'struct pam_message' declared inside parameter list
osdep.c: In function 'checkpw_conv':
osdep.c:108: error: invalid application of 'sizeof' to incomplete type
'struct pam_response'
osdep.c:109: error: dereferencing pointer to incomplete type
osdep.c:110: error: 'PAM_PROMPT_ECHO_ON' undeclared (first use in this function)
osdep.c:110: error: (Each undeclared identifier is reported only once
osdep.c:110: error: for each function it appears in.)
osdep.c:111: error: invalid use of undefined type 'struct pam_response'
osdep.c:111: error: invalid use of undefined type 'struct pam_response'
osdep.c:111: error: 'PAM_SUCCESS' undeclared (first use in this function)
osdep.c:112: error: invalid use of undefined type 'struct pam_response'
osdep.c:112: error: invalid use of undefined type 'struct pam_response'
osdep.c:114: error: 'PAM_PROMPT_ECHO_OFF' undeclared (first use in
this function)
osdep.c:115: error: invalid use of undefined type 'struct pam_response'
osdep.c:115: error: invalid use of undefined type 'struct pam_response'
osdep.c:116: error: invalid use of undefined type 'struct pam_response'
osdep.c:116: error: invalid use of undefined type 'struct pam_response'
osdep.c:118: error: 'PAM_TEXT_INFO' undeclared (first use in this function)
osdep.c:119: error: 'PAM_ERROR_MSG' undeclared (first use in this function)
osdep.c:120: error: invalid use of undefined type 'struct pam_response'
osdep.c:120: error: invalid use of undefined type 'struct pam_response'
osdep.c:121: error: invalid use of undefined type 'struct pam_response'
osdep.c:121: error: invalid use of undefined type 'struct pam_response'
osdep.c:125: error: 'PAM_CONV_ERR' undeclared (first use in this function)
osdep.c: At top level:
osdep.c:136: error: expected ')' before '*' token
osdep.c: In function 'Checkpw':
osdep.c:153: error: 'pam_handle_t' undeclared (first use in this function)
osdep.c:153: error: 'hdl' undeclared (first use in this function)
osdep.c:154: error: storage size of 'conv' isn't known
osdep.c:162: error: 'PAM_SUCCESS' undeclared (first use in this function)
osdep.c:163: error: 'PAM_RHOST' undeclared (first use in this function)
osdep.c:166: error: 'PAM_ESTABLISH_CRED' undeclared (first use in this function)
osdep.c:182: error: 'checkpw_cleanup' undeclared (first use in this function)
osdep.c: In function 'ssl_onceonlyinit':
osdep.c:346: warning: 'RAND_seed' is deprecated (declared at
/usr/include/openssl/rand.h:106)
osdep.c:351: warning: 'SSL_library_init' is deprecated (declared at
/usr/include/openssl/ssl.h:1553)
osdep.c: In function 'ssl_start_work':
osdep.c:456: warning: 'SSL_CTX_new' is deprecated (declared at
/usr/include/openssl/ssl.h:1346)
osdep.c:457: warning: 'TLSv1_client_method' is deprecated (declared at
/usr/include/openssl/ssl.h:1521)
osdep.c:458: warning: 'SSLv23_client_method' is deprecated (declared
at /usr/include/openssl/ssl.h:1517)
osdep.c:460: warning: 'SSL_CTX_ctrl' is deprecated (declared at
/usr/include/openssl/ssl.h:1498)
osdep.c:463: warning: 'SSL_CTX_set_verify' is deprecated (declared at
/usr/include/openssl/ssl.h:1459)
osdep.c:464: warning: 'SSL_CTX_set_verify' is deprecated (declared at
/usr/include/openssl/ssl.h:1459)
osdep.c:466: warning: 'SSL_CTX_set_default_verify_paths' is deprecated
(declared at /usr/include/openssl/ssl.h:1570)
osdep.c:469: warning: 'SSL_CTX_load_verify_locations' is deprecated
(declared at /usr/include/openssl/ssl.h:1572)
osdep.c:472: warning: 'BIO_new_mem_buf' is deprecated (declared at
/usr/include/openssl/bio.h:617)
osdep.c:473: warning: 'SSL_CTX_use_certificate' is deprecated
(declared at /usr/include/openssl/ssl.h:1469)
osdep.c:476: warning: 'BIO_free' is deprecated (declared at
/usr/include/openssl/bio.h:583)
osdep.c:481: warning: 'BIO_new_mem_buf' is deprecated (declared at
/usr/include/openssl/bio.h:617)
osdep.c:483: warning: 'SSL_CTX_use_PrivateKey' is deprecated (declared
at /usr/include/openssl/ssl.h:1466)
osdep.c:484: warning: 'EVP_PKEY_free' is deprecated (declared at
/usr/include/openssl/evp.h:885)
osdep.c:486: warning: 'BIO_free' is deprecated (declared at
/usr/include/openssl/bio.h:583)
osdep.c:493: warning: 'SSL_new' is deprecated (declared at
/usr/include/openssl/ssl.h:1481)
osdep.c:495: warning: 'BIO_new_socket' is deprecated (declared at
/usr/include/openssl/bio.h:675)
osdep.c:496: warning: 'SSL_set_bio' is deprecated (declared at
/usr/include/openssl/ssl.h:1375)
osdep.c:497: warning: 'SSL_set_connect_state' is deprecated (declared
at /usr/include/openssl/ssl.h:1548)
osdep.c:498: warning: 'SSL_state' is deprecated (declared at
/usr/include/openssl/ssl.h:1581)
osdep.c:498: warning: 'SSL_ctrl' is deprecated (declared at
/usr/include/openssl/ssl.h:1496)
osdep.c:500: warning: 'SSL_write' is deprecated (declared at
/usr/include/openssl/ssl.h:1495)
osdep.c:504: warning: 'SSL_get_peer_certificate' is deprecated
(declared at /usr/include/openssl/ssl.h:1450)
osdep.c: In function 'ssl_open_verify':
osdep.c:528: warning: 'X509_verify_cert_error_string' is deprecated
(declared at /usr/include/openssl/x509.h:752)
osdep.c:528: warning: 'X509_STORE_CTX_get_error' is deprecated
(declared at /usr/include/openssl/x509_vfy.h:451)
osdep.c:529: warning: 'X509_NAME_oneline' is deprecated (declared at
/usr/include/openssl/x509.h:984)
osdep.c:530: warning: 'X509_get_subject_name' is deprecated (declared
at /usr/include/openssl/x509.h:1013)
osdep.c:530: warning: 'X509_STORE_CTX_get_current_cert' is deprecated
(declared at /usr/include/openssl/x509_vfy.h:454)
osdep.c: In function 'ssl_validate_cert':
osdep.c:568: warning: 'X509_get_ext_d2i' is deprecated (declared at
/usr/include/openssl/x509.h:1151)
osdep.c:569: warning: 'sk_num' is deprecated (declared at
/usr/include/openssl/stack.h:81)
osdep.c:572: warning: 'sk_value' is deprecated (declared at
/usr/include/openssl/stack.h:82)
osdep.c: In function 'ssl_getdata':
osdep.c:716: warning: 'SSL_get_fd' is deprecated (declared at
/usr/include/openssl/ssl.h:1362)
osdep.c:724: warning: 'SSL_pending' is deprecated (declared at
/usr/include/openssl/ssl.h:1368)
osdep.c:743: warning: 'SSL_read' is deprecated (declared at
/usr/include/openssl/ssl.h:1493)
osdep.c:745: warning: 'SSL_get_error' is deprecated (declared at
/usr/include/openssl/ssl.h:1501)
osdep.c:749: warning: 'SSL_get_error' is deprecated (declared at
/usr/include/openssl/ssl.h:1501)
osdep.c: In function 'ssl_sout':
osdep.c:799: warning: 'SSL_write' is deprecated (declared at
/usr/include/openssl/ssl.h:1495)
osdep.c:802: warning: 'SSL_get_error' is deprecated (declared at
/usr/include/openssl/ssl.h:1501)
osdep.c: In function 'ssl_abort':
osdep.c:833: warning: 'SSL_shutdown' is deprecated (declared at
/usr/include/openssl/ssl.h:1532)
osdep.c:834: warning: 'SSL_free' is deprecated (declared at
/usr/include/openssl/ssl.h:1490)
osdep.c:838: warning: 'SSL_CTX_free' is deprecated (declared at
/usr/include/openssl/ssl.h:1347)
osdep.c: In function 'ssl_server_init':
osdep.c:926: warning: 'ERR_load_crypto_strings' is deprecated
(declared at /usr/include/openssl/err.h:296)
osdep.c:927: warning: 'SSL_load_error_strings' is deprecated (declared
at /usr/include/openssl/ssl.h:1416)
osdep.c:939: warning: 'SSL_CTX_new' is deprecated (declared at
/usr/include/openssl/ssl.h:1346)
osdep.c:940: warning: 'TLSv1_server_method' is deprecated (declared at
/usr/include/openssl/ssl.h:1520)
osdep.c:941: warning: 'SSLv23_server_method' is deprecated (declared
at /usr/include/openssl/ssl.h:1516)
osdep.c:945: warning: 'SSL_CTX_ctrl' is deprecated (declared at
/usr/include/openssl/ssl.h:1498)
osdep.c:947: warning: 'SSL_CTX_set_cipher_list' is deprecated
(declared at /usr/include/openssl/ssl.h:1345)
osdep.c:951: warning: 'SSL_CTX_use_certificate_chain_file' is
deprecated (declared at /usr/include/openssl/ssl.h:1403)
osdep.c:955: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated
(declared at /usr/include/openssl/ssl.h:1400)
osdep.c:961: warning: 'SSL_CTX_ctrl' is deprecated (declared at
/usr/include/openssl/ssl.h:1498)
osdep.c:962: warning: 'SSL_CTX_set_tmp_rsa_callback' is deprecated
(declared at /usr/include/openssl/ssl.h:1631)
osdep.c:964: warning: 'SSL_new' is deprecated (declared at
/usr/include/openssl/ssl.h:1481)
osdep.c:968: warning: 'SSL_set_fd' is deprecated (declared at
/usr/include/openssl/ssl.h:1370)
osdep.c:970: warning: 'SSL_accept' is deprecated (declared at
/usr/include/openssl/ssl.h:1491)
osdep.c:992: warning: 'ERR_get_error' is deprecated (declared at
/usr/include/openssl/err.h:266)
osdep.c:993: warning: 'ERR_error_string' is deprecated (declared at
/usr/include/openssl/err.h:279)
osdep.c: In function 'ssl_genkey':
osdep.c:1011: warning: 'RSA_generate_key' is deprecated (declared at
/usr/include/openssl/rsa.h:261)
osdep.c:1014: warning: 'ERR_get_error' is deprecated (declared at
/usr/include/openssl/err.h:266)
osdep.c:1015: warning: 'ERR_error_string' is deprecated (declared at
/usr/include/openssl/err.h:279)
osdep.c: In function 'ssl_server_input_wait':
osdep.c:1036: warning: 'SSL_get_fd' is deprecated (declared at
/usr/include/openssl/ssl.h:1362)
osdep.c:1040: warning: 'SSL_pending' is deprecated (declared at
/usr/include/openssl/ssl.h:1368)
osdep.c:1041: warning: 'SSL_read' is deprecated (declared at
/usr/include/openssl/ssl.h:1493)
make[3]: *** [osdep.o] Error 1
make[2]: *** [osx] Error 2
make[1]: *** [OSTYPE] Error 2
make: *** [oxp] Error 2
bash-3.2#
_______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Neal Horman | 22 Jul 23:17

SASL AUTHENTICATE PLAIN failure for Mac OS X Lion Apple Mail

Since I don't know where to send this, I thought this to be the most 
appropriate place, sorry if it is not.

Mac OS X Lion's Apple Mail client, fails to authenticate with imapd-2007e.
In the b64 encoded authentication parameter "authzid\0authcid\password", 
authzid is empty when sent by Apple Mail.
As a result, authentication fails.
Attached is a single line minor patch that corrects the failure.

Also, what is the story here about code base development, from what I 
can see, it hasn't really been active for a number of years...
Did the developers move on, or did the code reach feature completion or 
what ?
--- ./imapd/imapd.c	2008-11-18 12:46:59.000000000 -0600
+++ ../../../imap-2007e/src/imapd/imapd.c	2011-07-22 00:46:57.000000000 -0500
@@ -2141,7 +2141,7 @@
 				/* must be at least one BASE64 char */
   else if (!base64mask[*ret]) return NIL;
   else {			/* quick and dirty */
-    while (base64mask[*s++]);	/* scan until end of BASE64 */
+    while (base64mask[*s]) s++;	/* scan until end of BASE64 */
     if (*s == '=') ++s;		/* allow up to two padding chars */
     if (*s == '=') ++s;
   }
_______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
Paul D. Fardy | 30 Jun 17:11
Picon
Picon
Favicon

PROBLEM: mix format: .mixDATA not referenced in .mixindex

Software: imap-2008 (mix.c "Last Edited: 25 November 2008")
Platform: Red Hat RHEL5.6 ext2 fs

For 1 in about 500 of our users, we have a found a problem with mix format INBOXes. (The problem isn't
restricted to INBOXes.) I'm scanning the mix architecture for anomalies after a crash (which, among
other problems, dumps blocks of NULs in several files). We expected to find only folders corrupted by the
crash. 

But we've moved the INBOXes aside or restored from backups. And even the fresh INBOXes are found in followup
scans. And this mix DATA-NOT-REFFED problem appears on other servers.

Note: $home is a generic placeholder for the output. The inboxes are, of course, in various users' home directories.

I look to ensure the each .mixDATA file is referenced in the .mixindex. The messages are not accessible to
the user until we run mixrbld to create a new mixindex file.

It seems common that only one message is in the mixDATA file (and it's frequently large), but many
unreferenced mixDATA files have several messages in them, so the architecture files ought have had
referenced the file for some time. Either .mixindex has lost data or updates are have failed to add any reference.

After mixrbld, a followup scan will go further checking each mixindex line, seeking into the mixDATA file
and ensure the format of the mixDATA header is value and the UID and date match. So the mixDATA file is--to
all appearances--clean, but the file is not reffed in the .mixindex (until the mixrbld).

Do you have any thoughts/advice to offer?

Thanks,

Paul

$home/INBOX: DATA-NOT-REFFED: file .mix4e0b9958 (size=11281452 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4dfced15 (size=27110 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4da77daf (size=18405 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4df6651b (size=505097 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4dad9954 (size=7239 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4e02a9f8 (size=2508087 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4dee1514 (size=5182 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4d99d382 (size=53818 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4e0c7cbc (size=12204 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4e089632 (size=538832 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4def3da2 (size=229045 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4e09250e (size=856999 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4e09fce9 (size=1589521 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4e09ded8 (size=4011966 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4e0c77c7 (size=5627 bytes) is not referenced by .mixindex
$home/INBOX: DATA-NOT-REFFED: file .mix4ddfa261 (size=83803 bytes) is not referenced by .mixindex

grep -c ^:msg: 
$home/INBOX/.mix4e0b9958:1
$home/INBOX/.mix4dfced15:4
$home/INBOX/.mix4da77daf:2
$home/INBOX/.mix4df6651b:9
$home/INBOX/.mix4dad9954:1
$home/INBOX/.mix4e02a9f8:1
$home/INBOX/.mix4dee1514:1
$home/INBOX/.mix4d99d382:4
$home/INBOX/.mix4e0c7cbc:1
$home/INBOX/.mix4e089632:29
$home/INBOX/.mix4def3da2:5
$home/INBOX/.mix4e09250e:5
$home/INBOX/.mix4e09fce9:1
$home/INBOX/.mix4e09ded8:1
$home/INBOX/.mix4e0c77c7:2
$home/INBOX/.mix4ddfa261:4

grep ^:msg: $home/INBOX/.mix4e089632
:msg:0000c2b3:20110627110012-0400:000009f2:
:msg:0000c2b5:20110627122807-0400:00000f89:
:msg:0000c2b6:20110627123017-0400:000012fc:
:msg:0000c2b7:20110627123048-0400:00001546:
:msg:0000c2b8:20110627123104-0400:00001a63:
:msg:0000c2b9:20110627130345-0400:000015c0:
:msg:0000c2ba:20110627135454-0400:00001cd9:
:msg:0000c2bb:20110627142434-0400:00001ea2:
:msg:0000c2bc:20110627152244-0400:00000c30:
:msg:0000c2bd:20110627152509-0400:0001d7f0:
:msg:0000c2be:20110627152931-0400:00000fd7:
:msg:0000c2bf:20110627165720-0400:000018ec:
:msg:0000c2c0:20110627170620-0400:0000942d:
:msg:0000c2c1:20110627172046-0400:000125d8:
:msg:0000c2c2:20110627173320-0400:0000133e:
:msg:0000c2c3:20110627180812-0400:00005243:
:msg:0000c2c4:20110627185905-0400:00003b5c:
:msg:0000c2c5:20110627190129-0400:00003b68:
:msg:0000c2c6:20110627231540-0400:000023bb:
:msg:0000c2c7:20110627233438-0400:0000277a:
:msg:0000c2c8:20110627235743-0400:00002030:
:msg:0000c2c9:20110628020524-0400:00008959:
:msg:0000c2ca:20110628031402-0400:00008ee2:
:msg:0000c2cb:20110628035244-0400:00005768:
:msg:0000c2cc:20110628040033-0400:00001f20:
:msg:0000c2cd:20110628040456-0400:00001264:
:msg:0000c2ce:20110628050818-0400:0000bec2:
:msg:0000c2cf:20110628103036-0400:00000a98:
:msg:0000c2d0:20110628103252-0400:00000d49:

_______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

gvfb | 1 Jun 04:03
Picon

Sorry to bother again, I've made up my mind and will install the debian packages

Hello, sorry to bother again, I've made up my mind and will install everything, including apache2 from the package distributions, as I've looked inside the files they come with and see that there is very little I will get with the configuration on my own. There's tons of packages to add curl, imap, php with mysql and so and so. However, this will seem ridiculous, since I've already had installed the IMAP toolkit in my previous mail. But I deleted the whole folder thinking I would make a fresh start. Now, I have the original folder that I have uncompressed again. But I keep getting the error related to the signing utility x509v3.h that I commented before, so once again I have to annoy you with my questions: How do I get the signing utility to work with the packages I already have. I must note that I made apt-cache on libpam-dev and libssl-dev and they are both installed, I can't even reinstalled them as the result of apt-get install is that I have the most recent versions. I wonder what's going on with that hallowed signing utility.
It's worth noticing that such x509v1 to 3 is what went wrong with the tests installing openssl from source, but that shouldn't matter, as I  did sudo rm -rf on the whole openssl folder and I noticed I have the shared libraries of openssl  and the binaries in usr/bin/openssl as expected.
Thanks for your help.
_______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
gvfb | 31 May 03:30
Picon

Why I'm trying to build PHP from source

Hello, sorry for being an annoyance but I want to explain why I'm trying to install things the hard way. Mainly because I thought I'd rather learn what the modules of PHP are and where I put them on the machine instead of using a bunch of installs like so: 
 
sudo aptitude php5 search 
aptitude install php5 libapache2-mod-php5
 
 then I would have things working ahead instead of installing all the packages. However, do tell me if I'm off my league and it's easier to install all the packages. I have already installed apache2, mysql, ssl from source, the only thing I left to install using a package is curl support.
 
Thanks for your help. 
_______________________________________________
Imap-uw mailing list
Imap-uw <at> u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Gmane