Re: [Dovecot] GlusterFS

2008-08-10 Thread Ed W

Pawel Panek wrote:

We use a Dovecot setup with GlusterFS. Dovecot 1.1.2 and GlusterFS


OT: beside fcntl problem, how is GlusterFS doing for you?
I have some miserable remarks using GlusterFS and FUSE. What about 
your experience?




I'm also interested to hear how it works out?  It appears that the 
straightline speed is high for gluster, but it's per file performance 
has enough overhead that it's a signficant problem for maildir type 
applications which manipulate lots of small files?  Possibly it works 
very well if you go mbox though?


Ed W


Re: [Dovecot] Install from source of dovecot 1.1.2

2008-08-10 Thread Charles Marcus

On 8/9/2008, Guy ([EMAIL PROTECTED]) wrote:

I've done the odd config on dovecot to try and keep it as close to the
install dirs used by the Dovecot package included with Ubuntu.
Once it's done, dovecot -n still looks in /usr/local/etc and when I
try and start dovecot it looks for the libexec dir in /usr/local
instead of /usr.
Is there something I'm missing on the configure?


First guess is you have another version installed through your package 
manager...


Did you check this?

--

Best regards,

Charles


Re: [Dovecot] optionnal arguments to ntlm_auth helper

2008-08-10 Thread devel

 On Jul 25, 2008, at 7:22 AM, François LEGAL wrote:

 I first tried (unsuccessfully) to add this parameter to the
 auth_winbind_helper_path token in dovecot.conf, and figured out by
 checking the source that this was not possible.
 I then decided to patch the source so that one can pass any argument
 to the ntlm_auth helper by specifying at new line in dovecot.conf
 with the token auth_winbind_helper_args (for instance, what I
 wanted to do is auth_winbind_helper_args = --require-membership-
 of=... )

 There are already too many settings, so do you think it would work ok
 if auth_winbind_helper_path was instead modified to support arguments?


I guess it would

 (could you send a patch for that too? :)

Let me work on that, I'll come back to the list with the patch.




François

-- 




Re: [Dovecot] Install from source of dovecot 1.1.2

2008-08-10 Thread John and Catherine Allen

Guy wrote:

I have what I'm sure is a stupid question. I'm trying to install
Dovecot 1.1.2 from source and my command sequence is this:
cd dovecot-1.1.2
./configure --prefix=/usr --exec-prefix=/usr --with-mysql
--with-storagesmaildir --sysconfdir=/etc/dovecot
make
make install
cd ../dovecot-sieve-1.1.5
./configure --with-dovecot=../dovecot-1.1.2
make
make install
  



I've done the odd config on dovecot to try and keep it as close to the
install dirs used by the Dovecot package included with Ubuntu.
Once it's done, dovecot -n still looks in /usr/local/etc and when I
try and start dovecot it looks for the libexec dir in /usr/local
instead of /usr.
Is there something I'm missing on the configure?
  


I also install from source on my Debian system and I keep the configure 
options in a little script which currently looks like this:


#!/bin/bash
#configure flags for compilation compatible with gentoo emerge
#john allen
#9.5.2005
#modified 19.11.2006
#modified 26.1.2008 for kirtley
./configure \
 --with-pam \
 --without-deliver \
 --with-storages=maildir \
 --prefix=/usr \
 --mandir=/usr/share/man \
 --infodir=/usr/share/info \
 --datadir=/usr/share \
 --sysconfdir=/etc/dovecot \
 --localstatedir=/var

I can't see any problem with your configure options, so as Charles says 
maybe there's another dovecot somewhere on your system.


Have you tried the command which dovecot?

John

--
John Allen
Bofferdange, Luxembourg
[EMAIL PROTECTED]
http://allenlux.dyndns.org



Re: [Dovecot] Install from source of dovecot 1.1.2

2008-08-10 Thread Bruce Bodger


On Aug 10, 2008, at 12:50 PM, John and Catherine Allen wrote:


Guy wrote:

I have what I'm sure is a stupid question. I'm trying to install
Dovecot 1.1.2 from source and my command sequence is this:
cd dovecot-1.1.2
./configure --prefix=/usr --exec-prefix=/usr --with-mysql
--with-storagesmaildir --sysconfdir=/etc/dovecot
make
make install
cd ../dovecot-sieve-1.1.5
./configure --with-dovecot=../dovecot-1.1.2
make
make install


It is recommended to use...

'sudo make install'

...in both places.


B. Bodger




Re: [Dovecot] Install from source of dovecot 1.1.2

2008-08-10 Thread Christian Schmidt
Hello Guy,

Guy, 10.08.2008 (d.m.y):

 I have what I'm sure is a stupid question. I'm trying to install
 Dovecot 1.1.2 from source and my command sequence is this:
 cd dovecot-1.1.2
 ./configure --prefix=/usr --exec-prefix=/usr --with-mysql
 --with-storagesmaildir --sysconfdir=/etc/dovecot
 make
 make install
 cd ../dovecot-sieve-1.1.5
 ./configure --with-dovecot=../dovecot-1.1.2
 make
 make install
 
 I don't get any errors during either install

OK, but you do make install as root, don't you?
 
 I've done the odd config on dovecot to try and keep it as close to the
 install dirs used by the Dovecot package included with Ubuntu.
 Once it's done, dovecot -n still looks in /usr/local/etc and when I
 try and start dovecot it looks for the libexec dir in /usr/local
 instead of /usr.
 Is there something I'm missing on the configure?

Please check what you $PATH variable looks like and if there exists
another dovecot in /usr/local/sbin (which maybe is mentioned in your
$PATH before /usr/sbin).
Or just call /usr/sbin dovecot -n.
 
Gruss/Regards,
Christian Schmidt

-- 
You are a bundle of energy, always on the go.


[Dovecot] problems with sieve and lda

2008-08-10 Thread Harondel J. Sibble
Okay, after reading the wiki and list archives, I am confused.

I am attemping to get the deliver LDA working on a centos 5.1 system

# rpm -qa | grep dovecot
dovecot-1.0.7-2.el5
dovecot-sieve-1.0.2-6.el5
# rpm -qa | grep postfix
postfix-2.3.3-2

so that I can use Sieve for mail filtering to imap folders, I am using the 
mbox format

Following the wiki here for system users

http://wiki.dovecot.org/LDA/Postfix

I never get any info in the logs about cmusieve, the only way I see anything 
show up is if I add the transport settings to postfix/master.cf or see below

From reading the list archives, as best as I can tell, the only time I need 
to make the changes in postfix's master.cf is if I am using a virtual 
environment, otherwise for local delivery, all I need is the mailbox_command 
setting in postfix/main.cf

However with that setting, I get nothing! If I then run deliver from the 
command line as per a couple of mailling postings,

cat /etc/hosts | /usr/libexec/dovecot/deliver -d [EMAIL PROTECTED] -f 
[EMAIL PROTECTED]

I get 

deliver([EMAIL PROTECTED]): Aug 10 22:07:17 Info: Loading modules 
from directory: /usr/lib/dovecot/lda
deliver([EMAIL PROTECTED]): Aug 10 22:07:17 Info: Module loaded: 
/usr/lib/dovecot/lda/lib90_cmusieve_plugin.so
deliver([EMAIL PROTECTED]): Aug 10 22:07:17 Error: Can't connect to 
auth server at /var/run/dovecot/auth-master: No such file or directory

Config stuff (dovecot -n)

# 1.0.7: /etc/dovecot.conf
log_path: /var/log/dovecot/dovecot.log
info_log_path: /var/log/dovecot/dovecot.log
protocols: imaps pop3s
listen(default): *:143
listen(imap): *:143
listen(pop3): [::]
ssl_listen(default): *:943
ssl_listen(imap): *:943
ssl_listen(pop3):
ssl_cert_file: /etc/pki/dovecot/certs/dovecot.cert
ssl_key_file: /etc/pki/tls/private/my.domain.tld.key
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_location: 
mbox:~/mail:INBOX=/var/spool/mail/%u:INDEX=~/mail/.imap/.imap/indexes/
mail_debug: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
auth default:
  passdb:
driver: pam
  userdb:
driver: passwd

postfix/main.cf has

mailbox_commmand = /usr/libexec/dovecot/deliver

A .dovecot.sieve file with the following contents for testing purposes is 
located at ~/mail

require fileinto;
if header :comparator i;ascii-casemap :contains Subject **SPAM**  {
fileinto Trash;
stop;
}


The LDA section from the dovecot.conf file

protocol lda {
  # Address to use when sending rejection mails.
  # postmaster_address = 
  # Hostname to use in various parts of sent mails, eg. in Message-Id.
  # Default is the system's real hostname.
  #hostname =
  # Support for dynamically loadable plugins. mail_plugins is a space 
separated
  # list of plugins to load.
  mail_plugin_dir = /usr/lib/dovecot/lda
  mail_plugins = cmusieve
  # Binary to use for sending mails.
  #sendmail_path = /usr/lib/sendmail
  # UNIX socket path to master authentication server to find users.
  #auth_socket_path = /var/run/dovecot/auth-master
  #sieve_global_path =
  script_path = ~/.dovecot.sieve
  log_path = /var/log/dovecot/deliverlog
  info_log_path = /var/log/dovecot/deliverlog
  debug = yes
}

What am I missing here to getting this working
-- 
Harondel J. Sibble 
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
[EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax)  (604) 686-2253 (pager)