Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-04-04 Thread Ralf Becker
You're welcome :-)

Maybe you're interested in a binary distribution build on AIX-5.2 for
testing?

I've placed one here:
 http://www.fh-trier.de/~beckerr/dovecot/

The binary is build with xlc using
  ./configure --with-ssl-dir=/usr/local --with-ldap
and openldap version 2.3

See
   dump -H /usr/local/libexec/dovecot/imap
and
   dump -H /usr/local/libexec/dovecot/dovecot-auth
for other dependencies.

Regards, Ralf

funkypunky drunky schrieb am 05.04.2007 08:00:
> Hi ralf;
> In spite your incrediable help i cannot compile the plugin support of
> dovecot. It means i have to use dovecot without imap quota extension. I
> feel a little dummy but i cannot compile dovecot plugins. But if there
> is someone who compile the dovecot plugins on aix with gcc, i am look
> forward to receiving some help. Thanx for everything until now.
> C u later.
> 
>  
> 2007/3/29, Ralf Becker <[EMAIL PROTECTED] >:
> 
> Hello funkypunky drunky,
> 
> this is an example how the script rewrite the command line when the
> dovecot-imap binary is being linked:
> 
> 1) Makefile calls libtool with:
> 
>   ../../libtool --tag=CC --mode=link
>/usr/local/src/mail/src/bin/dovecot-cc
>-qlanglvl=ansi -g -export-dynamic -bexpall -brtl
>-L/usr/local/lib -L/usr/local/lib -o imap
>cmd-append.o cmd-capability.o  cmd-check.o
>cmd-close.o cmd-copy.o  cmd-create.o cmd-delete.o
>cmd-examine.o cmd-expunge.o  cmd-fetch.o cmd-idle.o
>cmd-list.o  cmd-logout.o cmd-lsub.o   cmd-namespace.o
>cmd-noop.o  cmd-rename.o cmd-search.o cmd-select.o  cmd-sort.o
>cmd-status.o cmd-store.o  cmd-subscribe.o cmd-thread.o cmd-uid.o
>cmd-unselect.o cmd-unsubscribe.o client.o commands.o
>commands-util.o imap-expunge.o  imap-fetch.o imap-fetch-body.o
>imap-messageset.o imap-search.o  imap-sort.o imap-sync.o
>imap-thread.o  mail-storage-callbacks.o main.o  namespace.o
>../lib-storage/register/libstorage- register.a
>../../src/lib-storage/index/maildir/libstorage_maildir.a
>../../src/lib-storage/index/mbox/libstorage_mbox.a
>../../src/lib-storage/index/dbox/libstorage_dbox.a
>../../src/lib-storage/index/libstorage_index.a
>../../src/lib-index/libindex.a  ../lib-storage/libstorage.a
>../lib-storage/subscription-file/libstorage_subscription_file.a
>../lib-imap/libimap.a  ../lib-mail/libmail.a
>../lib-dict/libdict.a  ../lib-charset/libcharset.a
>../lib/liblib.a  ../lib/mountpoint.o  -liconv
> 
> 2) libtool calls dovecot-cc with:
> 
>   /usr/local/src/mail/src/bin/dovecot-cc
>-qlanglvl=ansi -g -bexpall -brtl -o imap
>cmd-append.o cmd-capability.o cmd-check.o
>cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o
>cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-idle.o
>cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o
>cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o
>cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o
>cmd-unselect.o cmd-unsubscribe.o client.o commands.o
>commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
>imap-messageset.o imap-search.o imap-sort.o imap-sync.o
>imap-thread.o mail-storage-callbacks.o main.o namespace.o
>../lib/mountpoint.o  -L/usr/local/lib
>../lib-storage/register/libstorage- register.a
>../../src/lib-storage/index/maildir/libstorage_maildir.a
>../../src/lib-storage/index/mbox/libstorage_mbox.a
>../../src/lib-storage/index/dbox/libstorage_dbox.a
>../../src/lib-storage/index/libstorage_index.a
>../../src/lib-index/libindex.a ../lib-storage/libstorage.a
>../lib-storage/subscription-file/libstorage_subscription_file.a
>../lib-imap/libimap.a ../lib-mail/libmail.a
>../lib-dict/libdict.a ../lib-charset/libcharset.a
>../lib/liblib.a -liconv
> 
> 3) dovecot-cc calls /usr/bin/xlc with:
> 
>   /usr/bin/xlc
>-qlanglvl=ansi -g -bexpall -brtl -o imap
>cmd-append.o cmd-capability.o cmd-check.o
>cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o
>cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-idle.o
>cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o
>cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o
>cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o
>cmd-unselect.o cmd-unsubscribe.o client.o commands.o
>commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
>imap-messageset.o imap-search.o imap-sort.o imap-sync.o
>imap-thread.o mail-storage-callbacks.o main.o namespace.o
>../lib/

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-04-04 Thread funkypunky drunky

Hi ralf;
In spite your incrediable help i cannot compile the plugin support of
dovecot. It means i have to use dovecot without imap quota extension. I feel
a little dummy but i cannot compile dovecot plugins. But if there is someone
who compile the dovecot plugins on aix with gcc, i am look forward to
receiving some help. Thanx for everything until now.
C u later.


2007/3/29, Ralf Becker <[EMAIL PROTECTED]>:


Hello funkypunky drunky,

this is an example how the script rewrite the command line when the
dovecot-imap binary is being linked:

1) Makefile calls libtool with:

  ../../libtool --tag=CC --mode=link
   /usr/local/src/mail/src/bin/dovecot-cc
   -qlanglvl=ansi -g -export-dynamic -bexpall -brtl
   -L/usr/local/lib -L/usr/local/lib -o imap
   cmd-append.o cmd-capability.o  cmd-check.o
   cmd-close.o cmd-copy.o  cmd-create.o cmd-delete.o
   cmd-examine.o cmd-expunge.o  cmd-fetch.o cmd-idle.o
   cmd-list.o  cmd-logout.o cmd-lsub.o  cmd-namespace.o
   cmd-noop.o  cmd-rename.o cmd-search.o cmd-select.o  cmd-sort.o
   cmd-status.o cmd-store.o  cmd-subscribe.o cmd-thread.o cmd-uid.o
   cmd-unselect.o cmd-unsubscribe.o client.o commands.o
   commands-util.o imap-expunge.o  imap-fetch.o imap-fetch-body.o
   imap-messageset.o imap-search.o  imap-sort.o imap-sync.o
   imap-thread.o  mail-storage-callbacks.o main.o  namespace.o
   ../lib-storage/register/libstorage-register.a
   ../../src/lib-storage/index/maildir/libstorage_maildir.a
   ../../src/lib-storage/index/mbox/libstorage_mbox.a
   ../../src/lib-storage/index/dbox/libstorage_dbox.a
   ../../src/lib-storage/index/libstorage_index.a
   ../../src/lib-index/libindex.a  ../lib-storage/libstorage.a
   ../lib-storage/subscription-file/libstorage_subscription_file.a
   ../lib-imap/libimap.a  ../lib-mail/libmail.a
   ../lib-dict/libdict.a  ../lib-charset/libcharset.a
   ../lib/liblib.a  ../lib/mountpoint.o  -liconv

2) libtool calls dovecot-cc with:

  /usr/local/src/mail/src/bin/dovecot-cc
   -qlanglvl=ansi -g -bexpall -brtl -o imap
   cmd-append.o cmd-capability.o cmd-check.o
   cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o
   cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-idle.o
   cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o
   cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o
   cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o
   cmd-unselect.o cmd-unsubscribe.o client.o commands.o
   commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
   imap-messageset.o imap-search.o imap-sort.o imap-sync.o
   imap-thread.o mail-storage-callbacks.o main.o namespace.o
   ../lib/mountpoint.o  -L/usr/local/lib
   ../lib-storage/register/libstorage-register.a
   ../../src/lib-storage/index/maildir/libstorage_maildir.a
   ../../src/lib-storage/index/mbox/libstorage_mbox.a
   ../../src/lib-storage/index/dbox/libstorage_dbox.a
   ../../src/lib-storage/index/libstorage_index.a
   ../../src/lib-index/libindex.a ../lib-storage/libstorage.a
   ../lib-storage/subscription-file/libstorage_subscription_file.a
   ../lib-imap/libimap.a ../lib-mail/libmail.a
   ../lib-dict/libdict.a ../lib-charset/libcharset.a
   ../lib/liblib.a -liconv

3) dovecot-cc calls /usr/bin/xlc with:

  /usr/bin/xlc
   -qlanglvl=ansi -g -bexpall -brtl -o imap
   cmd-append.o cmd-capability.o cmd-check.o
   cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o
   cmd-examine.o cmd-expunge.o cmd-fetch.o cmd-idle.o
   cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o
   cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o
   cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o
   cmd-unselect.o cmd-unsubscribe.o client.o commands.o
   commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
   imap-messageset.o imap-search.o imap-sort.o imap-sync.o
   imap-thread.o mail-storage-callbacks.o main.o namespace.o
   ../lib/mountpoint.o -L/usr/local/lib
   ../lib-storage/register/libstorage-register.a
   ../../src/lib-storage/index/maildir/libstorage_maildir.a
   ../../src/lib-storage/index/mbox/libstorage_mbox.a
   ../../src/lib-storage/index/dbox/libstorage_dbox.a
   ../../src/lib-storage/index/libstorage_index.a
   ../../src/lib-index/libindex.a ../lib-storage/libstorage.a
   ../lib-storage/subscription-file/libstorage_subscription_file.a
   ../lib-imap/libimap.a ../lib-mail/libmail.a
   ../lib-dict/libdict.a ../lib-charset/libcharset.a
   ../lib/liblib.a -liconv
   ../lib-sql/libsql.a
   -bE:.libs/libstorage-register.exp
   -bE:.libs/libstorage_maildir.exp
   -bE:.libs/libstorage_mbox.exp
   -bE:.libs/libstorage_dbox.exp
   -bE:.libs/libstorage_index.exp
   -bE:.libs/libindex.exp
   -bE:.libs/libstorage.exp
   -bE:.libs/libstorage_subscription_file.exp
   

Re: [Dovecot] 1.0.rc29 released

2007-04-04 Thread Frank Cusack

On April 4, 2007 6:35:27 PM -0700 Dan Price <[EMAIL PROTECTED]> wrote:

We're still working on debugging why our Kerberos setup isn't working--
Thanks to Timo we have auth_gssapi_hostname, but we're still not quite
there... our Kerberos engineers are looking into it.


There was a recent thread on heimdal-discuss talking about load balancing.
(The issue with mismatched hostname is the same.)  One person discussed
how they fixed dovecot to work in their setup.  It involved (IIRC) passing
GSS_C_NO_CREDENTIAL to gss_accept_sec_context().  Maybe that thread will
help you out.

-frank


[Dovecot] truncated maildir root?

2007-04-04 Thread Joe Wong
Hello,

I have successfully configure dovecot to lookup my existing user database to 
lookup the homedir. However, I found the following from the log:

dovecot: Apr 05 04:05:16 Info: IMAP(joewong99:tkodog.no-ip.com): Effective 
uid=1001, gid=1001, home=/mnt/mailmountpoint/4/22/3/joewong99:[EMAIL PROTECTED]
dovecot: Apr 05 04:05:16 Info: IMAP(joewong99:tkodog.no-ip.com): maildir: 
data=/mnt/mailmountpoint/4/22/3/joewong99:[EMAIL PROTECTED]/Maildir
dovecot: Apr 05 04:05:16 Info: IMAP(joewong99:tkodog.no-ip.com): maildir: 
root=/mnt/mailmountpoint/4/22/3/joewong99, 
index=/mnt/mailmountpoint/4/22/3/joewong99, control=, inbox=

The "root" is truncated after the colon. Can I configure dovecot not to do it? 
I have 1 messages in /mnt/mailmountpoint/4/22/3/joewong99:[EMAIL 
PROTECTED]/Maildir
but SELECT INBOX show no messages.

Regards,

- Joe





Re: [Dovecot] 1.0.rc29 released

2007-04-04 Thread Dan Price
On Fri 30 Mar 2007 at 06:07PM, Timo Sirainen wrote:
> http://dovecot.org/releases/dovecot-1.0.rc29.tar.gz
> http://dovecot.org/releases/dovecot-1.0.rc29.tar.gz.sig
> 
> Probably one more RC after this.

Hey all-- for those interested in deploying 1.0rc29, I just wanted to
report that I deployed 1.0.rc29 Monday evening and it has been
absolutely rock solid for the past 48 hours: zero core dumps, and I have
fielded no significant complaints in the past two days.  At this moment
we have 220+ processes in our dovecot deployment serving 103 users.

We did a little measurement and it's nice to see that dovecot is very
resource efficient; here is an aggregated view of all of the dovecot
processes we are using:

PROJIDNPROC  SWAP   RSS MEMORY  TIME  CPU PROJECT 
   100  221  179M  196M   0.6%   2:22:24 0.2% imap
   

So my runtime RSS per User is about 2MB.  Wow.  (In recent Nevada builds
we've refined prstat's ability to correctly measure RSS for projects,
zones, etc. so this number should be pretty accurate).

We're still working on debugging why our Kerberos setup isn't working--
Thanks to Timo we have auth_gssapi_hostname, but we're still not quite
there... our Kerberos engineers are looking into it.

I've gotten a lot of compliments about how stable and fast our setup is
compared with the old deployment-- those really should go to Timo.  Thanks!

-dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp


[Dovecot] IMAP Admin Software ?

2007-04-04 Thread Azher Amin

Hi,

I am looking for IMAP Admin Software that can help me managing the 
accounts and quota , aliases on the local server.


My installation is:
- Linux
- Dovecot 1.0 rc28

I tried using the openwebmail but it is giving errors in the php scripts.

Plz suggest.

-Azher


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [Dovecot] --with-vpopmail compile errors

2007-04-04 Thread Oliver Schulze L.

Hi Axel,
thanks, I try building by editing the .spec and it worked.

Also, it seems that dovecot detect and build vpopmail even if you don't use
the --with-vpopmail

Oliver

Axel Thimm wrote:

there is no "--with vpopmail" switch in the src.rpm you used.
  


--
Oliver Schulze L.   | Get my e-mail after a captcha in:
Asuncion - Paraguay | http://tinymailto.com/oliver 



Re: [Dovecot] The folder 'Inbox' cannot contain items. Namespace problems

2007-04-04 Thread Francisco Reyes

Francisco Reyes writes:

I took off the Mac support and myself and two co-workers that were helping 
me test were about to call it a day. The co-worker testing the Mac support 
tried it.. and it worked.


Reporting back.
It has been two days since we upgraded to rc29
No reports of problems on Mac or PC clients.
Our namespace looks like:

#courier-imap compatibility/Thunderbird
namespace private {
 separator = .
 prefix = INBOX.
 inbox = yes
}

First RC that we have been able to get both Mac and PC clients to co-exist 
without problems.


Re: [Dovecot] solaris 10 dovecot-1.0.rc29 - building issue

2007-04-04 Thread Frank Cusack
On April 4, 2007 5:53:10 PM +0200 Davide Vaghetti 
<[EMAIL PROTECTED]> wrote:

Hi all,

I'm having terrible time, and a lot of core dumps, building dovecot on
Solaris 10.

...

When I try to actually make it, this is the result:

Making all in imap
make[3]: Entering directory `/usr/local/src/dovecot-1.0.rc29/src/imap'
/bin/ksh ../../libtool --tag=CC   --mode=link gcc  -std=gnu99 -g -O2

...

make[3]: *** [imap] Bus Error (core dumped)

...

This is a ksh bug.

Try setting CONFIG_SHELL in libtool to /usr/xpg4/bin/sh.

-frank


Re: [Dovecot] solaris 10 dovecot-1.0.rc29 - building issue

2007-04-04 Thread Jeff A. Earickson

Hi,

Works great for me; it has for a long time.  My advice: upgrade your
C compiler.  I usually build dovecot with gcc 4.1.1, but it will also
work well with Sun Studio 11.  Sun Studio 11 is free if you have a
Sun support contract/sunsolve login.  See:

http://developers.sun.com/sunstudio/downloads/

Dovecot has been pretty bullet-proof for me.

Jeff Earickson
Colby College

On Wed, 4 Apr 2007, Davide Vaghetti wrote:


Date: Wed, 04 Apr 2007 17:53:10 +0200
From: Davide Vaghetti <[EMAIL PROTECTED]>
To: dovecot@dovecot.org
Subject: [Dovecot] solaris 10 dovecot-1.0.rc29 - building issue

Hi all,

I'm having terrible time, and a lot of core dumps, building dovecot on
Solaris 10.

My environment:
gcc 3.3.2

LDFLAGS=-L/usr/local/ssl/lib -lssl -lcrypto \
-L/usr/local/BerkeleyDB.4.2/lib -ldb -L/usr/local/lib -lldap

CPPFLAGS=-I/usr/local/BerkeleyDB/include \
-I/usr/local/include -I/usr/local/ssl/include

my configure:
./configure --prefix=/usr/local --with-ldap

...that is:

Install prefix .. : /usr/local
File offsets  : 64bit
I/O loop method . : poll
File change notification method . : none
Building with SSL support ... : yes (OpenSSL)
Building with IPv6 support .. : yes
Building with pop3 server ... : yes
Building with mail delivery agent  .. : yes
Building with GSSAPI support  : no
Building with user database modules . : static prefetch passwd
passwd-file checkpassword ldap (modules)
Building with password lookup modules : passwd passwd-file shadow pam
checkpassword ldap (modules)
Building with SQL drivers :

When I try to actually make it, this is the result:

Making all in imap
make[3]: Entering directory `/usr/local/src/dovecot-1.0.rc29/src/imap'
/bin/ksh ../../libtool --tag=CC   --mode=link gcc  -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast  -export-dynamic
-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -o
imap cmd-append.o cmd-capability.o cmd-check.o cmd-close.o cmd-copy.o
cmd-create.o cmd-delete.o cmd-examine.o cmd-expunge.o cmd-fetch.o
cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o cmd-noop.o
cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o cmd-status.o
cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o cmd-unselect.o
cmd-unsubscribe.o client.o commands.o commands-util.o imap-expunge.o
imap-fetch.o imap-fetch-body.o imap-messageset.o imap-search.o
imap-sort.o imap-sync.o imap-thread.o mail-storage-callbacks.o main.o
namespace.o ../lib-storage/register/libstorage-register.a
../../src/lib-storage/index/maildir/libstorage_maildir.a
../../src/lib-storage/index/mbox/libstorage_mbox.a
../../src/lib-storage/index/dbox/libstorage_dbox.a
../../src/lib-storage/index/libstorage_index.a
../../src/lib-index/libindex.a ../lib-storage/libstorage.a
../lib-storage/subscription-file/libstorage_subscription_file.a
../lib-imap/libimap.a ../lib-mail/libmail.a ../lib-dict/libdict.a
../lib-charset/libcharset.a ../lib/liblib.a ../lib/mountpoint.o
/usr/local/lib/libiconv.so -L/usr/openwin/lib -R/usr/local/lib
-export-dynamic -lsocket -lnsl -lrt -lsendfile
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -o imap cmd-append.o cmd-capability.o cmd-check.o
cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o cmd-examine.o
cmd-expunge.o cmd-fetch.o cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o
cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o
cmd-sort.o cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o
cmd-uid.o cmd-unselect.o cmd-unsubscribe.o client.o commands.o
commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
imap-messageset.o imap-search.o imap-sort.o imap-sync.o imap-thread.o
mail-storage-callbacks.o main.o namespace.o ../lib/mountpoint.o
/usr/local/lib/libiconv.so  -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib
../lib-storage/register/libstorage-register.a
../../src/lib-storage/index/maildir/libstorage_maildir.a
../../src/lib-storage/index/mbox/libstorage_mbox.a
../../src/lib-storage/index/dbox/libstorage_dbox.a
../../src/lib-storage/index/libstorage_index.a
../../src/lib-index/libindex.a ../lib-storage/libstorage.a
../lib-storage/subscription-file/libstorage_subscription_file.a
../lib-imap/libimap.a ../lib-mail/libmail.a ../lib-dict/libdict.a
../lib-charset/libcharset.a ../lib/liblib.a -L/usr/openwin/lib -lsocket
-lnsl -lrt -lsendfile -R/usr/local/lib
make[3]: *** [imap] Bus Error (core dumped)
make[3]: *** Deleting file `imap'
make[3]: Leaving directory `/usr/local/src/dovecot-1.0.rc29/src/imap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/dovecot-1.0.rc29/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dovecot-1.0.rc29'
make: *** [all] Error 2


I tried the rc27 and rc28 too

Re: [Dovecot] Mailbox isn't a valid mbox file

2007-04-04 Thread Jay Chandler

Timo Sirainen wrote:

On 28.3.2007, at 23.45, Jay Chandler wrote:

Keep getting this error within Squirrelmail (and other clients) on 
one particular user's mailbox file:


ERROR: Could not complete request.
Query: SELECT "INBOX.Backup"
Reason Given: Mailbox isn't a valid mbox file
I've snipped the first and last message off of it, still no love.
mailserver# cat FILE | od -c | less
000F   r   o   m   p   r   o   m   o   t   i   o   n   s   @
020e   m   e   s   s   a   g   e   .   c   i   s   c   o   .   c

So apparently there isn't a control character in the first message 
that'd be causing this either.


Show me the whole From line? The timestamp is probably in a format 
that Dovecot doesn't recognize.



First From line:

From [EMAIL PROTECTED]  Wed Nov 10 11:55:54 2004

Last From line:

From [EMAIL PROTECTED]  Mon Mar  5 12:23:52 2007







--
Jay Chandler
Network Administrator
Chapman University



Re: [Dovecot] managesieve proxy

2007-04-04 Thread Marshal Newrock
On Wed, 4 Apr 2007 09:44:07 -0600
Neale Pickett <[EMAIL PROTECTED]> wrote:

> On Wednesday 04 April 2007 9:24 am, Marshal Newrock wrote:
> > We have dovecot on a pop/imap server working as a proxy to dovecot
> > on the backend storage servers.  This is working fine, but the
> > difficulty is that if I use, for example, avelsieve in
> > squirrelmail, it doesn't know where to connect.  I imagine the same
> > problem would exist with sieve-capable mail clients such as KMail,
> > especially since the outside world isn't allowed to connect
> > directly to the storage servers.
> >
> > Does anyone know of a way to proxy managesieve?
> 
> There are no managesieve protocol proxies, but you could proxy it at
> the TCP level.
> 
> Something like tcpproxy will let you forward TCP connection to
> another host. I think you can even configure netcat to do this.  Of
> course, your proxy machine can probably also do this in the IP
> stack.  On Linux, for instance, you could use iptables.

That would work for a single backend machine, but not for multiple
machines.

If there's no managesieve proxies, then I imagine my best bet will be
to modify avelsieve to be able to determine which backend server to
connect to.  In the short run, I think avelsieve also has an option to
connect to a different server.  That should be sufficient for testing
purposes.

-- 
Marshal Newrock
Ideal Solution, LLC - http://www.idealso.com


[Dovecot] solaris 10 dovecot-1.0.rc29 - building issue

2007-04-04 Thread Davide Vaghetti
Hi all,

I'm having terrible time, and a lot of core dumps, building dovecot on
Solaris 10.

My environment:
gcc 3.3.2

LDFLAGS=-L/usr/local/ssl/lib -lssl -lcrypto \
-L/usr/local/BerkeleyDB.4.2/lib -ldb -L/usr/local/lib -lldap

CPPFLAGS=-I/usr/local/BerkeleyDB/include \
-I/usr/local/include -I/usr/local/ssl/include

my configure:
./configure --prefix=/usr/local --with-ldap

...that is:

Install prefix .. : /usr/local
File offsets  : 64bit
I/O loop method . : poll
File change notification method . : none
Building with SSL support ... : yes (OpenSSL)
Building with IPv6 support .. : yes
Building with pop3 server ... : yes
Building with mail delivery agent  .. : yes
Building with GSSAPI support  : no
Building with user database modules . : static prefetch passwd
passwd-file checkpassword ldap (modules)
Building with password lookup modules : passwd passwd-file shadow pam
checkpassword ldap (modules)
Building with SQL drivers :

When I try to actually make it, this is the result:

Making all in imap
make[3]: Entering directory `/usr/local/src/dovecot-1.0.rc29/src/imap'
/bin/ksh ../../libtool --tag=CC   --mode=link gcc  -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast  -export-dynamic
-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -o
imap cmd-append.o cmd-capability.o cmd-check.o cmd-close.o cmd-copy.o
cmd-create.o cmd-delete.o cmd-examine.o cmd-expunge.o cmd-fetch.o
cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o cmd-noop.o
cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o cmd-status.o
cmd-store.o cmd-subscribe.o cmd-thread.o cmd-uid.o cmd-unselect.o
cmd-unsubscribe.o client.o commands.o commands-util.o imap-expunge.o
imap-fetch.o imap-fetch-body.o imap-messageset.o imap-search.o
imap-sort.o imap-sync.o imap-thread.o mail-storage-callbacks.o main.o
namespace.o ../lib-storage/register/libstorage-register.a
../../src/lib-storage/index/maildir/libstorage_maildir.a
../../src/lib-storage/index/mbox/libstorage_mbox.a
../../src/lib-storage/index/dbox/libstorage_dbox.a
../../src/lib-storage/index/libstorage_index.a
../../src/lib-index/libindex.a ../lib-storage/libstorage.a
../lib-storage/subscription-file/libstorage_subscription_file.a
../lib-imap/libimap.a ../lib-mail/libmail.a ../lib-dict/libdict.a
../lib-charset/libcharset.a ../lib/liblib.a ../lib/mountpoint.o
/usr/local/lib/libiconv.so -L/usr/openwin/lib -R/usr/local/lib
-export-dynamic -lsocket -lnsl -lrt -lsendfile
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -o imap cmd-append.o cmd-capability.o cmd-check.o
cmd-close.o cmd-copy.o cmd-create.o cmd-delete.o cmd-examine.o
cmd-expunge.o cmd-fetch.o cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o
cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o
cmd-sort.o cmd-status.o cmd-store.o cmd-subscribe.o cmd-thread.o
cmd-uid.o cmd-unselect.o cmd-unsubscribe.o client.o commands.o
commands-util.o imap-expunge.o imap-fetch.o imap-fetch-body.o
imap-messageset.o imap-search.o imap-sort.o imap-sync.o imap-thread.o
mail-storage-callbacks.o main.o namespace.o ../lib/mountpoint.o
/usr/local/lib/libiconv.so  -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib
../lib-storage/register/libstorage-register.a
../../src/lib-storage/index/maildir/libstorage_maildir.a
../../src/lib-storage/index/mbox/libstorage_mbox.a
../../src/lib-storage/index/dbox/libstorage_dbox.a
../../src/lib-storage/index/libstorage_index.a
../../src/lib-index/libindex.a ../lib-storage/libstorage.a
../lib-storage/subscription-file/libstorage_subscription_file.a
../lib-imap/libimap.a ../lib-mail/libmail.a ../lib-dict/libdict.a
../lib-charset/libcharset.a ../lib/liblib.a -L/usr/openwin/lib -lsocket
-lnsl -lrt -lsendfile -R/usr/local/lib
make[3]: *** [imap] Bus Error (core dumped)
make[3]: *** Deleting file `imap'
make[3]: Leaving directory `/usr/local/src/dovecot-1.0.rc29/src/imap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/dovecot-1.0.rc29/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dovecot-1.0.rc29'
make: *** [all] Error 2


I tried the rc27 and rc28 too with the same results.
Does anybody experienced similar issues ?

thanks in advance
bye
--
Davide Vaghetti
Centro SerRA - University of Pisa NOC


Re: [Dovecot] managesieve proxy

2007-04-04 Thread Neale Pickett
On Wednesday 04 April 2007 9:24 am, Marshal Newrock wrote:
> We have dovecot on a pop/imap server working as a proxy to dovecot on
> the backend storage servers.  This is working fine, but the difficulty
> is that if I use, for example, avelsieve in squirrelmail, it doesn't
> know where to connect.  I imagine the same problem would exist with
> sieve-capable mail clients such as KMail, especially since the outside
> world isn't allowed to connect directly to the storage servers.
>
> Does anyone know of a way to proxy managesieve?

There are no managesieve protocol proxies, but you could proxy it at the TCP 
level.

Something like tcpproxy will let you forward TCP connection to another host.  
I think you can even configure netcat to do this.  Of course, your proxy 
machine can probably also do this in the IP stack.  On Linux, for instance, 
you could use iptables.

Neale


Re: [Dovecot] quota warning - take 2

2007-04-04 Thread Nicolas Boullis
Timo Sirainen wrote:
> On Sat, 2007-03-31 at 23:00 +0200, Nicolas Boullis wrote:
> 
> 
>>   - I'm still using system() rather than fork()+exec()+waitpid()
>>since I
>> don't know a good time to run waitpid().
> 
> 
> struct child_wait *
> child_wait_new_with_pid(pid_t pid, child_wait_callback_t *callback,
>   void *context);
> 
> This would make it easy. That code is already written, but it's not in
> Dovecot's CVS yet. It would be useful also in dovecot-auth. Originally I
> was thinking about using the code to replace the waitpid() calls in
> master, but that change got a bit complex so I forgot about it then.

OK, then I guess I should consider it when I do the porting to current
CVS HEAD. Right? By the way, any documentation I should read about quota
setups, quota rules, and quota roots for IMAP? When I had a look at the
quota backport for 1.0, I failed to understand how things work together...


>>Timo, will you consider to add this to your unofficial patches?
> 
> Added.

Does this mean it looks good enough for you and you have nothing to
criticize? Wow!


Cheers,

-- 
Nicolas Boullis
Ecole Centrale Paris


[Dovecot] managesieve proxy

2007-04-04 Thread Marshal Newrock
We have dovecot on a pop/imap server working as a proxy to dovecot on
the backend storage servers.  This is working fine, but the difficulty
is that if I use, for example, avelsieve in squirrelmail, it doesn't
know where to connect.  I imagine the same problem would exist with
sieve-capable mail clients such as KMail, especially since the outside
world isn't allowed to connect directly to the storage servers.

Does anyone know of a way to proxy managesieve?

-- 
Marshal Newrock
Ideal Solution, LLC - http://www.idealso.com


Re: [Dovecot] Login lockups

2007-04-04 Thread Daniel L. Miller

Charles Marcus wrote:
The changelog's top comment is stamped 2007-01-05, 18:48 if that 
helps nail down the version (I'm using a Debian/Ubuntu package).


dovecot --version will tell you the exact version. Why guess?


Both non-SSL and SSL logins have the problem.


The version you are using is very old with respect to dovecots current 
state. Iirc, there were *many* changes to do with ldap, ssl and login 
issues that are fixed in current releases.


Please find a current release (rc29 is the current one), and see if 
that fixes your problems.


I was on rc17.  Just upgraded to rc29 - let's see what happens - fingers 
crossed!!


--
Daniel



Re: [Dovecot] Login lockups

2007-04-04 Thread Charles Marcus
The changelog's top comment is stamped 2007-01-05, 18:48 if that helps 
nail down the version (I'm using a Debian/Ubuntu package).


dovecot --version will tell you the exact version. Why guess?


Both non-SSL and SSL logins have the problem.


The version you are using is very old with respect to dovecots current 
state. Iirc, there were *many* changes to do with ldap, ssl and login 
issues that are fixed in current releases.


Please find a current release (rc29 is the current one), and see if that 
fixes your problems.


--

Best regards,

Charles


[Dovecot] chdir failed, but requires group permissions

2007-04-04 Thread Brent Nesbitt
Using Debian Etch package dovecot-common and dovecot-pop3d, based on
1.0.rc15-2

 

My home directories are set up with 770 permissions as follows:

/home//

 

Using this method, users MUST be a member of the appropriate group to
access their own home directory.  If they are not, they can't chdir past
/home.

 

This appears to kill dovecot with a "chdir failed with id :
Permission Denied" error, immediately after authenticating a pop3 user.

I was able to make a user the owner of the  directory, and
dovecot succeeded

But when the  directory is owned by : and the user is a member of the group - the process dies.

 

Any suggestions?



Re: [Dovecot] Deliver die if global sieve script turn on

2007-04-04 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 3 Apr 2007, M1 wrote:


In my installation "deliver" die if global sieve script turn on. Is there
anything I have missed? Thanks..


The error message: "input in flex scanner failed"
Your Sieve script is syntactically wrong,


require "fileinto";
   if header :is ""X-DSPAM-Result" "Spam" {

   ^
I'd bet here, the two double quotes.


   fileinto "Spam";
   }


Bye,

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRhNPLS9SORjhbDpvAQK++Af/fgcImdUHkm1bEeTtWOkxVmep+oLk2Rd/
DyC4cuY4AwMBhaoeVd9FEGVrfCM63MVH0st2y9OJKqbcBxCxodjNn2G1YMb/vuNv
JzLi6gGJVrqRjCjgZMbSf1mj3GzaNPSVBE2ebt9gF+p8AkyOdiqb1WrAW7I+qJLZ
X8datms5M8zauz6ecPRXGleA89gRD6NOIi72CQZtsi1peKPZ/+RmpfAcgaxWLRiG
1GQz6gIc9nSVPur4nPTif04nLqCAQjXk89esioPwba6FDNRvzyd4t/KRkkcLZPab
o673PYLpNLVue497mPcnFBdk0dw8fCTKq/WYSzKwWuWMHLVVjWRcMQ==
=rObG
-END PGP SIGNATURE-


Re: [Dovecot] dovecot forward multipart problem

2007-04-04 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 2 Apr 2007, Samuel HAMEAU wrote:

Hello Samuel,

I don't like -e diff's so I might be wrong:

The "From " (no colon) line appears to be located in line #25 of the 
original message, that's either:


a) not correct, because the line must be the first line of the message, or
b) is part of the mail body. In which case, Timo already answered you.

If you find another problem of this, please post all lines of both the 
original and the forwarded mail up to the first empty line.


Bye,

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRhNNZC9SORjhbDpvAQKWEwgAspxWbZmzmgAZWzFG/+WCQCjAfBT++yBl
9D70WzHIFn2W6UPeqUzO114wZmaNw2vOSUBz/FgEoHBZdAxULTNBm5QobtMLDStP
Cg+h+4V6r3DAq0NOrtgMJIzsCdIBL5cxt0utz5ZaGz6rzDZfWoW4MxMViqwNehls
obJQET3ctAjMOXXUh5zNdT9iHhmPQyqNrrI22WrOAF8qR1IERdOjTMLuUihIGlOo
eUGv5lxo5y7zep+/0m/At5P5noZiRG/xA/SqOlVLd3N0+OCO18wMiBZU0x0ZiN6C
FO6Z/mRb+P85iebpzbJ5eUQhwwHwCZ9HfT0RVB4JfztcbV2uZmAxCQ==
=Hs4T
-END PGP SIGNATURE-