[Dovecot] Error crosscompiling

2009-03-10 Thread Diego Roversi
Hi,

  I was trying to crosscompile dovecot, but I got some error:

--with-notify=inotify

  don't work, as it try to run a test program to verify if inotify is
supported in the building platform. Solved with --with-notify=dnotify. Ihmo,
is more a hack than a solution.

| checking whether posix_fallocate() works... configure: error: cannot run
test program while cross compiling

  I can't find an a suitable option for this error. Again the problem is
that configure can't run an executable for a different platform. It's
possible to set a safe default?

Thanks in advance.

-- 
Saluti / Regards

Diego Roversi | 
  | diegor at tiscalinet.it 


[Dovecot] folder in dovecot

2009-07-19 Thread Diego Roversi
Hello,

  I'm quite new to dovecot, and I have some questions about folders.

At the moment I've a script that use fetchmail + procmail to get mail from
the isp, and save the mail in different folder. The idea is to save mail
from different mailing list in different folder.

Now I've installed dovecot so i can read mail from different computers, and i
want to export all the folders. I start with a simple configuration:

r...@debian:/home/diego# dovecot -n
# 1.1.11: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.30-rc8 armv5tel Ubuntu 9.04 
log_timestamp: %Y-%m-%d %H:%M:%S 
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_privileged_group: mail
mail_location: maildir:~/Mail/inbox
mail_debug: yes
namespace:
  type: private
  separator: /
  location: maildir:~/Mail/inbox
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: private
  separator: /
  prefix: openmoko/
  location: maildir:~/Mail/openmoko
  list: yes
  subscriptions: yes
auth default:
  passdb:
driver: passwd-file
args: /etc/passwd.dovecot
  userdb:
driver: passwd

I use icedove (thunderbird) to connect to the dovecot server and I see the two 
folder. But
openmoko one looks empty, even if there are more then 10k messages.

Without namespaces and setting mail_location pointing to the openmoko folder
works, i see the messages of openmoko folder as inbox in icedove. 

What's wrong? Do you have any suggestion? 

Thanks in advance,
  Diego Roversi.


Re: [Dovecot] folder in dovecot

2009-07-27 Thread Diego Roversi

Timo Sirainen wrote:

On Sun, 2009-07-19 at 17:00 +, Diego Roversi wrote:
  
You shouldn't need more than one namespace. Try something like:


mail_location = maildir:~/Mail:INBOX=~/Mail/inbox:LAYOUT=fs

And only a single namespace.
  


Looks like it works:

b LIST "" *
* LIST (\HasNoChildren) "/" ".Trash"* LIST (\HasNoChildren) "/" 
"openmoko/.Trash"

* LIST (\HasNoChildren) "/" "openmoko/.Inbox"
[...]
* LIST (\HasChildren) "/" "INBOX"
b OK List completed.

In icedove, I can see folder different from INBOX, using "subscribe", 
but not with mutt or alpine. Anyone have experience with character 
oriented imap client? Any suggestion?


Thanks in advance,
 Diego Roversi