Re: [Dovecot] Dovecot deliver into folder question

2014-01-08 Thread Marc Perkel
On 1/6/2014 11:28 PM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 6 Jan 2014, Marc Perkel wrote: On 1/6/2014 12:27 PM, Charles Marcus wrote: On 2014-01-06 3:20 PM, Marc Perkel m...@perkel.com wrote: If I want to user dovecot deliver into a folder that is not

Re: [Dovecot] Dovecot deliver into folder question

2014-01-07 Thread Benny Pedersen
Marc Perkel skrev den 2014-01-06 21:33: when specifying the mailbox - how do you specify a subfolder? Do you use a / separator? try create a folder in webmail, then see how its done in filesystem later, is this clear now ? seperate chars is imho not hardcoded, thats why i answer as above

Re: [Dovecot] Dovecot deliver into folder question

2014-01-07 Thread Benny Pedersen
Steffen Kaiser skrev den 2014-01-07 08:28: separator = . - -m shared.sub1.sub2.sub3 When I used Dovecot LDA, the first variant worked. is separator not a glue here ? :) i think separator = / is a very very bad idea

[Dovecot] Dovecot deliver into folder question

2014-01-06 Thread Marc Perkel
If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a folder?

Re: [Dovecot] Dovecot deliver into folder question

2014-01-06 Thread Charles Marcus
On 2014-01-06 3:20 PM, Marc Perkel m...@perkel.com wrote: If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a folder? For *all* messages? Or for certain messages? Kind of an incomplete question. -- Best regards,

Re: [Dovecot] Dovecot deliver into folder question

2014-01-06 Thread Marc Perkel
On 1/6/2014 12:27 PM, Charles Marcus wrote: On 2014-01-06 3:20 PM, Marc Perkel m...@perkel.com wrote: If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a folder? For *all* messages? Or for certain messages? Kind

Re: [Dovecot] Dovecot deliver into folder question

2014-01-06 Thread Charles Marcus
On 2014-01-06 3:33 PM, Marc Perkel m...@perkel.com wrote: On 1/6/2014 12:27 PM, Charles Marcus wrote: On 2014-01-06 3:20 PM, Marc Perkel m...@perkel.com wrote: If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a

Re: [Dovecot] Dovecot deliver into folder question

2014-01-06 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 6 Jan 2014, Marc Perkel wrote: On 1/6/2014 12:27 PM, Charles Marcus wrote: On 2014-01-06 3:20 PM, Marc Perkel m...@perkel.com wrote: If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-16 Thread Alessio Cecchi
Il 16/10/2012 02:35, Timo Sirainen ha scritto: On 13.10.2012, at 15.38, Alessio Cecchi wrote: Il 2012-10-02 21:28 Timo Sirainen ha scritto: On 19.9.2012, at 16.07, Alessio Cecchi wrote: #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( backend=0x1944240) at

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-15 Thread Timo Sirainen
On 13.10.2012, at 15.38, Alessio Cecchi wrote: Il 2012-10-02 21:28 Timo Sirainen ha scritto: On 19.9.2012, at 16.07, Alessio Cecchi wrote: #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( backend=0x1944240) at acl-backend-vfile-acllist.c:297 This should fix it:

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-13 Thread Alessio Cecchi
Il 2012-10-02 21:28 Timo Sirainen ha scritto: On 19.9.2012, at 16.07, Alessio Cecchi wrote: #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( backend=0x1944240) at acl-backend-vfile-acllist.c:297 This backtrace is rather weird. Could you also do (instead of bt full): fr

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-13 Thread Alessio Cecchi
Il 2012-10-02 22:15 Timo Sirainen ha scritto: On 2.10.2012, at 22.28, Timo Sirainen wrote: On 19.9.2012, at 16.07, Alessio Cecchi wrote: #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( backend=0x1944240) at acl-backend-vfile-acllist.c:297 This backtrace is rather weird.

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-02 Thread Timo Sirainen
On 19.9.2012, at 16.07, Alessio Cecchi wrote: #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( backend=0x1944240) at acl-backend-vfile-acllist.c:297 This backtrace is rather weird. Could you also do (instead of bt full): fr 1 p *ns p *ns.user p *auser It crashes because

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-02 Thread Timo Sirainen
On 2.10.2012, at 22.28, Timo Sirainen wrote: On 19.9.2012, at 16.07, Alessio Cecchi wrote: #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( backend=0x1944240) at acl-backend-vfile-acllist.c:297 This backtrace is rather weird. Could you also do (instead of bt full):

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-24 Thread Alessio Cecchi
Il 19/09/2012 15:07, Alessio Cecchi ha scritto: Il 19/09/2012 15:03, Alessio Cecchi ha scritto: Il 19/09/2012 14:48, Timo Sirainen ha scritto: On 19.9.2012, at 13.54, Alessio Cecchi wrote: LDA is configured and works fine but the problem is when the first message arrive dovecot-lda return a

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-24 Thread Alessio Cecchi
Il 24/09/2012 17:40, Alessio Cecchi ha scritto: Il 19/09/2012 15:07, Alessio Cecchi ha scritto: Il 19/09/2012 15:03, Alessio Cecchi ha scritto: Il 19/09/2012 14:48, Timo Sirainen ha scritto: On 19.9.2012, at 13.54, Alessio Cecchi wrote: LDA is configured and works fine but the problem is

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-20 Thread Alessio Cecchi
Il 19/09/2012 19:52, interfaSys sàrl ha scritto: I see the same crashes on FreeBSD. Turning off ACL makes the crashes disappear. I'm getting a different backtrace though and it doesn't seem to be related to ACL: Core was generated by `imap-login'. Thanks for your report. My backtrace was

[Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread Alessio Cecchi
Hi, I have found this strange problem. I'm working with Debian 6, dovecot 2.1.9 and vpopmail-auth. LDA is configured and works fine but the problem is when the first message arrive dovecot-lda return a Segmentation fault, the message is written to the user's Mailbox but the message remains,

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 13.54, Alessio Cecchi wrote: LDA is configured and works fine but the problem is when the first message arrive dovecot-lda return a Segmentation fault, the message is written to the user's Mailbox but the message remains, also, in the queue of qmail (deferral:

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread Alessio Cecchi
Il 19/09/2012 14:48, Timo Sirainen ha scritto: On 19.9.2012, at 13.54, Alessio Cecchi wrote: LDA is configured and works fine but the problem is when the first message arrive dovecot-lda return a Segmentation fault, the message is written to the user's Mailbox but the message remains, also,

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread Alessio Cecchi
Il 19/09/2012 15:03, Alessio Cecchi ha scritto: Il 19/09/2012 14:48, Timo Sirainen ha scritto: On 19.9.2012, at 13.54, Alessio Cecchi wrote: LDA is configured and works fine but the problem is when the first message arrive dovecot-lda return a Segmentation fault, the message is written to

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-09-19 Thread interfaSys sàrl
I see the same crashes on FreeBSD. Turning off ACL makes the crashes disappear. I'm getting a different backtrace though and it doesn't seem to be related to ACL: Core was generated by `imap-login'. Program terminated with signal 11, Segmentation fault. Reading symbols from

[Dovecot] Dovecot deliver

2011-05-18 Thread Gonzalo Rodriguez
Hi all, I have a problem with my dovecot/postfix configuration: here is my dovecot -n # 1.2.16: /etc/dovecot.conf Warning: fd limit 128 is lower than what Dovecot can use under full load (more than 768). Either grow the limit or change login_max_processes_count and max_mail_processes settings

Re: [Dovecot] Dovecot deliver

2011-05-18 Thread Jerry
On Wed, 18 May 2011 10:08:37 -0300 Gonzalo Rodriguez gonz...@sepp0.com.ar articulated: Hi all, I have a problem with my dovecot/postfix configuration: here is my dovecot -n # 1.2.16: /etc/dovecot.conf Warning: fd limit 128 is lower than what Dovecot can use under full load (more

Re: [Dovecot] Dovecot deliver

2011-05-18 Thread Julio C. Ortega
El 18/05/11 08:38, Gonzalo Rodriguez escribió: Hi all, I have a problem with my dovecot/postfix configuration: here is my dovecot -n # 1.2.16: /etc/dovecot.conf Warning: fd limit 128 is lower than what Dovecot can use under full load (more than 768). Either grow the limit or change

Re: [Dovecot] Dovecot deliver

2011-05-18 Thread Gonzalo Rodriguez
sorry first my postconf alias_database = hash:/etc/postfix/aliases command_directory = /usr/local/sbin config_directory = /etc/postfix daemon_directory = /usr/local/libexec/postfix data_directory = /var/postfix debug_peer_level = 2 disable_vrfy_command = yes mail_owner = _postfix mailbox_command

Re: [Dovecot] Dovecot deliver

2011-05-18 Thread Gonzalo Rodriguez
I forgot: $ ls -al total 136 drwxr-xr-x 6 vmail vmail 4096 May 16 16:48 . drwxr-xr-x 8 vmail vmail 4096 May 17 15:47 .. drwx-- 5 vmail vmail 4096 May 18 09:47 Drafts drwxr-xr-x 5 vmail vmail 4096 May 18 13:10 INBOX drwx-- 5 vmail vmail 4096 May 17 17:24 Sent drwx-- 5

Re: [Dovecot] Dovecot deliver

2011-05-18 Thread Jerry
On Wed, 18 May 2011 13:47:19 -0300 Gonzalo Rodriguez gonz...@sepp0.com.ar articulated: I add the line: mailbox_command = /usr/lib/dovecot/deliver Why? You are using virtual delivery. You don't need that. The following is from my master.cf file. It works perfectly. This is on a FreeBSD-8.2

Re: [Dovecot] Dovecot deliver

2011-05-18 Thread Gonzalo Rodriguez
2011/5/18 Jerry dovecot.u...@seibercom.net: On Wed, 18 May 2011 13:47:19 -0300 Gonzalo Rodriguez gonz...@sepp0.com.ar articulated: I add the line: mailbox_command = /usr/lib/dovecot/deliver Why? You are using virtual delivery. You don't need that. in my main.cf have virtual_transport =

Re: [Dovecot] Dovecot deliver

2011-05-18 Thread Jerry
On Wed, 18 May 2011 15:14:11 -0300 Gonzalo Rodriguez gonz...@sepp0.com.ar articulated: 2011/5/18 Jerry dovecot.u...@seibercom.net: On Wed, 18 May 2011 13:47:19 -0300 Gonzalo Rodriguez gonz...@sepp0.com.ar articulated: I add the line: mailbox_command = /usr/lib/dovecot/deliver

Re: [Dovecot] Dovecot deliver with multiple UIDs (security question)

2010-07-12 Thread Timo Sirainen
On Mon, 2010-07-12 at 00:09 +0300, Buzai Andras wrote: dovecot unix - n n - - pipe flags=DRhu user=*mysudoeruser* argv=/usr/bin/sudo /usr/lib/dovecot/deliver -f ${sender} -d ${recipient} When you say that: * Basically the user that calls deliver via sudo

Re: [Dovecot] Dovecot deliver with multiple UIDs (security question)

2010-07-12 Thread Buzai Andras
Hi, Thank you for your answers :). When should I expect the final (production ready) release of Dovecot 2 (an approximate time period)? Thank you, Buzai Andras On Mon, Jul 12, 2010 at 5:35 PM, Timo Sirainen t...@iki.fi wrote: On Mon, 2010-07-12 at 00:09 +0300, Buzai Andras wrote:

Re: [Dovecot] Dovecot deliver with multiple UIDs (security question)

2010-07-12 Thread Charles Marcus
On 2010-07-12 1:20 PM, Buzai Andras wrote: When should I expect the final (production ready) release of Dovecot 2 (an approximate time period)? Sometime between now, and when it is released. ;) This is free software, and is released when it is ready... Since it is at rc2, I think you can

Re: [Dovecot] Dovecot deliver with multiple UIDs (security question)

2010-07-12 Thread Buzai Andras
Hi, I have one more question. It may sound like a dumb question but I'll ask anyway :). Since in Dovecot v2.0, LMTP is running as root isn't this a security risk of the same level as running deliver with sudo in Dovecot v1.2? Thank you, Buzai Andras On Mon, Jul 12, 2010 at 5:35 PM, Timo

Re: [Dovecot] Dovecot deliver with multiple UIDs (security question)

2010-07-12 Thread Timo Sirainen
On Mon, 2010-07-12 at 23:33 +0300, Buzai Andras wrote: I have one more question. It may sound like a dumb question but I'll ask anyway :). Since in Dovecot v2.0, LMTP is running as root isn't this a security risk of the same level as running deliver with sudo in Dovecot v1.2? LMTP runs as

Re: [Dovecot] Dovecot deliver with multiple UIDs (security question)

2010-07-11 Thread Timo Sirainen
On Sat, 2010-07-10 at 12:30 +0300, Buzai Andras wrote: I only call the deliver with sudo from inside Postfix and the sudoer user is only allowed to sudo on the deliver binary. My question is: Is this solution secure? Can It be used on a production environment? What exactly happens in the

Re: [Dovecot] Dovecot deliver with multiple UIDs (security question)

2010-07-11 Thread Buzai Andras
Hi, My master.cf Postfix file contains the following entry for this: dovecot unix - n n - - pipe flags=DRhu user=*mysudoeruser* argv=/usr/bin/sudo /usr/lib/dovecot/deliver -f ${sender} -d ${recipient} When you say that: * Basically the user that calls deliver

[Dovecot] Dovecot deliver with multiple UIDs (security question)

2010-07-10 Thread Buzai Andras
Hi all, I have a question related to using the Dovecot LDA (deliver) with a multiple UID setup as described on the http://wiki.dovecot.org/LDA page in the Multiple UIDs section. I run Postfix (virtual mailboxes) + Dovecot using multiple UIDs (one UID per virtual domain owner). I configured

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-24 Thread Phil Howard
On Fri, May 21, 2010 at 11:17, Charles Marcus cmar...@media-brokers.com wrote: On 2010-05-21 9:04 AM, Phil Howard wrote: Where is the reply to list button on Evolution?  I don't see one there, either.  All it has are reply and reply to all.  The reply sends to the sender alone if it's a case

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-22 Thread Timo Sirainen
On 21.5.2010, at 16.04, Phil Howard wrote: There are a number of posters on the list where the reply goes directly to the list alone. I don't know what it is they do with the headers to get it to come out that way. Maybe you can ask them what they do, then do that.

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-21 Thread Phil Howard
On Thu, May 20, 2010 at 18:45, Noel Butler noel.but...@ausics.net wrote: like you said, you dont really do mail servers Id LOVE to see you try even 100K users in mail server situation that is ever changing, you'd soon open your eyes up. I know it would mean more hits to the DB. The

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-21 Thread Charles Marcus
On 2010-05-21 9:04 AM, Phil Howard wrote: Where is the reply to list button on Evolution? I don't see one there, either. All it has are reply and reply to all. The reply sends to the sender alone if it's a case where there are 2 addresses to send to (reply to all would send to 2 in that

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-21 Thread Stan Hoeppner
Charles Marcus put forth on 5/21/2010 10:17 AM: On 2010-05-21 9:04 AM, Phil Howard wrote: Where is the reply to list button on Evolution? I don't see one there, either. All it has are reply and reply to all. The reply sends to the sender alone if it's a case where there are 2 addresses to

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-20 Thread Phil Howard
On Mon, May 17, 2010 at 17:14, Noel Butler noel.but...@ausics.net wrote: I guess you've never used it with tens and tens of thousands of users, let alone user numbers well into 6 figures and why on gods (or any) earth would I use that load of crap being backed up by another form? that

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-20 Thread Phil Howard
On Tue, May 18, 2010 at 01:46, Eray Aslan eray.as...@caf.com.tr wrote: We use Michael Tokarev's tinycdb: * stable on disk format * has atomic updates * has a tiny library in case you want to link it statically * uses a lot less memory when the process count is large, i.e. scales well *

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-20 Thread Noel Butler
On Thu, 2010-05-20 at 08:54 -0400, Phil Howard wrote: I guess you've been bitten by a proper database solution given your apprehension for using one. It's called experience. I could explain many cases where SQL is overkill and overhead. But I don't do mail

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-17 Thread Phil Howard
On Fri, May 14, 2010 at 17:48, Noel Butler noel.but...@ausics.net wrote: CDB, oh dear god, you want to go back in time? CDB is no better than any other flatfile based system, it was horrible with qmail and it'll be horrible with anything else above a couple thousand users, you clearly dont

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-17 Thread Eray Aslan
On 05/18/2010 12:14 AM, Noel Butler wrote: On Mon, 2010-05-17 at 09:28 -0400, Phil Howard wrote: its your network (I hope for your sake).. its up to you how efficient it is. CDB is very fast. yes it is, if you only have a small number of users. We use Michael

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-14 Thread Phil Howard
On Tue, May 11, 2010 at 19:25, Noel Butler noel.but...@ausics.net wrote: And it did seem to do that already. Mail was sent to dovecot/deliver. It included the domain name. But deliver just didn't construct the mail_location correctly due to %d being empty. The resulting path with the

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-14 Thread Noel Butler
On Fri, 2010-05-14 at 09:05 -0400, Phil Howard wrote: On Tue, May 11, 2010 at 19:25, Noel Butler noel.but...@ausics.net wrote: %d is derived from the right hand side of a username, dovecot's deliver couldn't care less about verifying the domain, since that is the MTA's job. No

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-11 Thread Phil Howard
On Mon, May 10, 2010 at 18:16, Jerry dovecot.u...@seibercom.net wrote: Please post the output of dovecot -n and postconf -n. Better, provide output from the postfinger tool. This can be found at http://ftp.wl0.org/SOURCES/postfinger. I have redacted external IP addresses and domain names.

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-11 Thread Gerard Seibert
On Tue, May 11, 2010 at 9:42 AM, Phil Howard ttip...@gmail.com wrote: On Mon, May 10, 2010 at 18:16, Jerry dovecot.u...@seibercom.net wrote: Please post the output of dovecot -n and postconf -n. Better, provide output from the postfinger tool. This can be found at

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-11 Thread Phil Howard
On Tue, May 11, 2010 at 12:59, Gerard Seibert dovecot.u...@seibercom.netwrote: I have to admit that I am somewhat confused. You have postfix listed as user/group in the dovecot.conf file, yet you have vmail listed as the user in 'master.cf. That doesn't look right. I'm not sure which way

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-11 Thread Phil Howard
On Tue, May 11, 2010 at 12:59, Gerard Seibert dovecot.u...@seibercom.netwrote: Post back if you get this fixed. Bsically, what I need to know from THIS list is exactly what conditions the dovecot/deliver program needs in order to properly fill in the %d variable for mail_location. Once I

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-11 Thread Phil Howard
On Tue, May 11, 2010 at 12:59, Gerard Seibert dovecot.u...@seibercom.netwrote: Virtual documentaion: http://www.postfix.org/virtual.8.html This seems to be a delivery agent of its own. I don't want Postfix to do the delivery. I want Dovecot to do the delivery so it can create the additional

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-11 Thread Bradley Giesbrecht
On May 11, 2010, at 11:26 AM, Phil Howard wrote: On Tue, May 11, 2010 at 12:59, Gerard Seibert dovecot.u...@seibercom.net wrote: Virtual documentaion: http://www.postfix.org/virtual.8.html This seems to be a delivery agent of its own. I don't want Postfix to do the delivery. I want

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-11 Thread Phil Howard
On Tue, May 11, 2010 at 14:38, Bradley Giesbrecht bradley.giesbre...@gmail.com wrote: On May 11, 2010, at 11:26 AM, Phil Howard wrote: On Tue, May 11, 2010 at 12:59, Gerard Seibert dovecot.u...@seibercom.net wrote: Virtual documentaion: http://www.postfix.org/virtual.8.html This

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-11 Thread Noel Butler
On Tue, 2010-05-11 at 16:17 -0400, Phil Howard wrote: On Tue, May 11, 2010 at 14:38, Bradley Giesbrecht bradley.giesbre...@gmail.com wrote: On May 11, 2010, at 11:26 AM, Phil Howard wrote: On Tue, May 11, 2010 at 12:59, Gerard Seibert dovecot.u...@seibercom.net wrote: Virtual

[Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
I'm getting this ... May 10 12:45:01 eth0 postfix/local[3416]: A788D685F7: to= x...@.net, relay=local, delay=13, delays=13/0/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: Can't open log file /var/log/dovecot/error.log: Permission denied ) So I'm looking at

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Romer Ventura
I had to chmod 777 for it to work.. Thanks -- Romer Ventura On May 10, 2010, at 12:33 PM, Phil Howard wrote: I'm getting this ... May 10 12:45:01 eth0 postfix/local[3416]: A788D685F7: to= x...@.net, relay=local, delay=13, delays=13/0/0/0.03, dsn=4.3.0, status=deferred

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Charles Marcus
On 2010-05-10 1:59 PM, Romer Ventura wrote: I had to chmod 777 for it to work.. That's pretty much *never* a reasonable solution. -- Best regards, Charles Marcus I.T. Director Media Brokers International, Inc. 678.514.6200 x224 | 678.514.6299 fax

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
Just realized my email was not going to the list. On Mon, May 10, 2010 at 14:20, Romer Ventura rvent...@h-st.com wrote: I am using static uids: mail_uid = vmail mail_gid = vmail user = vmail group = vmail else it will do what you describe. I have that, too. But it's not running the

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Romer Ventura
What about your postfix conf..? mine is set to: virtual_gid_maps = static:1001 virtual_mailbox_base = /srv/mail/vmail/ virtual_mailbox_domains = $mydomain virtual_mailbox_maps = ldap:/etc/postfix/ldap_users.cf virtual_transport = dovecot virtual_uid_maps = static:1001 Thanks -- Romer Ventura

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
On Mon, May 10, 2010 at 14:42, Charles Marcus cmar...@media-brokers.comwrote: On 2010-05-10 1:59 PM, Romer Ventura wrote: I had to chmod 777 for it to work.. That's pretty much *never* a reasonable solution. Absolutely right! But it's an interim test ... in this case to see what userid

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
On Mon, May 10, 2010 at 14:44, Romer Ventura rvent...@h-st.com wrote: What about your postfix conf..? mine is set to: virtual_gid_maps = static:1001 virtual_mailbox_base = /srv/mail/vmail/ virtual_mailbox_domains = $mydomain virtual_mailbox_maps = ldap:/etc/postfix/ldap_users.cf

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Romer Ventura
Yes, 1001 are the uid and gid in my system, check your /etc/passwd to get the ones for your system. mailbox_command = /usr/lib/dovecot/deliver Thanks -- Romer Ventura On May 10, 2010, at 1:56 PM, Phil Howard wrote: On Mon, May 10, 2010 at 14:44, Romer Ventura rvent...@h-st.com wrote:

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
On Mon, May 10, 2010 at 15:07, Romer Ventura rvent...@h-st.com wrote: I dont know what else. I tried to chwon postfix:postfix, vmail:vmail, postfix:vmail, vmail:postfix and none of them worked. I had to go with chmod 777 I believe that is because Postfix is running dovecot/deliver as

Re: [Dovecot] dovecot/deliver ... Can't open logfile /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Egbert Jan
: maandag 10 mei 2010 21:08 Aan: Dovecot Mailing List Onderwerp: Re: [Dovecot] dovecot/deliver ... Can't open logfile /var/log/dovecot/error.log: Permission denied I dont know what else. I tried to chwon postfix:postfix, vmail:vmail, postfix:vmail, vmail:postfix and none of them worked. I had

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Jerry
On Mon, 10 May 2010 14:06:27 -0500 Romer Ventura rvent...@h-st.com articulated: Yes, 1001 are the uid and gid in my system, check your /etc/passwd to get the ones for your system. mailbox_command = /usr/lib/dovecot/deliver Thanks -- Romer Ventura On May 10, 2010, at 1:56 PM,

Re: [Dovecot] dovecot/deliver ... Can't open logfile /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
On Mon, May 10, 2010 at 15:15, Egbert Jan egb...@vandenbussche.nl wrote: Could it be that selinux or apparmor are playing games with you??? Good idea to check. But I don't have anything in my apparmor setup for either postfix or dovecot. I don't know about Romer Ventura's config. I do know

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
On Mon, May 10, 2010 at 15:25, Jerry dovecot.u...@seibercom.net wrote: From my 'master.cf' file: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${us...@${nexthop} From 'main.cf' file:

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Jerry
On Mon, 10 May 2010 15:35:15 -0400 Phil Howard ttip...@gmail.com articulated: On Mon, May 10, 2010 at 15:25, Jerry dovecot.u...@seibercom.net wrote: From my 'master.cf' file: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
On Mon, May 10, 2010 at 15:58, Jerry dovecot.u...@seibercom.net wrote: See: http://wiki.dovecot.org/LDA/Postfix Be sure to read the entire page. I have a few times. But now I'm getting a bit of a different perspective on part of it. The parameters are: -d username: Destination username.

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Romer Ventura
try using -d ${recipient}, but change the format of the username in dovecot.conf What i did was to set the mail attribute for each user in AD, then perform a query for it and have dovecot group users by domain, this way i can have us...@example.net and us...@example.com Thanks --

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Romer Ventura
man pipe ${nexthop} This macro expands to the next-hop hostname. This information is modified by the h flag for case folding. Thanks -- Romer Ventura On May 10, 2010, at 4:23 PM, Phil Howard wrote: On Mon, May 10, 2010 at 15:25, Jerry

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
On Mon, May 10, 2010 at 17:11, Romer Ventura rvent...@h-st.com wrote: try using -d ${recipient}, but change the format of the username in dovecot.conf What does change the format of the username mean? What i did was to set the mail attribute for each user in AD, then perform a query for

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Phil Howard
On Mon, May 10, 2010 at 17:23, Romer Ventura rvent...@h-st.com wrote: man pipe ${nexthop} This macro expands to the next-hop hostname. This information is modified by the h flag for case folding. But what is next hop? I don't have any next hop

Re: [Dovecot] dovecot/deliver ... Can't open log file /var/log/dovecot/error.log: Permission denied

2010-05-10 Thread Jerry
On Mon, 10 May 2010 17:30:48 -0400 Phil Howard ttip...@gmail.com articulated: On Mon, May 10, 2010 at 17:11, Romer Ventura rvent...@h-st.com wrote: try using -d ${recipient}, but change the format of the username in dovecot.conf What does change the format of the username mean?

[Dovecot] Dovecot deliver LDA problem

2010-05-04 Thread Alex
Hello folks, I was trying to set up Dovecot deliver LDA instead of Postfix default virtual LDA In Postfix main.cf I specified: virtual_transport = dovecot dovecot_destination_recipient_limit = 1 In Postfix master.cf I entered: dovecot unix - n n - - pipe

Re: [Dovecot] Dovecot deliver LDA problem

2010-05-04 Thread mail...@securitylabs.it
Il 04/05/2010 23:14, Alex ha scritto: Hello folks, I was trying to set up Dovecot deliver LDA instead of Postfix default virtual LDA May 04 10:43:10 deliver(some_addr...@some_domain.com): Error: userdb lookup: connect(/var/run/dovecot//auth-master) failed: No such file or directory

Re: [Dovecot] Dovecot deliver LDA problem

2010-05-04 Thread Alex
Thanks for the hint. I enabled 'socket listen' it in dovecot.conf as you pointed it out. Now dovecot.err log has these error messages: May 04 14:57:19 deliver(us...@some_domain.com): Error: User us...@some_domain.com is missing UID (set mail_uid) May 04 14:57:19 deliver(us...@some_domain.com):

Re: [Dovecot] Dovecot deliver LDA problem

2010-05-04 Thread Noel Butler
bugger sent that direct, please send that output to the list :) On Wed, 2010-05-05 at 09:04 +1000, Noel Butler wrote: Alex, Please show the output of dovecot -n On Tue, 2010-05-04 at 15:23 -0700, Alex wrote: Thanks for the hint. I enabled 'socket listen' it in dovecot.conf as

Re: [Dovecot] Dovecot deliver LDA problem

2010-05-04 Thread Alex
Hello Noel, dovecot -n shows this: # 1.2.11: /etc/mail/dovecot.conf # OS: Linux 2.6.32.8-cluster x86_64 openSUSE 11.2 (x86_64) base_dir: /var/run/dovecot/ log_path: /var/log/dovecot.err info_log_path: /var/log/dovecot.info protocols: imaps pop3s listen: 333.33.33.33 ssl_listen: 333.33.33.33

Re: [Dovecot] Dovecot deliver LDA problem

2010-05-04 Thread Noel Butler
Hi, On Tue, 2010-05-04 at 16:14 -0700, Alex wrote: auth default: mechanisms: plain digest-md5 cram-md5 passdb: driver: sql args: /etc/mail/dovecot-sql.conf userdb: driver: prefetch userdb: driver: static args: uid=51 gid=51 You are using MySQL, so have you

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2010-01-19 Thread Timo Sirainen
Does procmail still log the same thing about error writing to..? Maybe a slightly different script: #!/bin/sh file=/tmp/deliver.`date +%s`.$$ cd /tmp cat $file ulimit -c unlimited /opt/dovecot/libexec/dovecot/deliver $* $file code=$? rm $file if [ $code != 0 ]; then echo 'deliver failed'

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2010-01-13 Thread Steve Wagner
Hi Timo, deliver works with the script and ive got some fails while using it, but the script dose not wrote anything. Any further ideas? Steve On 29.12.2009 22:19, Timo Sirainen wrote: On Mon, 2009-12-28 at 14:34 +0100, Steve Wagner wrote: The only error message i have, come from

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2010-01-10 Thread Steve Wagner
Sorry for the late answer, i was quiet busy the time. I now execute the script. I report back when the error occures next time. Steve Am 29.12.2009 22:19, schrieb Timo Sirainen: On Mon, 2009-12-28 at 14:34 +0100, Steve Wagner wrote: The only error message i have, come from procmail.log:

Re: [Dovecot] Dovecot deliver and IMAP - separate user db queries possible?

2010-01-01 Thread Timo Sirainen
On 1.1.2010, at 2.24, Michael wrote: How can I get deliver LDA and IMAP to use separate user DB SQL queries? Currently you can't really. But there's %s variable that expands to either imap or lda. You could do some kind of conditional checking with it. For example: select imap-stuff, .. where

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-29 Thread Tobias Lang
Am 28.12.2009 um 11:55 schrieb Steve Wagner: if header :contains Organization web.de { discard; stop; } This often works, but sometimes it fails. Procmail reports then that deliver reported an error (but not which) and delivers them to my inbox. There are also no message in dovecots or

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-29 Thread Timo Sirainen
On Mon, 2009-12-28 at 14:34 +0100, Steve Wagner wrote: The only error message i have, come from procmail.log: 24918-Folder: /opt/dovecot/libexec/dovecot/deliver 3720 24919-procmail: Error while writing to /opt/dovecot/libexec/dovecot/deliver 24920:From keineantwortadre...@web.de

[Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Steve Wagner
Hi, sometimes mails that i discard via sieve gets delivered to my inbox and i can not figure out why. So i hope you can give me a hint. My setup is: I use a self compiled dovecot 1.2.4 with installed sieve and managesieve plugin. Incoming mails a processed by Postfix and the delivered to

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 11:55 schrieb Steve Wagner: if header :contains Organization web.de { discard; stop; } This often works, but sometimes it fails. Procmail reports then that deliver reported an error (but not which) and delivers them to my inbox. There are also no message in dovecots or

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Steve Wagner
Hi Tobi, yes but it is correct. It should only discard messages that have this header. The sieve filter is larger, this are only the parts witch use discard. Steve Am 28.12.2009 12:25, schrieb Tobias Lang: Am 28.12.2009 um 11:55 schrieb Steve Wagner: if header :contains Organization web.de {

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 13:02 schrieb Steve Wagner: Hi Tobi, yes but it is correct. It should only discard messages that have this header. The sieve filter is larger, this are only the parts witch use discard. Steve Am 28.12.2009 12:25, schrieb Tobias Lang: Am 28.12.2009 um 11:55 schrieb

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Steve Wagner
Ok ive tested it. The sieve script works as expected. The only error message i have, come from procmail.log: 24918-Folder: /opt/dovecot/libexec/dovecot/deliver 3720 24919-procmail: Error while writing to /opt/dovecot/libexec/dovecot/deliver 24920:From keineantwortadre...@web.de Tue

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 14:34 schrieb Steve Wagner: Ok ive tested it. The sieve script works as expected. The only error message i have, come from procmail.log: 24918-Folder: /opt/dovecot/libexec/dovecot/deliver 3720 24919-procmail: Error while writing to

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Steve Wagner
My procmailrc looks like this. I have a lot of my old mail filerings ruls commented out and this is the rest which is active: * 256000 | /usr/bin/spamc -U /var/run/spamd.sock :0 * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\* /dev/null :0w * ^X-Spam-Status: YES |~/.deliver-to-maildir seen .Junk/ :0 *

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 15:09 schrieb Steve Wagner: [snip] :0 w | /opt/dovecot/libexec/dovecot/deliver Looks uncritical to me. Although there is no default rule at the end of .procmailrc, Dovecot deliver and Sieve should reroute everything not catched by a rule to INBOX. Did Procmails VERBOSE=on

Re: [Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

2009-12-28 Thread Tobias Lang
Am 28.12.2009 um 21:51 schrieb Steve Wagner: Sorry it took some time to get in to this failing situation. Procmail log-- procmail: [29952] Mon Dec 28 21:36:33 2009 procmail: Match on 256000 procmail: Locking spamassassin.lock procmail: Executing /usr/bin/spamc,-U,/var/run/spamd.sock

Re: [Dovecot] Dovecot Deliver CPU usage

2009-12-23 Thread Timo Sirainen
On Tue, 2009-12-22 at 10:03 +0530, Aravind Divakaran wrote: Strace with ENOSPC 09:57:39.782569 write(10, T5vfloaIeSOsJdT6IXB146wSWLNKqK\n4v..., 28672) = -1 ENOSPC (No space left on device) .. 09:57:40.708162 unlink(/home/vmail/example.com/user1/tmp/1261456056.M913860P17478.node01) = 0

  1   2   >