Re: [Dovecot] v2.0.alpha3 released

2009-11-14 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Timo Sirainen said the following on 10/11/09 04:14:

 http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz
 http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz.sig

Given this configure command line

./configure --with-mysql --with-ssl=openssl --sysconfdir=/etc 
--localstatedir=/var

and given an /etc directory without any dovecot subdirectory (I moved it
elsewere for testing purposes), is it ok that make install creates /etc/dovecot
without any file in it, but copy the esxample configuration file only in
/usr/local/share/doc/dovecot/ ?


Ciao,
luigi

- --
/
+--[Luigi Rosa]--
\

TAP: Take Another Plane
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr+ZEEACgkQ3kWu7Tfl6ZRXTQCgm4wESB7bQbXakla/i5tvstV6
fZkAoJu1oDMOKy+QgrgVSALiZJXqXKrO
=MwjG
-END PGP SIGNATURE-


[Dovecot] Core dumped (was: v2.0.alpha3 released

2009-11-14 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Timo Sirainen said the following on 10/11/09 04:14:
 http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz
 http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz.sig

Yust ipgraded from A2 to A3 on a 64bit AMD CentOS machine with just 3 accounts
(mine accounts) connected via 1 Gbit LAN.

Client is Thunderbird 2 on Ubuntu 64.

Installed and configured A3, fired up and activated the client. Everything was
OK. After a couple of minute of idle, I got this:

Nov 14 09:05:29 mail dovecot: master: service(auth-worker): child 12669 killed
with signal 11 (core dumped)
Nov 14 09:05:29 mail dovecot: master: service(auth-worker): child 12672 killed
with signal 11 (core dumped)
Nov 14 09:05:30 mail dovecot: master: service(auth-worker): child 12667 killed
with signal 11 (core dumped)


Cores are here:

http://luigi rosa name/cores01 tgz

(put three dots instead of three spaces)



Ciao,
luigi

- --
/
+--[Luigi Rosa]--
\

Murphy's Law is recursive. Washing your car to make it rain doesn't work.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr+ZmIACgkQ3kWu7Tfl6ZRlEACdEqigl4IhVRgAc18ucKc9cZ8/
6poAn3kJFA6CdkaDVDTrmscRANppB1K7
=AaQx
-END PGP SIGNATURE-


Re: [Dovecot] v2.0.alpha3 released

2009-11-14 Thread Pascal Volk
On 11/14/2009 09:03 AM Luigi Rosa wrote:
 Given this configure command line
 
 ./configure --with-mysql --with-ssl=openssl --sysconfdir=/etc 
 --localstatedir=/var
 
 and given an /etc directory without any dovecot subdirectory (I moved it
 elsewere for testing purposes), is it ok that make install creates 
 /etc/dovecot
 without any file in it, but copy the esxample configuration file only in
 /usr/local/share/doc/dovecot/ ?

Yes it's OK. :-)
What would happen, if `make install` would copy all the example files
into $SYSCONFDIR/dovecot? It would overwrite your configuration files
with the next `make install` command.


Regards,
Pascal
-- 
The trapper recommends today: beeffeed.0931...@localdomain.org


Re: [Dovecot] v2.0.alpha3 released

2009-11-14 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pascal Volk said the following on 14/11/09 09:28:

 Yes it's OK. :-)
 What would happen, if `make install` would copy all the example files
 into $SYSCONFDIR/dovecot? It would overwrite your configuration files
 with the next `make install` command.

My point if is that if the directory does not exist, it is quite useless to
create it empty.

Either you don't create it and leave the task to sysadmin, or if you create it,
at least put some examples into it.





Ciao,
luigi

- --
/
+--[Luigi Rosa]--
\

Q: And this, I'm particularly proud of - behind the headlights,
  stinger missiles!
James Bond: Excellent, just the thing for unwinding after a rough day
  at the office.
Q: Need I remind you, 007, that you have a license to kill,
  not to break traffic laws.
--007 Goldeneye
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr+bCIACgkQ3kWu7Tfl6ZSqrQCgzOAmJHHGtlXcCtgUCTeSBaOS
L8kAn3mko7JFlTDTtGpXSj05Sb9gs5hO
=HIiw
-END PGP SIGNATURE-


Re: [Dovecot] v1.1.20 released (managesieve updated)

2009-11-14 Thread Stephan Bosch

Timo Sirainen wrote:

http://dovecot.org/releases/1.1/dovecot-1.1.20.tar.gz
http://dovecot.org/releases/1.1/dovecot-1.1.20.tar.gz.sig

Hopefully one of the last v1.1 releases.


ManageSieve patch updated:

http://www.rename-it.nl/dovecot/1.1/dovecot-1.1.20-managesieve-0.10.7.diff.gz
http://www.rename-it.nl/dovecot/1.1/dovecot-1.1.20-managesieve-0.10.7.diff.gz.sig

Regards,

Stephan


Re: [Dovecot] v1.2.7 released (managesieve updated)

2009-11-14 Thread Stephan Bosch

Timo Sirainen wrote:

http://dovecot.org/releases/1.2/dovecot-1.2.7.tar.gz
http://dovecot.org/releases/1.2/dovecot-1.2.7.tar.gz.sig


ManageSieve patch updated:

http://www.rename-it.nl/dovecot/1.2/dovecot-1.2.7-managesieve-0.11.9.diff.gz
http://www.rename-it.nl/dovecot/1.2/dovecot-1.2.7-managesieve-0.11.9.diff.gz.sig


Regards,

Stephan


[Dovecot] IMAP folders' codepages problem ?

2009-11-14 Thread michael
Hi!

I probably have a problem with the imap folders codepages. I use polish email 
clients such as MS Outlook and Windows Mail. 
The clients try to create folders 

like Wiadomości-Śmieci but Dovecot creates WiadomoAVs-ci-AVs-mieci

This happens on two different dovecot installations

1: Installation A

# 1.2.6: /etc/dovecot.conf
# OS: Linux 2.6.30.9-96.fc11.x86_64 x86_64 Fedora release 11 (Leonidas)
info_log_path: /var/log/maillog
protocols: imaps
ssl_listen: *
ssl: required
ssl_cert_file: /etc/pki/certs/dovecot/dovecot.pem
ssl_key_file: /etc/pki/certs/dovecot/dovecot_key.pem
ssl_cipher_list: ALL:!ADH!LOW:!SSLv2:!EXP:+HIGH:+MEDIUM
disable_plaintext_auth: yes
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_privileged_group: dovecot_mail
mail_debug: yes
mail_plugins: autocreate quota imap_quota expire
lda:
  postmaster_address: r...@localhost
auth default:
  passdb:
driver: sql
args: /etc/dovecot-sql.conf
  userdb:
driver: sql
args: /etc/dovecot-sql.conf
plugin:
  autocreate: Trash
  autosubscribe: Trash
  quota: dict:user::proxy::quota
  quota_rule: *:storage=1048576
  quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95
  quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80
  expire: Trash 7 INBOX 365
  expire_dict: proxy::expire
dict:
  quota: mysql:/etc/dovecot-dict-quota.conf
  expire: mysql:/etc/dovecot-dict-expire.conf


2: Installation B

# 1.1.19: /usr/local/dovecot/etc/dovecot.conf
# OS: Linux 2.6.22.14-72.fc6 x86_64 Fedora Core release 6 (Zod)
base_dir: /usr/local/dovecot/var/run/dovecot/
log_path: /usr/local/dovecot/var/log/dovecot_log
info_log_path: /usr/local/dovecot/var/log/dovecot_log
protocols: imaps
ssl_cert_file: /usr/local/ssl/certs/dovecot/certificate_04102009.crt
ssl_key_file: /usr/local/ssl/certs/dovecot/privateKey_04102009.key
ssl_cipher_list: ALL:!ADH!LOW:!SSLv2:!EXP:+HIGH:+MEDIUM
verbose_ssl: yes
login_dir: /usr/local/dovecot/var/run/dovecot/login
login_executable: /usr/local/dovecot/libexec/dovecot/imap-login
login_user: dovecot_login
mail_privileged_group: dovecot_mail
mail_plugins: expire quota imap_quota trash
lda:
  postmaster_address: r...@localhost
  hostname: filemon
  mail_plugins: expire quota
  mail_plugin_dir: /usr/local/dovecot/lib/dovecot/lda
  sendmail_path: /usr/sbin/sendmail
  auth_socket_path: /usr/local/dovecot/var/run/dovecot/auth-master
auth default:
  mechanisms: plain login
  debug: yes
  passdb:
driver: passwd-file
args: /usr/local/dovecot/etc/passwd.dovecot
  userdb:
driver: passwd-file
args: /usr/local/dovecot/etc/passwd.dovecot
  socket:
type: listen
master:
  path: /usr/local/dovecot/var/run/dovecot/auth-master
  mode: 384
  user: mail
plugin:
  quota: dict:user::proxy::quotadict
  quota_rule: *:storage=5G:messages=2000
  quota_rule2: Trash:storage=1G:messages=1000
  quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95
  quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80
  trash: /usr/local/dovecot/etc/dovecot-trash.conf
  expire: Trash 7 Spam 7 INBOX 180 Sent 180
  auth_socket_path: /usr/local/dovecot/var/run/dovecot/auth-master
  expire_dict: proxy::expire
dict:
  quotadict: mysql:/usr/local/dovecot/etc/dovecot-dict-quota.conf
  expire: mysql:/usr/local/dovecot/etc/dovecot-dict-expire.conf




Please help :-) What should I do to have the right codes for the folder names?


Best regards

Michael Lattari


Re: [Dovecot] IMAP folders' codepages problem ?

2009-11-14 Thread Geert Hendrickx
On Sat, Nov 14, 2009 at 03:22:58PM +0100, mich...@euroinfissi.eu wrote:
 Hi!
 
 I probably have a problem with the imap folders codepages. I use polish
 email clients such as MS Outlook and Windows Mail.  The clients try to
 create folders 
 
 like Wiadomości-Śmieci but Dovecot creates WiadomoAVs-ci-AVs-mieci


No, this is exactly what the client passes to Dovecot.  The IMAP standard
allows only plain ASCII in foldernames and therefor uses a modified UTF-7
encoding for non-ASCII characters.  See section 5.1.3 of RFC 3501.


Geert


-- 
Geert Hendrickx  -=-  g...@telenet.be  -=-  PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!


[Dovecot] expire_dict - Folder names with spaces

2009-11-14 Thread michael
Hi!

How to deal with IMAP foldernames that include spaces when setting up the 
expire tool for them?

I have the folder 

Elementy usuniARk-te

but 

expire: WiadomoAVs-ci-AVo-mieci 7 Elementy?usuniARk-te 7 INBOX 365 

does not work...

and

expire: WiadomoAVs-ci-AVo-mieci 7 Elementy usuniARk-te 7 INBOX 365 

produces the following:


Stopping Dovecot Imap: [  OK  ]
Starting Dovecot Imap: ☺ILoading modules from directory: /usr/lib64/dovecot/imap
☺IModule loaded: /usr/lib64/dovecot/imap/lib10_quota_plugin.so
☺IModule loaded: /usr/lib64/dovecot/imap/lib11_imap_quota_plugin.so
☺IModule loaded: /usr/lib64/dovecot/imap/lib20_autocreate_plugin.so
☺IModule loaded: /usr/lib64/dovecot/imap/lib20_expire_plugin.so
☺IEffective uid=99, gid=99, home=/tmp
☺IQuota root: name=user backend=dict args=:proxy::quota
☺IQuota rule: root=user mailbox=* bytes=1073741824 messages=0
☺IQuota warning: bytes=1020054732 (95%) messages=0 
command=/usr/local/bin/quota-warning.sh 95
☺IQuota warning: bytes=858993459 (80%) messages=0 
command=/usr/local/bin/quota-warning.sh 80
☺Iexpire: pattern=WiadomoAVs-ci-AVo-mieci type=expunge secs=604800
☺Iexpire: pattern=Elementy type=expunge secs=0
☺Iexpire: pattern=7 type=expunge secs=0
☺Fexpire: Missing expire days for mailbox '365'
Error: imap dump-capability process returned 89
Fatal: Invalid configuration in /etc/dovecot.conf
   [FAILED]


My conf:
 
# OS: Linux 2.6.30.9-96.fc11.x86_64 x86_64 Fedora release 11 (Leonidas)
info_log_path: /var/log/maillog
protocols: imaps
ssl_listen: *
ssl: required
ssl_cert_file: /etc/pki/certs/dovecot/dovecot.pem
ssl_key_file: /etc/pki/certs/dovecot/dovecot_key.pem
ssl_cipher_list: ALL:!ADH!LOW:!SSLv2:!EXP:+HIGH:+MEDIUM
disable_plaintext_auth: yes
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_privileged_group: dovecot_mail
mail_debug: yes
mail_plugins: autocreate quota imap_quota expire
lda:
  postmaster_address: r...@localhost
auth default:
  passdb:
driver: sql
args: /etc/dovecot-sql.conf
  userdb:
driver: sql
args: /etc/dovecot-sql.conf
plugin:
  quota: dict:user::proxy::quota
  quota_rule: *:storage=1048576
  quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95
  quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80
  expire: WiadomoAVs-ci-AVo-mieci 7 Elementy?usuniARk-te 7 INBOX 365
  expire_dict: proxy::expire
dict:
  quota: mysql:/etc/dovecot-dict-quota.conf
  expire: mysql:/etc/dovecot-dict-expire.conf


Thanks!

Michael Lattari

[Dovecot] Patch: event port-based ioloop and notify

2009-11-14 Thread Emanuele Pucciarelli
Greetings,

thanks to all of you who work on Dovecot!

I have prepared a small patch to support Solaris 10 and Opensolaris'
event port mechanism for both the ioloop and the notify subsystems. It
seems to work fine for me, but I haven't conducted any extensive
testing.

It would be great if someone could review and/or test it (and if it
could eventually enter the code base).

I have uploaded a copy at
http://cr.opensolaris.org/~e.p/dovecot/dovecot-01-fen.diff .

Thanks!

--
Emanuele