[Dovecot] client certs with godaddy ssl cert

2008-09-26 Thread Harondel J. Sibble
I've read the client ssl cert section in the wiki and it talks about using a 
self signed cert, if I am using a commercial cert, in this case godaddy, how 
do I implement a self signed cert for the client side and have dovecot make 
use of this?  I know the mechanics of setting up the self signed ca, the 
question is more what configuration changes do I need to make in dovecot to 
handle both godaddy and the self signed ca functionality?

Thanks
-- 
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)



Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread Scott Silva

on 9-26-2008 1:28 PM tonj spake the following:

I'm using Fedora 9
I downloaded dovecot-1.1.3.tar.gz and extracted it. I then opened a 
terminal in the extracted window. Your install instructions say:


For most people, the usual:
 ./configure
 make
 sudo make install

but when I did them I got

[EMAIL PROTECTED] dovecot-1.1.3]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

[EMAIL PROTECTED] dovecot-1.1.3]# make
make: *** No targets specified and no makefile found.  Stop.

[EMAIL PROTECTED] dovecot-1.1.3]# sudo make install
make: *** No rule to make target `install'.  Stop.
[EMAIL PROTECTED] dovecot-1.1.3]#

can you tell me why the install won't work? thanks for any advice.


Did you try yum install dovecot?



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread Seth Mattinen
tonj wrote:
> 
> - Original Message - From: "Seth Mattinen" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, September 26, 2008 11:47 PM
> Subject: Re: [Dovecot] dovecot-1.1.3 failure to install
> 
> 
>> tonj wrote:
>>>
>>> - Original Message - From: "Ralf Hildebrandt"
>>> <[EMAIL PROTECTED]>
>>> To: 
>>> Sent: Friday, September 26, 2008 11:33 PM
>>> Subject: Re: [Dovecot] dovecot-1.1.3 failure to install
>>>
>>>
 * tonj <[EMAIL PROTECTED]>:

> checking for gcc... no
> checking for cc... no
> checking for cl.exe... no
> configure: error: no acceptable C compiler found in $PATH

 No compiler, no compilation. Easy?
>>>
>>> not for a newbie no.
>>> what's a complier?
>>
>> It compiles source code into a binary executable.
> 
> so where does a newbie get this complier?


GCC is pretty popular. Or go grab binary packages from whatever distro
you're using.

~Seth


Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread tonj


- Original Message - 
From: "Eduardo M KALINOWSKI" <[EMAIL PROTECTED]>

To: "Dovecot Mailing List" 
Sent: Friday, September 26, 2008 11:48 PM
Subject: Re: [Dovecot] dovecot-1.1.3 failure to install



tonj wrote:

not for a newbie no.
what's a complier?



Are you sure you need to install dovecot? And even if you do want an
IMAP server, do you feel confident enough to configure and maintain 
it?


no I don't feel confident but we've all got to start somewhere 



Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread tonj


- Original Message - 
From: "Seth Mattinen" <[EMAIL PROTECTED]>

To: 
Sent: Friday, September 26, 2008 11:47 PM
Subject: Re: [Dovecot] dovecot-1.1.3 failure to install



tonj wrote:


- Original Message - From: "Ralf Hildebrandt"
<[EMAIL PROTECTED]>
To: 
Sent: Friday, September 26, 2008 11:33 PM
Subject: Re: [Dovecot] dovecot-1.1.3 failure to install



* tonj <[EMAIL PROTECTED]>:


checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH


No compiler, no compilation. Easy?


not for a newbie no.
what's a complier?


It compiles source code into a binary executable.


so where does a newbie get this complier?


Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread Eduardo M KALINOWSKI
tonj wrote:
> not for a newbie no.
> what's a complier?
>   

Are you sure you need to install dovecot? And even if you do want an
IMAP server, do you feel confident enough to configure and maintain it?

-- 
Dry clean only.

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb



Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread Seth Mattinen
tonj wrote:
> 
> - Original Message - From: "Ralf Hildebrandt"
> <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, September 26, 2008 11:33 PM
> Subject: Re: [Dovecot] dovecot-1.1.3 failure to install
> 
> 
>> * tonj <[EMAIL PROTECTED]>:
>>
>>> checking for gcc... no
>>> checking for cc... no
>>> checking for cl.exe... no
>>> configure: error: no acceptable C compiler found in $PATH
>>
>> No compiler, no compilation. Easy?
> 
> not for a newbie no.
> what's a complier?


It compiles source code into a binary executable.

~Seth


Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread tonj


- Original Message - 
From: "Ralf Hildebrandt" <[EMAIL PROTECTED]>

To: 
Sent: Friday, September 26, 2008 11:33 PM
Subject: Re: [Dovecot] dovecot-1.1.3 failure to install



* tonj <[EMAIL PROTECTED]>:


checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH


No compiler, no compilation. Easy?


not for a newbie no.
what's a complier?


Re: [Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread Ralf Hildebrandt
* tonj <[EMAIL PROTECTED]>:

> checking for gcc... no
> checking for cc... no
> checking for cl.exe... no
> configure: error: no acceptable C compiler found in $PATH

No compiler, no compilation. Easy?

-- 
Ralf Hildebrandt ([EMAIL PROTECTED])  [EMAIL PROTECTED]
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de  I'm looking for a job
The government is CLEARLY an out of control robot that has decided the
greatest danger to America is Americans. 


[Dovecot] problems with auth protocol

2008-09-26 Thread Giorgenes Gelatti
Hello there,

I have a client connecting to dovecot and comunicating like this:

* OK Dovecot ready.

* AUTHENTICATE MYAUTH
+ base64 challange
base64_response {NNN}

* NO Invalid base64 data in continued response


The problem is that dovecot seems to reject the response because of
the {NNN} in the end of the string.
If I remove the {NNN} it authenticates just fine.

Any idea of whether it's standard or not?

Thanks you.


[Dovecot] dovecot-1.1.3 failure to install

2008-09-26 Thread tonj

I'm using Fedora 9
I downloaded dovecot-1.1.3.tar.gz and extracted it. I then opened a 
terminal in the extracted window. Your install instructions say:


For most people, the usual:
 ./configure
 make
 sudo make install

but when I did them I got

[EMAIL PROTECTED] dovecot-1.1.3]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... 
no

checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

[EMAIL PROTECTED] dovecot-1.1.3]# make
make: *** No targets specified and no makefile found.  Stop.

[EMAIL PROTECTED] dovecot-1.1.3]# sudo make install
make: *** No rule to make target `install'.  Stop.
[EMAIL PROTECTED] dovecot-1.1.3]#

can you tell me why the install won't work? thanks for any advice. 



Re: [Dovecot] Quota exceeded message

2008-09-26 Thread Charles Marcus
On 9/26/2008 12:19 PM, ML wrote:
>> "Mailbox for $user is full - quota exceeded" or
>>
>> "Mail storage for $user is full - quota exceeded"

> $user is not desirable for us, we may have forward/redirect/rewrite from
> an addresse to another and it is not desirable to show the actual name up

Make it configurable - some people (like me) might like it, but I see
your point.

> On the other side I would add "mail not delivered" in the message to
> inform the sender that he must send the mail again and/or contact the
> recipient using another way

Not necessary - the MTA responsible for delivery will handle that
message. This is merely the 'reject: reason' smtp mesage returned to the
MTA attempting delivery.

-- 

Best regards,

Charles


Re: [Dovecot] dovecot imap auth fails to reconnect pgsql backend

2008-09-26 Thread Axel Thimm
On Fri, Sep 26, 2008 at 09:52:58PM +0800, Frank Wang wrote:
> > You don't need to rebuild ATrpms' packages for symbol support, just
> > install the debuginfo package as well.
> I've done that and posted the gdb backtrack already.
> Is there any other info needed?

Some symbol tables were missing. It suggests that some parts of the
rpm had not been built with -g. In that case you would need to build
from source and check what flags are being used, e.g. to verify -g is
part of them.
-- 
Axel.Thimm at ATrpms.net


pgpZJMNR341xd.pgp
Description: PGP signature


Re: [Dovecot] Quota exceeded message

2008-09-26 Thread ML


Le 26 sept. 08 à 15:46, Ron Wilhoite a écrit :



"Mailbox for $user is full - quota exceeded" or

"Mail storage for $user is full - quota exceeded"



$user is not desirable for us, we may have forward/redirect/rewrite  
from an addresse to another and it is not desirable to show the actual  
name up


On the other side I would add "mail not delivered" in the message to  
inform the sender that he must send the mail again and/or contact the  
recipient using another way


To solve translation issues, the best seem to have an option in config  
file for such messages ;)

Re: [Dovecot] Quota exceeded message

2008-09-26 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 26 Sep 2008, Ron Wilhoite wrote:


"Mailbox for $user is full - quota exceeded" or

"Mail storage for $user is full - quota exceeded"


I like this one, too. The "quota exceeded" should remain there for the 
techies (and support:).


It translates very well into German :-)

Bye,

- -- 
Steffen Kaiser

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

iD8DBQFI3OywVJMDrex4hCIRAr2oAJ9wtgbpU+ym63kEjqimGUIrxDKqHQCgv54Z
W6sVQfB682hoA46GJm0DBMQ=
=F5DZ
-END PGP SIGNATURE-


Re: [Dovecot] dovecot imap auth fails to reconnect pgsql backend

2008-09-26 Thread Frank Wang
> You don't need to rebuild ATrpms' packages for symbol support, just
> install the debuginfo package as well.
I've done that and posted the gdb backtrack already.
Is there any other info needed?

Regards,
Frank Wang




Re: [Dovecot] Quota exceeded message

2008-09-26 Thread Ron Wilhoite

On 09/26/2008 09:11 AM Timo Sirainen wrote:

I just realized that "quota" word probably doesn't mean much to many 
non-native english speakers. Do even non-technical native speakers 
understand what "Quota exceeded" really means?


Many do not understand, based on the support calls I receive asking what 
these types of messages mean.




It's sent by quota plugin, currently in two different situations:

1) To the user doing the operation via IMAP COPY/APPEND.
2) More importantly: If deliver rejects the mail, it's sent to the sender.

Here are some ideas for improvements:

"Mail storage disk quota exceeded"
"User's mail storage disk quota exceeded"
"Quota exceeded - not enough disk storage capasity for the user"

Any better ideas? I think it should mention "quota" word in any case so 
that people who understand it would know immediately what the error 
message is about.




"mailbox is full" seems to be the phrase that people understand best - 
it's the phrase they use when their physical mail box (postal box) is 
full. So maybe:


"Mailbox for $user is full - quota exceeded" or

"Mail storage for $user is full - quota exceeded"

I don't know if "full" translates well into other languages. Unlike you 
and so many others on this list, I only speak one language.


Ron


Re: [Dovecot] Quota exceeded message

2008-09-26 Thread Charles Marcus
On 9/26/2008, Timo Sirainen ([EMAIL PROTECTED]) wrote:
> "Quota exceeded - not enough disk storage capasity for the user"

I like this one best, but 'capasity' should be 'capacity'.

-- 

Best regards,

Charles


[Dovecot] Quota exceeded message

2008-09-26 Thread Timo Sirainen
I just realized that "quota" word probably doesn't mean much to many  
non-native english speakers. Do even non-technical native speakers  
understand what "Quota exceeded" really means?


It's sent by quota plugin, currently in two different situations:

1) To the user doing the operation via IMAP COPY/APPEND.
2) More importantly: If deliver rejects the mail, it's sent to the  
sender.


Here are some ideas for improvements:

"Mail storage disk quota exceeded"
"User's mail storage disk quota exceeded"
"Quota exceeded - not enough disk storage capasity for the user"

Any better ideas? I think it should mention "quota" word in any case  
so that people who understand it would know immediately what the error  
message is about.


The current code doesn't allow cleanly using separate messages for 1)  
and 2), so I'd prefer to use the same one. But if you've a great  
suggestion for them separately I could do it.




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


Re: [Dovecot] Exim+dovecot and quota check in exim's ACL before real message routing.

2008-09-26 Thread Anton
I use LDA like this:

local_delivery:
driver  = pipe
command = /usr/lib/dovecot/deliver -e -d $local_part
message_prefix  =
message_suffix  =
delivery_date_add
envelope_to_add
return_path_add
log_output
group   = dovemail
user= dovemail

Problem is that there is no feed back with dovecot during exim's ACL work.


On Fri, 26 Sep 2008 17:45:49 +0700
Charles Marcus <[EMAIL PROTECTED]> wrote:

> On 9/26/2008 5:08 AM, Anton wrote:
> > Dovecot has no LMTP and I see no possability to do such callouts. I
> > tried to turn on quotas in the dovecot. Message was taken by the exim
> > placed into exim's queue but cannot be delivered to dovecot with
> > "local_delivery transport output: Quota exceeded" and message stays
> > in queue for a long time.
> >
> > Is any possability to chech quota usage in the exim's ACL befor
> > taking message body ?
> 
> I think you'll have to use dovecot LDA, but I'm not sure (I don't use
> quotas)...
> 
> --
> 
> Best regards,
> 
> Charles


-- 
Anton [WARM-RIPE]
Stack ltd division head
tel. 8 (3822) 555-797



Re: [Dovecot] Exim+dovecot and quota check in exim's ACL before real message routing.

2008-09-26 Thread Charles Marcus
On 9/26/2008 5:08 AM, Anton wrote:
> Dovecot has no LMTP and I see no possability to do such callouts. I 
> tried to turn on quotas in the dovecot. Message was taken by the exim
> placed into exim's queue but cannot be delivered to dovecot with
> "local_delivery transport output: Quota exceeded" and message stays
> in queue for a long time.
> 
> Is any possability to chech quota usage in the exim's ACL befor 
> taking message body ?

I think you'll have to use dovecot LDA, but I'm not sure (I don't use
quotas)...

-- 

Best regards,

Charles


[Dovecot] Exim+dovecot and quota check in exim's ACL before real message routing.

2008-09-26 Thread Anton
Good day.

I want to migrate from cyrus-imap to dovecot but I can not find replacement of 
one feauture presented in the
cyrus-imap. It is LMTP. All mail users are virtual and mail works like: [EMAIL 
PROTECTED] ->
[EMAIL PROTECTED] I whould like to check "delivery is possable" in the exim's 
ACL. In the
exim+cirus scheme I use Callout verification from exim to cyrus and if user's 
quota is exeeded callout
returns fail and exim does not take message for queueing.

Dovecot has no LMTP and I see no possability to do such callouts. I tried to 
turn on quotas in the dovecot.
Message was taken by the exim placed into exim's queue but cannot be delivered 
to dovecot with "local_delivery
transport output: Quota exceeded" and message stays in queue for a long time.


Is any possability to chech quota usage in the exim's ACL befor taking message 
body ?



-- 
Anton [WARM-RIPE]
Stack ltd division head
tel. 8 (3822) 555-797



[Dovecot] imap-quota not working

2008-09-26 Thread arvids
Hello,

imap-quota plugin always returns empty quota:
a1 GETQUOTA ""
* QUOTA "" ()
a1 OK Getquota completed.
a2 GETQUOTAROOT INBOX
* QUOTAROOT "INBOX"
a2 OK Getquotaroot completed.

quota_rule and quota_rule2 for this user are defined in db as following:
'*:storage=500'
'*:messages=5'
Quota for LDA is working OK.
I am using dovecot-1.1.3 with quotadict.

Here is my dovecot  -n output:
# 1.1.3: /usr/local/dovecot/etc/dovecot.conf
base_dir: /var/run/dovecot/
syslog_facility: local7
protocols: pop3 imap
ssl_cert_file: /etc/postfix/host-cert.pem
ssl_key_file: /etc/postfix/host-key.pem
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/dovecot/libexec/dovecot/imap-login
login_executable(imap): /usr/local/dovecot/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3-login
login_greeting: Server.
login_process_per_connection: no
login_processes_count: 5
login_max_processes_count: 32
verbose_proctitle: yes
first_valid_uid: 95
first_valid_gid: 95
mail_uid: 95
mail_gid: 95
mail_location: maildir:~/Maildir
fsync_disable: yes
mail_executable(default): /usr/local/dovecot/libexec/dovecot/imap
mail_executable(imap): /usr/local/dovecot/libexec/dovecot/imap
mail_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/local/dovecot/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/dovecot/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/dovecot/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail
imap_client_workarounds(imap): delay-newmail
imap_client_workarounds(pop3):
pop3_enable_last(default): no
pop3_enable_last(imap): no
pop3_enable_last(pop3): yes
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
namespace:
  type: private
  separator: .
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  mechanisms: plain login digest-md5 cram-md5 apop
  cache_size: 1024
  cache_ttl: 600
  cache_negative_ttl: 60
  user: doveauth
  verbose: yes
  passdb:
driver: sql
args: /usr/local/dovecot/etc/dovecot-sql.conf
  userdb:
driver: prefetch
  userdb:
driver: sql
args: /usr/local/dovecot/etc/dovecot-sql.conf
  socket:
type: listen
client:
  path: /var/spool/postfix/private/auth
  mode: 432
  user: postfix
  group: postfix
master:
  path: /var/run/dovecot/auth-master
  mode: 384
  user: vmail
  group: vmail
plugin:
  quota: dict:::proxy:/var/run/dovecot/dict-server:quotadict
dict:
  quotadict: mysql:/usr/local/dovecot/etc/dovecot-sql-dict-quota.conf

Regards, Arvids


Re: [Dovecot] Problem when just .dovecot.sieve symlinks changes

2008-09-26 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 25 Sep 2008, Timo Sirainen wrote:


It was fixed in dovecot-sieve-1.1 tree, but not in 1.0. Added there now too:
http://hg.dovecot.org/dovecot-sieve-1.0/rev/3d78296cf763


Thanks, works!

- -- 
Steffen Kaiser

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

iD8DBQFI3KA2VJMDrex4hCIRAtQlAKDDj41/+j3Q4r7aiV46kHnqoalhFgCgn1tN
6Hdo27ARCX+ww3xcv7ytlG8=
=xWUE
-END PGP SIGNATURE-