[Dovecot] Pigeonhole Sieve Extprograms dovecot path?

2014-03-10 Thread voytek
trying to install Pigeonhole Sieve Extprograms
how do I determine what is correct path for dovecot.config ?

I did the
hg clone http://hg.rename-it.nl/pigeonhole-0.3-sieve-extprograms/
'./autogen.sh' seemed to have worked, but './configure' fails with

# ./configure --with-dovecot=/usr/local/lib/dovecot
...
checking whether to build static libraries... yes
checking for dovecot-config in /usr/local/lib/dovecot... not found
configure:
configure: Use --with-dovecot=DIR to provide the path to the
dovecot-config file.
configure: error: dovecot-config not found

or

...
checking for dovecot-config in /usr/lib64/dovecot... not found
configure:
configure: Use --with-dovecot=DIR to provide the path to the
dovecot-config file.
configure: error: dovecot-config not found


# whereis dovecot
dovecot: /usr/sbin/dovecot /etc/dovecot /usr/lib64/dovecot
/usr/libexec/dovecot /usr/share/man/man1/dovecot.1.gz
# dovecot --version
2.1.17
# uname -a
Linux 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64
x86_64 x86_64 GNU/Linux


[Dovecot] dovecot 2 + vpopmail 5.5.0

2014-03-10 Thread Scott Geiger
 

I am working on setting up dovecot 2.2.12 with an installed qmail +
vpopmail 5.5.0 base. So far I have not had much luck getting the auth to
work with vpopmail. Does dovecot 2.2.12 work with vpopmail 5.5.0? So far
when I try to authenticate I always get back User Unknown in the log.


Thanks 


Re: [Dovecot] Slackware 14 config

2014-03-10 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 9 Mar 2014, Clifford W Fulford wrote:

Seems to start ok. No errors reported in logs. Checked location of logs with 
doveadm log find


Did you've verified that a Dovecot process is running and which ports it 
is listening to?




telnet localhost 143
Connected to localhost.
Escape character is '^]'

No imap prompt. Still no errors.


Do you have SELinux or some protection system running?

- -- 
Steffen Kaiser

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

iQEVAwUBUx25fXD1/YhP6VMHAQJ4lggAoiIk8A42SOkEfDd6Q0pxAL4+KZ/45tVj
oixb9lJ3EiFCJJlUl9Fv2HZnek/hQ46grQ4AC2M44h4z/ZB6EwGj1koHIVrqOsOx
q2pK1O601UbQ2/Ht2UDoeevCpbZZ1WxXHesRZJeP0gZTW4eeZU9Y/5yT57eSsCrw
xpcGoKxXaua/4Y8yAb23m4InjdFxZuF5Ob4K77pm6Z3CWvAVgcMF2TIJpH6+KIzG
rhn6VKLGeSQZ54SkATmfvNSqj3tL7fzKWhVih9xtNEH/rwzXo+16j0tOUmGREZD7
zsOTu0qo48cZu7ES/PCUMXUzl+MJ+u5ac6Tkt59CzSf9es0nonDmcA==
=cJuq
-END PGP SIGNATURE-


Re: [Dovecot] Slackware 14 config

2014-03-10 Thread Clifford W Fulford
Yes it is running and its listending on ports 143 and 193 but I only get 
the response shown in my post. No imap capability message and no response 
to any input.


Clifford


On Mon, 10 Mar 2014, Steffen Kaiser wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 9 Mar 2014, Clifford W Fulford wrote:

Seems to start ok. No errors reported in logs. Checked location of logs 
with doveadm log find


Did you've verified that a Dovecot process is running and which ports it is 
listening to?




telnet localhost 143
Connected to localhost.
Escape character is '^]'

No imap prompt. Still no errors.


Do you have SELinux or some protection system running?

- -- Steffen Kaiser
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUx25fXD1/YhP6VMHAQJ4lggAoiIk8A42SOkEfDd6Q0pxAL4+KZ/45tVj
oixb9lJ3EiFCJJlUl9Fv2HZnek/hQ46grQ4AC2M44h4z/ZB6EwGj1koHIVrqOsOx
q2pK1O601UbQ2/Ht2UDoeevCpbZZ1WxXHesRZJeP0gZTW4eeZU9Y/5yT57eSsCrw
xpcGoKxXaua/4Y8yAb23m4InjdFxZuF5Ob4K77pm6Z3CWvAVgcMF2TIJpH6+KIzG
rhn6VKLGeSQZ54SkATmfvNSqj3tL7fzKWhVih9xtNEH/rwzXo+16j0tOUmGREZD7
zsOTu0qo48cZu7ES/PCUMXUzl+MJ+u5ac6Tkt59CzSf9es0nonDmcA==
=cJuq
-END PGP SIGNATURE-



Re: [Dovecot] Slackware 14 config

2014-03-10 Thread Clifford W Fulford

Sorry just seen my typo I meant ports 143 and 993.

  --
On Mon, 10 Mar 2014, Steffen Kaiser wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 9 Mar 2014, Clifford W Fulford wrote:

Seems to start ok. No errors reported in logs. Checked location of logs 
with doveadm log find


Did you've verified that a Dovecot process is running and which ports it is 
listening to?




telnet localhost 143
Connected to localhost.
Escape character is '^]'

No imap prompt. Still no errors.


Do you have SELinux or some protection system running?

- -- Steffen Kaiser
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUx25fXD1/YhP6VMHAQJ4lggAoiIk8A42SOkEfDd6Q0pxAL4+KZ/45tVj
oixb9lJ3EiFCJJlUl9Fv2HZnek/hQ46grQ4AC2M44h4z/ZB6EwGj1koHIVrqOsOx
q2pK1O601UbQ2/Ht2UDoeevCpbZZ1WxXHesRZJeP0gZTW4eeZU9Y/5yT57eSsCrw
xpcGoKxXaua/4Y8yAb23m4InjdFxZuF5Ob4K77pm6Z3CWvAVgcMF2TIJpH6+KIzG
rhn6VKLGeSQZ54SkATmfvNSqj3tL7fzKWhVih9xtNEH/rwzXo+16j0tOUmGREZD7
zsOTu0qo48cZu7ES/PCUMXUzl+MJ+u5ac6Tkt59CzSf9es0nonDmcA==
=cJuq
-END PGP SIGNATURE-



Re: [Dovecot] Slackware 14 config

2014-03-10 Thread Professa Dementia
 Sorry just seen my typo I meant ports 143 and 993.

Irrelevant.  Take a step back and think about it logically.  The error
messages did not say that you could not connect to these ports.  In
fact, it seems you can, so clearly, this is not your problem.

A netstat -nat will show if something is listening on these ports.



 doveadm(root): Error: Timeout waiting for handshake from auth server. my
 pid=8881, input bytes=0
 doveadm(root): Fatal: Couldn't connect to auth socket


This is what you should be looking into - Timeout waiting for
handshake from auth server


The second message cannot connect ... is the generic error if the
entire connect fails.  However, the primary error is the timeout error.
 That is the key.  It is not getting a response from the other end of
the socket.  What is supposed to be connecting to the other end?  Are
you using SASL or something else to do authentication?  What does lsof
| grep auth-userdb show?  Two things should have that file open.  If
not, there is your problem.  A pipe, named or otherwise, is like a
chatroom.  It is very lonely when you are the only one.


Standard problem solving techniques.  All the information you need is
right in front of you.

Dem


[Dovecot] mdbox+sis: Error: read(attachments-connector(/path/...)) failed: read(/path/...[base64:18 b/l]) failed: Stream is larger than expected (256088 256087, eof=1) (FETCH BODY[] for mailbox INBO

2014-03-10 Thread Andrew Lewis

Hi,

User's mailbox is failing to sync.

Log: Error: read(attachments-connector(/path/storage/m.217)) failed: 
read(/path/attachments/a5/b0/a5b01f595205522593c27457ea51094872f1f2b42b01e90d27d3f9237bc8a2ab-dbf7460d4778b152ec6e0d189396[base64:18 
b/l]) failed: Stream is larger than expected (256088  256087, eof=1) 
(FETCH BODY[] for mailbox INBOX UID 29925)


Sounds like issue here: 
http://comments.gmane.org/gmane.mail.imap.dovecot/76254


Config attached.

Best Regards,
Andrew Lewis
# 2.2.12.0: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-57-generic x86_64 Ubuntu 12.04.4 LTS
auth_username_chars = 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
auth_verbose = yes
auth_verbose_passwords = plain
dict {
  sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
first_valid_uid = 108
last_valid_uid = 108
mail_attachment_dir = ~/attachments
mail_attachment_hash = %{sha256}
mail_gid = 115
mail_location = mdbox:~/
mail_plugins = quota
mail_privileged_group = mail
mail_uid = 108
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date ihave
namespace {
  inbox = yes
  location =
  prefix = INBOX.
  separator = .
  type = private
}
passdb {
  args = /etc/dovecot/auth-sql.conf.ext
  driver = sql
}
plugin {
  quota = dict:User quota::noenforcing:proxy::sqlquota
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = imap pop3 lmtp sieve
service dict {
  unix_listener dict {
mode = 0600
user = Debian-exim
  }
}
service imap-postlogin {
  executable = script-login /usr/local/bin/update-lastlogin.sh
}
service imap {
  executable = imap imap-postlogin
}
service lmtp {
  inet_listener lmtp {
port = 2525
  }
  process_limit = 10
}
service pop3-postlogin {
  executable = script-login /usr/local/bin/update-lastlogin.sh
}
service pop3 {
  executable = pop3 pop3-postlogin
}
ssl_cert = /etc/ssl/certs/dovecot.pem
ssl_key = /etc/ssl/private/dovecot.pem
userdb {
  args = /etc/dovecot/auth-sql.conf.ext
  driver = sql
}
protocol lda {
  mail_plugins = quota sieve
}
protocol lmtp {
  mail_plugins = quota sieve
}
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
  mail_max_userip_connections = 40
  mail_plugins = quota imap_quota
}
protocol pop3 {
  mail_max_userip_connections = 3
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, read=%i, 
sent=%o
}


[Dovecot] Error configuring dovecot instance as proxy

2014-03-10 Thread Balamurugan Ramasamy
Hi All

I follwed the steps in the below url to configure a dovecot proxy instance.
http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/Proxy

I created a new file '95-test.conf' in /etc/dovecot/conf.d/ location. and
put the below lines in that file.
proxy=yes
host=
port=143
nopassword=yes


However I am getting the following when starting the serice. I tried
'proxy' and 'proxy_maybe' entries, and they both failed.
doveconf: Fatal: Error in configuration file
/etc/dovecot/conf.d/10-auth.conf line 11: Unknown setting: proxy

Could anyone help me how i can resolve this?


Thanks
Bala


Re: [Dovecot] Pigeonhole Sieve Extprograms dovecot path?

2014-03-10 Thread Pascal Volk
On 03/10/2014 09:49 AM voy...@sbt.net.au wrote:
 …
 # ./configure --with-dovecot=/usr/local/lib/dovecot
 ...
 checking whether to build static libraries... yes
 checking for dovecot-config in /usr/local/lib/dovecot... not found
 configure:
 configure: Use --with-dovecot=DIR to provide the path to the
 dovecot-config file.
 configure: error: dovecot-config not found
 
 …
 # dovecot --version
 2.1.17
 # uname -a
 Linux 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64
 x86_64 x86_64 GNU/Linux

Did you compile Dovecot from source? Then the dovecot-config file will
be located in the top source directory of Dovecot.

Otherwise install the matching dovecot-devel RPM. Then you'll find
dovecot-config in /usr/lib/dovecot.


Regards,
Pascal
-- 
The trapper recommends today: f007ba11.1406...@localdomain.org


Re: [Dovecot] Pigeonhole Sieve Extprograms dovecot path?

2014-03-10 Thread voytek
On Tue, March 11, 2014 5:18 am, Pascal Volk wrote:

 Did you compile Dovecot from source? Then the dovecot-config file will
 be located in the top source directory of Dovecot.
 Otherwise install the matching dovecot-devel RPM. Then you'll find
 dovecot-config in /usr/lib/dovecot.

Pascal, thanks.

from rpm from *iRedMail repo*

dooh, I'm mising dovecot-devel... ooops... probs ahead[1]:

hmmm, seems I might be buying more trouble than I'm maybe solving...


[1]
--
# yum install dovecot-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
-- Running transaction check
--- Package dovecot-devel.x86_64 1:2.0.9-7.el6 will be installed
-- Processing Dependency: dovecot = 1:2.0.9-7.el6 for package:
1:dovecot-devel-2.0.9-7.el6.x86_64
-- Running transaction check
--- Package dovecot.i686 1:2.0.9-7.el6 will be installed
-- Processing Dependency: libz.so.1 for package: 1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libssl.so.10(libssl.so.10) for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libssl.so.10 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libsqlite3.so.0 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libpam.so.0(LIBPAM_1.0) for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libpam.so.0 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libldap-2.4.so.2 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libkrb5.so.3(krb5_3_MIT) for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libkrb5.so.3 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libk5crypto.so.3 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libgssapi_krb5.so.2(gssapi_krb5_2_MIT) for
package: 1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libgssapi_krb5.so.2 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libcrypto.so.10(libcrypto.so.10) for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libcrypto.so.10 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libcom_err.so.2 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libcap.so.2 for package:
1:dovecot-2.0.9-7.el6.i686
-- Processing Dependency: libbz2.so.1 for package:
1:dovecot-2.0.9-7.el6.i686
-- Running transaction check
--- Package bzip2-libs.i686 0:1.0.5-7.el6_0 will be installed
--- Package krb5-libs.i686 0:1.10.3-10.el6_4.6 will be installed
-- Processing Dependency: libselinux.so.1 for package:
krb5-libs-1.10.3-10.el6_4.6.i686
-- Processing Dependency: libkeyutils.so.1(KEYUTILS_0.3) for package:
krb5-libs-1.10.3-10.el6_4.6.i686
-- Processing Dependency: libkeyutils.so.1 for package:
krb5-libs-1.10.3-10.el6_4.6.i686
--- Package libcap.i686 0:2.16-5.5.el6 will be installed
-- Processing Dependency: libattr.so.1(ATTR_1.0) for package:
libcap-2.16-5.5.el6.i686
-- Processing Dependency: libattr.so.1 for package: libcap-2.16-5.5.el6.i686
--- Package libcom_err.i686 0:1.41.12-18.el6 will be installed
--- Package openldap.i686 0:2.4.23-34.el6_5.1 will be installed
-- Processing Dependency: libssl3.so(NSS_3.7.4) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libssl3.so(NSS_3.4) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libssl3.so(NSS_3.2) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libssl3.so for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libsmime3.so for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libsasl2.so.2 for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libplds4.so for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libplc4.so for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnssutil3.so for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.9.3) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.9.2) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.8) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.6) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.4) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.3) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.2) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.12.9) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.12.5) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.12.1) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.12) for package:
openldap-2.4.23-34.el6_5.1.i686
-- Processing Dependency: libnss3.so(NSS_3.11.1) for