Re: [Dovecot] POP3 log in failure after switch to dovecot from Cyrus

2007-04-20 Thread Joseba Torre
0.99 is a really old and unmantained version. You should consider switching to 
1.0.

Anyway, if you really need staying with that version, this is a working 
config:

protocols = imap imaps pop3 pop3s
imap_listen = [::]
pop3_listen = [::]
ssl_cert_file = /usr/share/ssl/certs/imapd.pem
ssl_key_file = /usr/share/ssl/certs/imapd.pem
disable_plaintext_auth = no
login_dir = /var/run/dovecot-login
login = imap
login_process_per_connection = yes
login = pop3
first_valid_uid = 100
default_mail_env = maildir:
%h/Maildir:INDEX=/var/dovecot/%u:CONTROL=/var/dovecot/%u
mbox_locks = fcntl
auth = default
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = pam
auth_user = root

Try fitting it to your client needs, but, again, remember that this is an old 
an unsupported version.

Aaagur.

El Viernes, 20 de Abril de 2007 02:13, Stowe Spivey escribió:
 I can set up and access a dovecot pop3 account using outlook express fine. 
 I can telnet into it fine.  However, GFI FaxMaker is failing to log in.

 I assisted a client in switching his web site, including email from one
 server (FreeBSD) which was using Cyrus to a Redhat 4.0 server using dovecot
 version 0.99.11

 Here's the listing of dovecot -n:
 dovecot -n
 Usage: dovecot [-F] [-c config file]
 Fatal: Unknown argument: -n

 The GFI Faxmaker polls the pop3 account every minute so we're getting a lot
 lf these messages in the log file:

 Apr 19 19:51:28 server name pop3-login: Aborted login [:::ip address
 here]

 Again, I can telnet in to the account from that server.  I verified all the
 log in credentials are correct but it still is failing to log in.

 Any ideas?

-- 
Joseba Torre. CIDIR Bizkaia.


pgpj6C1gukk4f.pgp
Description: PGP signature


Re: [Dovecot] deliver failing to execute sendmail (sieve)

2007-04-20 Thread Uldis Pakuls
Justin McAleer wrote:
 Justin McAleer wrote:
 I have apparently done something to mess up my test installation, as
 deliver's attempts to send messages now fail with the following error:

 deliver([EMAIL PROTECTED]): execv() failed: No such file or directory

 In these cases, I have sieve rules trying to send messages. It had
 been working though, and I've tried going through all the changes I
 made yesterday (related to dictionary quota debugging) to find what
 could be wrong, but no luck so far. So, I was hoping for suggestions.

 Basically, deliver seems to not know where sendmail is. I have
 sendmail_path set in dovecot.conf (never changed that), yet when
 deliver tries to pull the location via deliver_set-sendmail_path,
 it's just returning an empty string. If I hard-code the location in
 smtp-client.c, it works again.

 Any ideas?

 Sigh, well I finally found the problem. Ironically, this was caused by
 mail_debug being enabled. In smtp-client.c, with mail_debug enabled,
 smtp_env_clean() is called to prevent conflicts with postfix's debug
 setting. That results in the deliver_set structure getting wiped out,
 so deliver forgets where sendmail is (deliver_set-sendmail_path),
 effectively. Sorry for not supplying a fix, but I've already spent the
 better part of my day tracking this down... It does seem to be trying
 to preserve all the proper env variables, just not putting them back
 into the env.
tnx for informations, I already found, that there is serious problems
with mail_chrot. actually it seams smtp-client must be another
separated, no chrooted process (or all LDA), as it is difficult to put
all external binaries and libs required by plugins [at last sieve,
spamassassin etc.] in chroot environment...


Re: [Dovecot] Client with SSL client cert support?

2007-04-20 Thread Johnny Chadda
Peter Abrahamsen wrote:
 I've gleaned that dovecot has support for verifying SSL client certs on
 connect. What IMAP clients have people found that support sending a
 specific SSL cert? I can't find this feature in Thunderbird, at least.
(sorry, I accidentally sent it directly to Peter)

You can set security.default_peronal_cert to Ask Every Time in
Thunderbird, but it's not very nice.

If you use a recent Dovecot, it will send out a list of accepted CA
names, so the client will select the proper one automatically.

Johnny


[Dovecot] Semi-static userdb...?

2007-04-20 Thread John Robinson
I'm trying to add virtual mailboxes to a system. Real users with 
different uids own domains. Each domain has a passwd-file passdb. I 
don't want to use this passwd-file for the userdb, because I want to fix 
the home, mail and uid/gid settings. Can I use the static userdb in a 
less static manner, e.g.


userdb static {
  args = uid=%{owner of /vmail/%d} gid=%{gid of /vmail/%d} 
home=/vmail/%d/users/%u 
mail=mbox:/vmail/%d/users/%u/mail:INBOX=/vmail/%d/users/%u/INBOX

}

Or is it just a bad idea to let relatively untrusted domain owners 
manage their own passwd-file at all...?


Cheers,

John.



Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD

2007-04-20 Thread Ed Lucero
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Láda
 Sent: Friday, April 20, 2007 12:33 AM
 To: Ed Lucero; dovecot@dovecot.org
 Subject: Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
 
 AFAIK, sieved is not a sieve plugin. At least here on Gentoo it is
 called
 cmusieve (same in wiki) and it is located in /usr/lib/dovecot/lda/.
 
   Láďa
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:dovecot-
 [EMAIL PROTECTED]
  On Behalf Of Ed Lucero
  Sent: Friday, April 20, 2007 12:05 AM
  To: dovecot@dovecot.org
  Subject: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
 
  I have installed dovecot and sieve using the FreeBSD ports.
  Authentication is against a MySql Database.
 
  Dovecot is running using deliver as the LDA.
 
  But when I try to Sieve I get the following error in
  /var/log/dovecot.log
 
  deliver([EMAIL PROTECTED]): Apr 19 14:07:19 Info: Loading modules
 from
  directory: /usr/local/libexec/dovecot
  deliver([EMAIL PROTECTED]): Apr 19 14:07:19 Fatal: Plugin sieved not
  found from directory /usr/local/libexec/dovecot

This is a FreeBSD port. It creates two binaries sievec and sieved. I looked
at the src in the port and the one downloaded from the web. They are
identical except for some files used nthe FreeBSD port.

I'll contact the man doing the p[ort.

Thanks
Ed




Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD

2007-04-20 Thread Láďa
Yeh, of course, these two files are also present on Linux. But none of them
is actually plugin, according to wiki: http://wiki.dovecot.org/LDA/Sieve

Maybe I am wrong, but cmusieve is working nice for me :-)

Láďa

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Ed Lucero
 Sent: Friday, April 20, 2007 6:00 PM
 To: dovecot@dovecot.org
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
 
 This is a FreeBSD port. It creates two binaries sievec and sieved. I
 looked
 at the src in the port and the one downloaded from the web. They are
 identical except for some files used nthe FreeBSD port.
 
 I'll contact the man doing the p[ort.
 
 Thanks
 Ed




Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD

2007-04-20 Thread Justin McAleer

Ed Lucero wrote:

I have installed dovecot and sieve using the FreeBSD ports. Authentication
is against a MySql Database.

Dovecot is running using deliver as the LDA.

But when I try to Sieve I get the following error in /var/log/dovecot.log

deliver([EMAIL PROTECTED]): Apr 19 14:07:19 Info: Loading modules from
directory: /usr/local/libexec/dovecot
deliver([EMAIL PROTECTED]): Apr 19 14:07:19 Fatal: Plugin sieved not found
from directory /usr/local/libexec/dovecot


  


Your lda setup is incorrect:

protocol lda {
  postmaster_address = [EMAIL PROTECTED]
  sendmail_path = /usr/sbin/sendmail

  # Support for dynamically loadable plugins. mail_plugins is a space
separated
  # list of plugins to load.
  mail_plugin_dir = /usr/local/libexec/dovecot
  mail_plugins = sieved

  


mail_plugin_dir = /usr/local/lib/dovecot/lda
mail_plugins = cmusieve


  # If there is no user-specific Sieve-script, global Sieve script is
  # executed if set.
  global_script_path = /usr/local/etc/sieve.default
}

  


[Dovecot] dovecot.spec

2007-04-20 Thread J.Palacios
Hi List,

Plis, where can i find an updated version (for recently dovecot v1.0.0) of
dovecot.spec, needed to build an rpm for RH 4?

Thanks in advance,

Juan Carlos 



Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD

2007-04-20 Thread pod
 ed == Ed Lucero [EMAIL PROTECTED] writes:

ed It creates two binaries sievec and sieved. [...]

- sievec is a standalone bytecode compiler
- sieved is a standalone bytecode de-compiler

You can use them to verify that .dovecot.sieve and .dovecot.sievec are
being updated correctly by the cmusieve plugin.  The dovecot-sieve tarball
bundles CMU libsieve, from which they originate, and they get installed
'for free'.


Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD

2007-04-20 Thread Ed Lucero
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of pod
 Sent: Friday, April 20, 2007 10:44 AM
 To: dovecot@dovecot.org
 Subject: Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
 
  ed == Ed Lucero [EMAIL PROTECTED] writes:
 
 ed It creates two binaries sievec and sieved. [...]
 
 - sievec is a standalone bytecode compiler
 - sieved is a standalone bytecode de-compiler
 
 You can use them to verify that .dovecot.sieve and .dovecot.sievec are
 being updated correctly by the cmusieve plugin.  The dovecot-sieve
 tarball
 bundles CMU libsieve, from which they originate, and they get installed
 'for free'.

Im not finding cmusieve unless its just a library

Here is my find on user local for sieve

/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.la
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.a
/usr/local/libdata/ldconfig/dovecot-sieve
/usr/local/libexec/dovecot/sievec
/usr/local/libexec/dovecot/sieved

Ed




Re: [Dovecot] dovecot.spec

2007-04-20 Thread Troy Engel

J.Palacios wrote:


Plis, where can i find an updated version (for recently dovecot v1.0.0) of
dovecot.spec, needed to build an rpm for RH 4?


Axel has a fully ready spec/RPM on ATrpms.net ready to go for RHEL4; you 
should be able to just install and go.


  http://atrpms.net/dist/el4/dovecot/

-te

--
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com


Re: [Dovecot] dovecot-auth %c variable is not working

2007-04-20 Thread Bill Boebel
On Thu, April 19, 2007 3:23 pm, Andrey Panin [EMAIL PROTECTED] said:

 On 109, 04 19, 2007 at 12:17:41PM -0400, Bill Boebel wrote:
 In doc/variables.txt

  For dovecot-auth there are also these variables:
 
   %c - secured string with SSL, TLS and localhost connections.
Otherwise empty.

 %c does not appear to be working.  I am trying to use it in a MySQL query 
 userdb
 and passdb query and it is always empty string.
 
 Seems like secured flag isn't passed to blocking passdb handler.
 Can you try attached patch ?
 

This patch indeed fixed it.  Tested with all 4 protocols...

pop3  - %c = ''
pop3s - %c = 'secured'
imap  - %c = ''
imaps - %c = 'secured'

Thanks Andrey!

Bill



[Dovecot] Automatic subscribtion to the Spam folder?

2007-04-20 Thread Henk Wevers

Is this possible?
Or need I make some shell scripts to add Spam into subscriptions?

Henk


Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD

2007-04-20 Thread Ed Lucero
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 On Behalf Of Nils Vogels
 Sent: Friday, April 20, 2007 11:36 AM
 To: Ed Lucero
 Cc: dovecot@dovecot.org
 Subject: Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD
 
 Ed Lucero wrote on 20-4-2007 18:00:
  deliver([EMAIL PROTECTED]): Apr 19 14:07:19 Info: Loading modules
  from
 
  directory: /usr/local/libexec/dovecot
  deliver([EMAIL PROTECTED]): Apr 19 14:07:19 Fatal: Plugin sieved
 not
  found from directory /usr/local/libexec/dovecot
 
 
  This is a FreeBSD port. It creates two binaries sievec and sieved. I
  looked at the src in the port and the one downloaded from the web.
  They are identical except for some files used nthe FreeBSD port.
 
  I'll contact the man doing the p[ort.
 
 That would be me.
 
 Your dovecot is looking in the wrong place to find the sieve plugin.
 Try pointing it to
 
 /usr/local/lib/dovecot/lda
 
 Greets,
 
 Nils
 
 --
 Those who desire to give up freedom in order to gain security, will not
 have, nor do they deserve, either one.
 
 ~Benjamin Franklin (American Statesman, Scientist, Philosopher,
 Printer, Writer and Inventor. 1706-1790)
 

Thanks Nils

It is working now.

Ed




Re: [Dovecot] dovecot.spec

2007-04-20 Thread Axel Thimm
On Fri, Apr 20, 2007 at 02:23:17PM -0500, J.Palacios wrote:
 Yes,  but they are all RC.. i need to update v.0.99 to   v1.0.0

Did you really look close enough? The very first package lists is
1.0.0 gold.

 Thanks,
 
 JC 
 
 -Mensaje original-
 De: Axel Thimm [mailto:[EMAIL PROTECTED] En nombre de Axel Thimm
 Enviado el: Viernes, 20 de Abril de 2007 01:39 p.m.
 Para: J.Palacios
 CC: dovecot@dovecot.org
 Asunto: Re: dovecot.spec
 
 On Fri, Apr 20, 2007 at 12:43:54PM -0500, J.Palacios wrote:
  Hi List,
  
  Plis, where can i find an updated version (for recently dovecot 
  v1.0.0) of dovecot.spec, needed to build an rpm for RH 4?
 
 Have you checked the wiki?
 
 There are specfiles, src.rpm and binary packages for RHEL4 at
 http://atrpms.net/dist/el4/dovecot/

-- 
Axel.Thimm at ATrpms.net


pgppd1GArKsYI.pgp
Description: PGP signature


Re: [Dovecot] dovecot.spec

2007-04-20 Thread J.Palacios
Upss... looking wrong way..  

Lot of Thanks !!

JCP 

-Mensaje original-
De: Axel Thimm [mailto:[EMAIL PROTECTED] En nombre de Axel Thimm
Enviado el: Viernes, 20 de Abril de 2007 02:26 p.m.
Para: J.Palacios
CC: dovecot@dovecot.org
Asunto: Re: dovecot.spec

On Fri, Apr 20, 2007 at 02:23:17PM -0500, J.Palacios wrote:
 Yes,  but they are all RC.. i need to update v.0.99 to   v1.0.0

Did you really look close enough? The very first package lists is 1.0.0
gold.

 Thanks,
 
 JC
 
 -Mensaje original-
 De: Axel Thimm [mailto:[EMAIL PROTECTED] En nombre de Axel Thimm 
 Enviado el: Viernes, 20 de Abril de 2007 01:39 p.m.
 Para: J.Palacios
 CC: dovecot@dovecot.org
 Asunto: Re: dovecot.spec
 
 On Fri, Apr 20, 2007 at 12:43:54PM -0500, J.Palacios wrote:
  Hi List,
  
  Plis, where can i find an updated version (for recently dovecot
  v1.0.0) of dovecot.spec, needed to build an rpm for RH 4?
 
 Have you checked the wiki?
 
 There are specfiles, src.rpm and binary packages for RHEL4 at 
 http://atrpms.net/dist/el4/dovecot/

--
Axel.Thimm at ATrpms.net