Re: [Dovecot] Creating and interacting with array inside plugin

2012-02-23 Thread Alex Baule
Tks Timo... Em 23 de fevereiro de 2012 21:34, Timo Sirainen escreveu: > On 23.2.2012, at 18.19, Alex Baule wrote: > >> ok, inside my expunged rewrite function i create the array like quota >> does, and append it to my array. >> >> struct emexis_ids_x_uis append_uis; >> append_uis.ids = _mail->u

[Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-02-23 Thread Andreas M. Kirchwitz
Hello Dovecot users! There seems to be a new dependency in some modules (eg, lib-storage, libdovecot-lda, libdovecot-ssl) on OpenSSL. In Dovecot 2.0, those modules didn't require OpenSSL, but 2.1 does. For the linking process the path to the OpenSSL library isn't specified properly (SSL_L

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-23 Thread Ed W
On 22/02/2012 23:56, Ed W wrote: I think it has potential though. I think a lot of the current plugins on the website could easily be rewritten, likely without performance concerns, using a scripting based plugin system. I could see that some other big picture pieces could potentially benefit

Re: [Dovecot] Creating and interacting with array inside plugin

2012-02-23 Thread Timo Sirainen
On 23.2.2012, at 18.19, Alex Baule wrote: > ok, inside my expunged rewrite function i create the array like quota > does, and append it to my array. > > struct emexis_ids_x_uis append_uis; > append_uis.ids = _mail->uid; > append_uis.uis_file = bodyFile; .. > But when i do a foreach in this Array,

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Joseph Tam
From: "Peter A. Giessel" : Not totally true. Typical cyrus sasl2 implementation used with sendmail uses an imap server for smtp authentication. I recall having to tweak the sasl2 configuration on my own sendmail server to talk correctly with dovecot. I don't recall the exact tweaks. Just t

Re: [Dovecot] Settings for authentication without an extra password file

2012-02-23 Thread Timo Sirainen
On 23.2.2012, at 19.31, Keith Christian wrote: > Hello, I'm new to dovecot, and, due to having an older version of an > OS installed on a test server, I'll be using an older version of > dovecot (dovecot-1.0-1.2) to provide IMAP services. I think Dovecot v2.x works mostly on the same OSes as v1.x

Re: [Dovecot] How to achieve proper privilege separation?

2012-02-23 Thread Timo Sirainen
On 24.2.2012, at 1.26, Timo Sirainen wrote: > On 23.2.2012, at 21.56, Tóth Attila wrote: > >> In the mean time I've upgraded to 2.1. >> I've enabled debug logging and logged in. >> >> I suspect that hardening features can be blamed for my problem. After >> booting a previous kernel the behavior

Re: [Dovecot] How to achieve proper privilege separation?

2012-02-23 Thread Timo Sirainen
On 23.2.2012, at 21.56, Tóth Attila wrote: > In the mean time I've upgraded to 2.1. > I've enabled debug logging and logged in. > > I suspect that hardening features can be blamed for my problem. After > booting a previous kernel the behavior was reverted. OK. > Feb 23 20:50:12 atoth dovecot: i

Re: [Dovecot] How to limit max number of connections for ip address

2012-02-23 Thread Timo Sirainen
On 24.2.2012, at 0.33, Wilberth Perez wrote: > Does any one , knows if is possible configure dovecot for limit max > number of connections for IP address? > > I would like to prevent future fork-bombing attacks for pop3 and imap > login process in my email server. > > Our dovecot version is : 1

Re: [Dovecot] From Maildir back to smtp

2012-02-23 Thread Andrew Richards
On Thursday 23 February 2012 22:12:14 mail...@securitylabs.it wrote: > Il 23/02/2012 21:41, Marc Perkel ha scritto: > > Not sure how this can be done. > > > > Right now I'm running a free backup MX record service. People point > > their high MX records to my servers and if they go down we store th

[Dovecot] How to limit max number of connections for ip address

2012-02-23 Thread Wilberth Perez
Hi List: Does any one , knows if is possible configure dovecot for limit max number of connections for IP address? I would like to prevent future fork-bombing attacks for pop3 and imap login process in my email server. Our dovecot version is : 1.2.10 Thanks, Wilberth. smime.p7s Descripti

Re: [Dovecot] From Maildir back to smtp

2012-02-23 Thread mail...@securitylabs.it
Il 23/02/2012 21:41, Marc Perkel ha scritto: Not sure how this can be done. Right now I'm running a free backup MX record service. People point their high MX records to my servers and if they go down we store the email. When they come back up it's delivered. Hi, store how? In a queue with s

[Dovecot] From Maildir back to smtp

2012-02-23 Thread Marc Perkel
Not sure how this can be done. Right now I'm running a free backup MX record service. People point their high MX records to my servers and if they go down we store the email. When they come back up it's delivered. What I want to do is have a premium service that would allow them to view thro

Re: [Dovecot] How to achieve proper privilege separation?

2012-02-23 Thread Tóth Attila
In the mean time I've upgraded to 2.1. I've enabled debug logging and logged in. I suspect that hardening features can be blamed for my problem. After booting a previous kernel the behavior was reverted. Here is what I got. As I can make it out it uses the proper user for the imap process accordi

Re: [Dovecot] Failing: doveadm sync <--remote host--> dsync mirror

2012-02-23 Thread Michael Grimm
Hi -- On 21.02.2012, at 23:03, Michael Grimm wrote: > On 21.02.2012, at 22:57, Timo Sirainen wrote: >> Probably intentional. Even if it didn't give that error message, it would >> fail because v2.0 and v2.1 uses a slightly different protocol (I thought >> about making it backwards compatible, b

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Tóth Attila
http://dovecot.org/list/dovecot/2009-March/038435.html -- dr Tóth Attila, Radiológus, 06-20-825-8057 Attila Toth MD, Radiologist, +36-20-825-8057 2012.Február 23.(Cs) 18:10 időpontban Steve Campbell ezt írta: > > > On 2/23/2012 11:33 AM, /dev/rob0 wrote: >> On Thu, Feb 23, 2012 at 10:16:34AM -050

Re: [Dovecot] Can't connect to my mail server (postfix + dovecot, IMAP) with Thunderbird

2012-02-23 Thread Charles Marcus
On 2012-02-23 11:36 AM, GASPARD Kévin wrote: Also my pastes will be destroyed in something like one day, that's stupid (that's originally for IRC), so this is the output of my : dovecot -n : http://pastebin.com/Tewcb7bm telnet : http://pastebin.com/6gY2puxF netstat -Nnap | grep "dovecot" : http

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread /dev/rob0
On Thu, Feb 23, 2012 at 12:10:20PM -0500, Steve Campbell wrote: > On 2/23/2012 11:33 AM, /dev/rob0 wrote: > >On Thu, Feb 23, 2012 at 10:16:34AM -0500, Steve Campbell wrote: > >>Why is dovecot involved in my smtp processes and how do I fix > >>this. > >I would question that these failures are in fac

[Dovecot] Settings for authentication without an extra password file

2012-02-23 Thread Keith Christian
Hello, I'm new to dovecot, and, due to having an older version of an OS installed on a test server, I'll be using an older version of dovecot (dovecot-1.0-1.2) to provide IMAP services. On this wiki page (http://wiki.dovecot.org/BasicConfiguration?highlight=%28passwd.dovecot%29) There are instruc

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Peter A. Giessel
> > If you are using sendmail as the MTA, Dovecot is not involved for > authentication on mail submission. The maillog line you provided does not > contain enough information to tell what triggered the error. Not totally true. Typical cyrus sasl2 implementation used with sendmail uses an imap

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Steve Campbell
On 2/23/2012 11:33 AM, /dev/rob0 wrote: On Thu, Feb 23, 2012 at 10:16:34AM -0500, Steve Campbell wrote: I've been trying to get smtp auth set up for days. All my sendmail and sasl2 stuff seems to be proper, but the user can't use the system on port 587, which is where I require authorization.

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread SM
Hi Steve, At 07:16 23-02-2012, Steve Campbell wrote: I've been trying to get smtp auth set up for days. All my sendmail and sasl2 stuff seems to be proper, but the user can't use the system on port 587, which is where I require authorization. Now I see where messages are in my maillog of the t

[Dovecot] Can't connect to my mail server (postfix + dovecot, IMAP) with Thunderbird

2012-02-23 Thread GASPARD Kévin
I'm sorry, some one tell me my netstat (on IRC) is useless. Also my pastes will be destroyed in something like one day, that's stupid (that's originally for IRC), so this is the output of my : dovecot -n : http://pastebin.com/Tewcb7bm telnet : http://pastebin.com/6gY2puxF netstat -Nnap | grep

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Steve Campbell
On 2/23/2012 11:23 AM, Peter A. Giessel wrote: I've been trying to get smtp auth set up for days. All my sendmail and sasl2 stuff seems to be proper, but the user can't use the system on port 587, which is where I require authorization. My guess is that your sasl2 configuration is configured

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread /dev/rob0
On Thu, Feb 23, 2012 at 10:16:34AM -0500, Steve Campbell wrote: > I've been trying to get smtp auth set up for days. All my sendmail > and sasl2 stuff seems to be proper, but the user can't use the > system on port 587, which is where I require authorization. > > Now I see where messages are in my

[Dovecot] Can't connect to my mail server (postfix + dovecot, IMAP) with Thunderbird

2012-02-23 Thread GASPARD Kévin
Hi, I've a problem with Dovecot and Thunderbird. Actually I'm trying to setup a virtual host server mail with postfix + dovecot (2.0.9) on CentOS 6.2. This is my dovecot -n : http://pastebin.com/wZWAE5Cj (I guess the errors are not important, that's just saying there is some obsoletes values,

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Peter A. Giessel
> > I've been trying to get smtp auth set up for days. All my sendmail and sasl2 > stuff seems to be proper, but the user can't use the system on port 587, > which is where I require authorization. My guess is that your sasl2 configuration is configured to use your imap server to authenticate

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Steve Campbell
On 2/23/2012 10:47 AM, Charles Marcus wrote: On 2012-02-23 10:16 AM, Steve Campbell wrote: Why is dovecot involved in my smtp processes Because you told it to? Where did I tell it to do this. and how do I fix this. Depends on what your intent is - what MTA you use - how it is configu

Re: [Dovecot] duplicates with multiple To/CC and sieve redirect copy

2012-02-23 Thread Stephan Bosch
Op 2/23/2012 4:37 PM, Adam Szpakowski schreef: On 23.02.2012 02:15, Stephan Bosch wrote: * I've just created an alternative that implements something similar to the Procmail code you posted above, but from within Sieve itself. [cut] Great extension. I'll try and use it on one of the servers as

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Charles Marcus
On 2012-02-23 10:16 AM, Steve Campbell wrote: Why is dovecot involved in my smtp processes Because you told it to? and how do I fix this. Depends on what your intent is - what MTA you use - how it is configured - etc... I've got some very mad users. Don't make changes to an existing

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Steve Campbell
On 2/23/2012 10:30 AM, Adam Szpakowski wrote: On 23.02.2012 16:16, Steve Campbell wrote: I've been trying to get smtp auth set up for days. All my sendmail and sasl2 stuff seems to be proper, but the user can't use the system on port 587, which is where I require authorization. Now I see wh

Re: [Dovecot] duplicates with multiple To/CC and sieve redirect copy

2012-02-23 Thread Adam Szpakowski
On 23.02.2012 02:15, Stephan Bosch wrote: On 2/22/2012 12:15 AM, Adam Szpakowski wrote: Maybe there is a way to use a procmail with something like this: :0 Wh: msgid.lock | formail -D 8192 .msgid.cache But is there a safe way to use it together with sieve? Using Pigeonhole Sieve Pipe Plugin?

Re: [Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Adam Szpakowski
On 23.02.2012 16:16, Steve Campbell wrote: I've been trying to get smtp auth set up for days. All my sendmail and sasl2 stuff seems to be proper, but the user can't use the system on port 587, which is where I require authorization. Now I see where messages are in my maillog of the type: auth

[Dovecot] Why is dovecot involved in my smtp process

2012-02-23 Thread Steve Campbell
I've been trying to get smtp auth set up for days. All my sendmail and sasl2 stuff seems to be proper, but the user can't use the system on port 587, which is where I require authorization. Now I see where messages are in my maillog of the type: auth: pam_unix(dovecot:auth) : authentication fa

[Dovecot] v2.1.1 released

2012-02-23 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.1.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.1.tar.gz.sig v2.1.0 had a couple of bugs, but overall people have been pretty quiet about it. I'm hoping v2.1.2 won't need to be released for many more weeks. :) BTW. v2.2 branch has also been opened

Re: [Dovecot] How to achieve proper privilege separation?

2012-02-23 Thread Timo Sirainen
On Thu, 2012-02-23 at 09:03 +0100, "Tóth Attila" wrote: > Unfortunately I can see, that in my case /usr/libexec/dovecot/imap > accesses both the inbox and the mail directories of the user as root. > Moreover, it creates the lock file as root. I can see no process running > as the user. > > How cou

Re: [Dovecot] How to achieve proper privilege separation?

2012-02-23 Thread Tóth Attila
Unfortunately I can see, that in my case /usr/libexec/dovecot/imap accesses both the inbox and the mail directories of the user as root. Moreover, it creates the lock file as root. I can see no process running as the user. How could I teach dovecot to start the imap process as the user. What confi