Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-21 Thread Sean Kamath
On Jun 19, 2013, at 1:00 AM, Steffen Kaiser skdove...@smail.inf.fh-brs.de wrote: On Fri, 14 Jun 2013, Frerich Raabe wrote: I then usually just run the sieve-test binary (part of the Pigeonhole distribution) and send them the output. However, I was wondering - is there maybe a way for them

Re: [Dovecot] Would attempting plaintext auth repeatably cause a DOS and server to crash?

2013-06-21 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 21 Jun 2013, Hugh Davenport wrote: and a minute later the server lost contact to the world. When I checked a bit later, the underlying host machine (dovecot runs on a VM (KVM)) had been powered off. I cannot believe that a DoS of a guest

Re: [Dovecot] Would attempting plaintext auth repeatably cause a DOS and server to crash?

2013-06-21 Thread Daniel Reinhardt
I doubt that the 1161 log lines would cause the VM to crash. It would potentially cause the logging directory to fill up if you have a small /var partition where the logs are kept and at that point it could potentially freeze the VM, but not cause the host to crash. I think your issue revolves

[Dovecot] LDA Connection Refused with auth-userdb

2013-06-21 Thread Adam Ramirez
Hi there, I've encountered an issue with the LDA in which I get a Connection refused error. There is a serverfault question ( http://serverfault.com/questions/517262/dovecot-with-postfix-configuration-has-connection-refused-when-accessing-auth) if you would like to read that version, otherwise,

Re: [Dovecot] LDA Connection Refused with auth-userdb

2013-06-21 Thread Luca Fornasari
On Fri, Jun 21, 2013 at 12:54 PM, Adam Ramirez smad...@gmail.com wrote: --- dovecot: lda: Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Connection refused [...] unix_listener auth-userdb { group = vmail mode = 0644 user = vmail } File permissions

Re: [Dovecot] LDA Connection Refused with auth-userdb

2013-06-21 Thread Adam Ramirez
Yes, dovecot and postfix are both restarted on each change I make to the config files. On Fri, Jun 21, 2013 at 1:40 PM, Luca Fornasari luca.fornas...@gmail.comwrote: On Fri, Jun 21, 2013 at 12:54 PM, Adam Ramirez smad...@gmail.com wrote: --- dovecot: lda: Error: userdb lookup:

[Dovecot] Config for master user in dovecot 1.1.20

2013-06-21 Thread izul
Hi folks.. Im planning to migrate my mail server using imapsync.I need master user in my dovecot 1.1.20.Im so blind about this.Anybody can help me? Below is my 'dovecot -n' : ### [root@mail etc]# dovecot -n # 1.1.20: /etc/dovecot.conf # OS: Linux 2.6.18-194.8.1.el5 i686 CentOS release

Re: [Dovecot] Config for master user in dovecot 1.1.20

2013-06-21 Thread Reindl Harald
Am 21.06.2013 06:30, schrieb izul: Im planning to migrate my mail server using imapsync.I need master user in my dovecot 1.1.20.Im so blind about this.Anybody can help me? why in the world is someone installing 1.1 in 2013 on a new server while current version is 2.2.3 and virtually nobody

Re: [Dovecot] Config for master user in dovecot 1.1.20

2013-06-21 Thread A.L.E.C
On 06/21/2013 03:21 PM, Reindl Harald wrote: Am 21.06.2013 06:30, schrieb izul: Im planning to migrate my mail server using imapsync.I need master user in my dovecot 1.1.20.Im so blind about this.Anybody can help me? why in the world is someone installing 1.1 in 2013 on a new server

Re: [Dovecot] Config for master user in dovecot 1.1.20

2013-06-21 Thread lst_hoe02
Zitat von izul izul_2...@yahoo.com: Hi folks.. Im planning to migrate my mail server using imapsync.I need master user in my dovecot 1.1.20.Im so blind about this.Anybody can help me? Below is my 'dovecot -n' : http://wiki1.dovecot.org/Authentication/MasterUsers ??? Regards Andreas

[Dovecot] doveadm move command

2013-06-21 Thread vincent truc
Hello I want to transfer an email from us...@domain.com to put it in a folder of another user: us...@domain.com For that, it seems to me appropriate to use 'doveadm move' command, but I can not get the right result. Can you help me? syntax: doveadm move [-u user|-A] [-S socket_path]

Re: [Dovecot] Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect

2013-06-21 Thread Ben Johnson
On 6/20/2013 5:58 PM, Joseph Tam wrote: Ben Johnson writes: It really boils-down to the fact that I can call the following on the command-line and it functions as expected: su vmail -c '/usr/lib/dovecot/deliver -a sa-train...@example.com -d sa-train...@example.com -m Training.SPAM -p

Re: [Dovecot] Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect

2013-06-21 Thread Ben Johnson
On 6/20/2013 10:00 PM, Bob Miller wrote: Hi Ben, Maybe using something like set -e to try and get some output from the script? Adding the -e switch doesn't seem to produce any output, either. To be clear, I meant putting the line: set -e near the top of your script. I

Re: [Dovecot] Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect

2013-06-21 Thread Mrten
On 21/6/2013 19:34 , Ben Johnson wrote: Please do reply if you have any additional thoughts. I'm at my wit's end here! When all else failes, use strace -f -F :) (add it in front of the deliver call and expect LOTS of output) Maarten.

Re: [Dovecot] Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect

2013-06-21 Thread Ben Johnson
On 6/21/2013 3:01 PM, Mrten wrote: On 21/6/2013 19:34 , Ben Johnson wrote: Please do reply if you have any additional thoughts. I'm at my wit's end here! When all else failes, use strace -f -F :) (add it in front of the deliver call and expect LOTS of output) Maarten. YES!

Re: [Dovecot] Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect

2013-06-21 Thread Ben Morrow
At 1PM -0400 on 21/06/13 you (Ben Johnson) wrote: On 6/20/2013 10:00 PM, Bob Miller wrote: It really boils-down to the fact that I can call the following on the command-line and it functions as expected: su vmail -c '/usr/lib/dovecot/deliver -a sa-train...@example.com -d

Re: [Dovecot] Sieve file permission problem

2013-06-21 Thread Daniel Parthey
Am 20.06.2013 10:16, schrieb Zoltan Lippai: Thanks for the answer, I'm not sure what you mean by the additional permission details. Here is a quick example: /var/mail/domainname.hu/zolcsi chmod: 700, owner: vmail:mail After I set the initial sieve filters, the following file and directory gets

Re: [Dovecot] Pound Sign # in password

2013-06-21 Thread Pascal Volk
On 06/19/2013 04:11 AM Jackie Lowery wrote: Is there any way to use a pound sign # in my postfix user password in the dovecot sql configuration file. ,--[ http://wiki2.dovecot.org/AuthDatabase/SQL#MySQL ]-- | Use host= ... pass=foo#bar if your password has '#' character `-- Regards, Pascal --

Re: [Dovecot] Pound Sign # in password

2013-06-21 Thread Jackie Lowery
I figured it out a few days ago. I didn't see that wiki. Thanks for the help though. On Fri, Jun 21, 2013 at 3:39 PM, Pascal Volk user+dove...@localhost.localdomain.org wrote: On 06/19/2013 04:11 AM Jackie Lowery wrote: Is there any way to use a pound sign # in my postfix user password in

Re: [Dovecot] Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect

2013-06-21 Thread Ben Johnson
Ben Morrow, thanks for your reply. I sent an update on the issue shortly before you sent this reply. The issue is that the vmail user lacks the rights required to read Dovecot's configuration file (at least that's what I gather from the message obtained with strace). But for the sake of

Re: [Dovecot] Sieve Plugin Setup

2013-06-21 Thread Daniel Parthey
Hi Denny, Am 20.06.2013 05:21, schrieb Denny Jones: I've got an existing setup that I want to add Sieve filtering to. I'm on QmailToaster: qmailadmin-toaster-1.2.16-1.4.0 I using Dovecot version 2.0.11 I'm looking for a good tutorial for installing Sieve Rules functionality on an existing

Re: [Dovecot] Sieve file permission problem

2013-06-21 Thread Thomas Harold
On 6/20/2013 4:16 AM, Zoltan Lippai wrote: Thanks for the answer, I'm not sure what you mean by the additional permission details. If you have SELinux in Enforcing mode, you should also look at using ls -lZ to get the file context. You can also use selart -a /var/log/audit/audit.log to see

[Dovecot] tables between dovecot and postfix and a paradoxical question

2013-06-21 Thread Mohsen Pahlevanzadeh
Dear all, I read we create the following table in wiki2 : CREATE TABLE users ( userid VARCHAR(128) NOT NULL, domain VARCHAR(128) NOT NULL, password VARCHAR(64) NOT NULL, home VARCHAR(255) NOT NULL, uid INTEGER NOT NULL, gid INTEGER NOT NULL ); But i read the following

Re: [Dovecot] tables between dovecot and postfix and a paradoxical question

2013-06-21 Thread Bradley Giesbrecht
On Jun 21, 2013, at 4:25 PM, Mohsen Pahlevanzadeh wrote: Dear all, I read we create the following table in wiki2 : CREATE TABLE users ( userid VARCHAR(128) NOT NULL, domain VARCHAR(128) NOT NULL, password VARCHAR(64) NOT NULL, home VARCHAR(255) NOT NULL, uid INTEGER NOT

Re: [Dovecot] Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect

2013-06-21 Thread Joseph Tam
Ben Johnson b...@indietorrent.org writes: I added debugging output to the script, which now prints the environment variables. My script now outputs the following: ... CONFIG_FILE=/var/run/dovecot/config ... Does anything jump-out at you? You didn't provide the analogous output from the

Re: [Dovecot] Config for master user in dovecot 1.1.20

2013-06-21 Thread Nick Edwards
On 6/21/13, A.L.E.C a...@alec.pl wrote: On 06/21/2013 03:21 PM, Reindl Harald wrote: Am 21.06.2013 06:30, schrieb izul: Im planning to migrate my mail server using imapsync.I need master user in my dovecot 1.1.20.Im so blind about this.Anybody can help me? why in the world is someone

Re: [Dovecot] Config for master user in dovecot 1.1.20

2013-06-21 Thread Reindl Harald
Am 22.06.2013 03:02, schrieb Nick Edwards: Save your breath, Harald is just a complete abrasive jagoff, on this and every other list, I know for a fact that he is one step from being banned off the apache lists you know for a fact *what*? there are very very few posts from me on the apache