Re: [Dovecot] dovecot-config file location on CentOS5 / RHEL5?

2011-08-01 Thread Thomas Harold

On 8/1/2011 11:33 AM, David Warden wrote:

On Aug 1, 2011, at 10:45 AM, Thomas Harold wrote:


Using the pre-built RPM from ATRPMs. Where does the dovecot-config
file get generated? Is there a flag in a config file that controls
whether it gets created?

Do I have to install Dovecot from source in order to also use the
Pigeonhole plug-in?


I'm pretty sure I'm using that RPM and you only get dovecot-config as
part of dovecot-devel, which you will need to compile Pigeonhole. For
me it is /usr/lib64/dovecot/dovecot-config.

-David Warden


Thanks.  That was it, I did not have dovecot-devel installed from 
ATRPMs-Extras.


I still had to tell ./configure where to find it though.

./configure --with-dovecot=/usr/lib64/dovecot/

(Which is good, because I was having trouble telling the dovecot source 
code config where to find the postgreSQL development packages for 9.0. 
PGSQL support is already compiled into the ATRPM build so I'm glad that 
I can just use that.)


Re: [Dovecot] dovecot-config file location on CentOS5 / RHEL5?

2011-08-01 Thread David Warden
On Aug 1, 2011, at 10:45 AM, Thomas Harold wrote:

> Using the pre-built RPM from ATRPMs. Where does the dovecot-config file get 
> generated? Is there a flag in a config file that controls whether it gets 
> created?
> 
> Installed Packages
> Name   : dovecot
> Arch   : x86_64
> Epoch  : 1
> Version: 2.0.13
> Release: 1_129.el5
> Size   : 5.1 M
> Repo   : installed
> Summary: Dovecot Secure imap server
> URL: http://www.dovecot.org/
> License: MIT
> 
> Do I have to install Dovecot from source in order to also use the Pigeonhole 
> plug-in?

I'm pretty sure I'm using that RPM and you only get dovecot-config as part of 
dovecot-devel, which you will need to compile Pigeonhole. For me it is 
/usr/lib64/dovecot/dovecot-config.

-David Warden

Re: [Dovecot] Dovecot Config Problem

2008-07-02 Thread Timo Sirainen

On Jul 2, 2008, at 12:11 PM, Kaushal Gandhi wrote:


Hello,

I am getting below error & dovecot is not working..
--
[EMAIL PROTECTED] # dovecot -n | head -1
Error: Error in configuration file /usr/local/etc/dovecot.conf line 1:
Expecting '='
Fatal: Invalid configuration in /usr/local/etc/dovecot.conf


What operating system?

You could try if it works by deleting #define HAVE_PREAD_H line from  
config.h and recompiling.


Other than that and Charles's suggestion I have no idea why it would  
say that.




PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] Dovecot Config Problem

2008-07-02 Thread Charles Marcus

On 7/2/2008, Kaushal Gandhi ([EMAIL PROTECTED]) wrote:

[EMAIL PROTECTED] # dovecot -n | head -1
Error: Error in configuration file /usr/local/etc/dovecot.conf line 1:
Expecting '='
Fatal: Invalid configuration in /usr/local/etc/dovecot.conf


Are you by any chance editing the config file from a windows client?

The only thing I can think of is a windows==unix file format issue...

--

Best regards,

Charles


Re: [Dovecot] Dovecot config

2008-04-03 Thread Timo Sirainen

On Apr 4, 2008, at 7:27 AM, Dien Phan wrote:
We are using a web mail software that allows users to login either  
as us 'abc' or '[EMAIL PROTECTED]'. The problem is: when a user logs in as  
'abc' (without domain part) dovecots creates a directory /var/ 
MailRoot/domains/abc and check mail there (as I understand because  
%d is blank).
My question is how to config dovecot so it automatically add default  
domain %d is blank.


auth_default_realm = domain



PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] Dovecot config

2008-04-03 Thread Asheesh Laroia

On Fri, 4 Apr 2008, Dien Phan wrote:

We are using a web mail software that allows users to login either as us 
'abc' or '[EMAIL PROTECTED]'. The problem is: when a user logs in as 'abc' (without 
domain part) dovecots creates a directory /var/MailRoot/domains/abc and check 
mail there (as I understand because %d is blank).
My question is how to config dovecot so it automatically add default domain 
%d is blank.


I don't know off-hand, but I will offer an alternate possibility: It 
should be easy to modify the webmail package to add the suffix you want.


Note that this is not me saying you cannot or should not do this at the 
Dovecot layer; just trying to help how I can.


-- Asheesh.

--
Your happiness is intertwined with your outlook on life.