[Dovecot] Is this really a user agent issue?

2010-12-21 Thread Phil Howard
I suspect this is a user agent issue, given that Evolution is flaky in so many areas. When I deliver mail to a subfolder/subbox (e.g. the -m option in the deliver command), and Evolution doesn't know of it, yet, creating it fails, and Evolution still can't get to it. Doing things the other way ar

[Dovecot] Moving email between folders outside of IMAP context

2010-12-21 Thread Phil Howard
I'd like to run a script from cron that will scan certain mailboxes and move selected mail from one folder (usually INBOX) to another folder. The basic idea is to move previously detected spam based on headers prepended to the mail. Since I am not able to figure out how to get Postfix to invoke d

Re: [Dovecot] Moving email between folders outside of IMAP context

2010-12-21 Thread Phil Howard
On Tue, Dec 21, 2010 at 16:41, Tom Hendrikx wrote: > Do not use an external script, but add a global sieve script that sorts > messages into some directory, based on your preferred header. How does that get executed. I take it I can't do it via cron. Does it run at deliver time for each mail m

Re: [Dovecot] Moving email between folders outside of IMAP context

2010-12-21 Thread Phil Howard
On Tue, Dec 21, 2010 at 17:09, Tom Hendrikx wrote: > I am not familiar with Ubuntu specifics, but iirc Stephan Bosch (creator > of sieve plugin) has a repo with debian builds of dovecot+sieve. I would need something that is sieve only, as Dovecot is already installed, configured, and running. I

Re: [Dovecot] Moving email between folders outside of IMAP context

2010-12-21 Thread Phil Howard
On Tue, Dec 21, 2010 at 17:41, Tom Hendrikx wrote: > That software is already written and tested, it is the sieve plugin. If > you're willing to write, test and run a complete new piece of software, > you might as well replace dovecot with a sieve enabled version of the > same package you're runn

Re: [Dovecot] Is this really a user agent issue?

2010-12-22 Thread Phil Howard
2010/12/21 Karsten Bräckelmann : > Creating the new mail folder is entirely on the IMAP server side. The > MUA (Evolution in your stated case) is irrelevant. If the creation of > the new folder fails, it is a server side problem. > > However, once a new folder has been created (server side, mind y

[Dovecot] trying to make cmusieve happen globally

2010-12-22 Thread Phil Howard
In Dovecot 1.1.11 cmusieve is apparently integrated in the Ubuntu 9.10 package "dovecot-common" since the files are there. I am wanting to right now just do a very basic test of the setup to see how it runs before doing more sophisticated steps that could obscure any errors or bugs (e.g. unit test

Re: [Dovecot] trying to make cmusieve happen globally

2010-12-22 Thread Phil Howard
On Wed, Dec 22, 2010 at 11:46, Anton Dollmaier wrote: >> plugin { >>         sieve_global_path = /etc/dovecot/sieve-global.d/spam.sieve > > Use "sieve_before", which is not documented in the wiki. Changed. > > Only this way the sievescript really gets executed. > > > The global path requires a

Re: [Dovecot] trying to make cmusieve happen globally

2010-12-22 Thread Phil Howard
On Wed, Dec 22, 2010 at 13:12, Stephan Bosch wrote: > Op 22-12-2010 17:46, Anton Dollmaier schreef: >>> plugin { >>>         sieve_global_path = /etc/dovecot/sieve-global.d/spam.sieve >> >> Use "sieve_before", which is not documented in the wiki. > > Eh.. no. CMUSieve does not have multiscript su

Re: [Dovecot] trying to make cmusieve happen globally

2010-12-22 Thread Phil Howard
On Wed, Dec 22, 2010 at 13:27, Thomas Leuxner wrote: > May be a good idea to post some snippets of the actual Postfix delivery > attempts just to make sure it really uses the external LDA. You can also > crank up 'mail_debug = yes' to log more verbosely. IIRC it should show CMU > Sieve warning

Re: [Dovecot] trying to make cmusieve happen globally

2010-12-22 Thread Phil Howard
On Wed, Dec 22, 2010 at 13:28, Stephan Bosch wrote: > Op 22-12-2010 19:12, Phil Howard schreef: >> >> On Wed, Dec 22, 2010 at 11:46, Anton Dollmaier >>  wrote: >> >>>> plugin { >>>>         sieve_global_path = /etc/dovecot/sieve-global.d/

Re: [Dovecot] trying to make cmusieve happen globally

2010-12-22 Thread Phil Howard
On Wed, Dec 22, 2010 at 13:28, Stephan Bosch wrote: > Op 22-12-2010 19:12, Phil Howard schreef: >> Do I need to have per-user sieves set up, too, just to get it to work? > > No. I did some debugging. It looks like I do need to h

Re: [Dovecot] Is this really a user agent issue?

2010-12-23 Thread Phil Howard
I think this issue has been entirely misunderstood. Have I explained it wrong? 2010/12/22 Karsten Bräckelmann : > On Wed, 2010-12-22 at 09:34 -0500, Phil Howard wrote: >> 2010/12/21 Karsten Bräckelmann : >> >> > Creating the new mail folder is entirely on the IMAP s

Re: [Dovecot] Is this really a user agent issue?

2010-12-23 Thread Phil Howard
On Thu, Dec 23, 2010 at 10:27, David Warden wrote: > Out of curiosity, are you using the "autosubscribe" feature of Dovecot LDA > to automatically subscribe people who whatever new folder the Dovecot LDA > automatically creates? It looks like this is the -s flag to LDA binary in > 1.1.3+ or lda_ma

Re: [Dovecot] Is this really a user agent issue?

2010-12-23 Thread Phil Howard
On Thu, Dec 23, 2010 at 12:28, Charles Marcus wrote: > On 2010-12-23 10:27 AM, David Warden wrote: >> I know Thunderbird can be difficult when it comes to new folders showing >> up on the server that it didn't create. > > Main reason I always uncheck the 'show only subscribed folders' option > in

Re: [Dovecot] Is this really a user agent issue?

2010-12-27 Thread Phil Howard
On Thu, Dec 23, 2010 at 17:08, Willie Gillespie wrote: > Phil Howard wrote: >> >> I think this issue has been entirely misunderstood.  Have I explained it >> wrong? > > I think there's been a bit of confusion here.  Everyone is saying similar > things in sl

[Dovecot] re-indexing moved mail

2011-01-04 Thread Phil Howard
I have a huge block of email that was misdelivered into the wrong folder. Moving it where it should be is not just all from one folder to being all of another folder. Basically, the index files need to be rebuilt. Looking in the wiki I cannot find how to do this. It all seems to be about instal

[Dovecot] case (non-)sensitivity for folder names

2011-01-05 Thread Phil Howard
Is IMAP supposed to be case sensitive or case in-sensitive? It seemed it would be case sensitive because I've had different cases of folders. But today I found I had two folders "Spam" and "spam", with directories ".INBOX.Spam" and ".INBOX.spam" on the server. Messages existed in each directory

Re: [Dovecot] case (non-)sensitivity for folder names

2011-01-05 Thread Phil Howard
On Wed, Jan 5, 2011 at 12:05, Timo Sirainen wrote: > On Wed, 2011-01-05 at 10:09 -0500, Phil Howard wrote: >> Is IMAP supposed to be case sensitive or case in-sensitive? > > Case sensitive, except for INBOX. (Or if the server is using > case-insensitive filesystem then they&#

Re: [Dovecot] case (non-)sensitivity for folder names

2011-01-05 Thread Phil Howard
On Wed, Jan 5, 2011 at 13:20, Timo Sirainen wrote: > On 5.1.2011, at 19.33, Phil Howard wrote: > >> On Wed, Jan 5, 2011 at 12:05, Timo Sirainen wrote: >>> On Wed, 2011-01-05 at 10:09 -0500, Phil Howard wrote: >>>> Is IMAP supposed to be case sensitive or case in-

Re: [Dovecot] case (non-)sensitivity for folder names

2011-01-05 Thread Phil Howard
On Wed, Jan 5, 2011 at 16:10, Timo Sirainen wrote: > On 5.1.2011, at 23.04, Phil Howard wrote: > >> But if for INBOX names are case IN-sensitive, then there will be >> confusion because anything obeying that concept would see "Inbox >> >> spam" and "I

[Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
I'm setting up a Postfix and Dovecot combination. What I want to do is have a user database that (1) is not running from some engine (so not LDAP or SQL or such) ... and (2) is completely disassociated from system users (e.g. most email users are not in /etc/passwd and most /etc/passwd users are n

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
On Wed, Apr 21, 2010 at 10:47 AM, Patrick Nagel wrote: > I think /etc/passwd is as close as it gets to your requirements... why not > just add the users as system users, and set their shell to /bin/false? > There would be conflicts in this, especially with multiple domain names (sorry, forgot to

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
On Wed, Apr 21, 2010 at 10:58 AM, Peter Hessler wrote: > postfix: > > smtpd_sasl_type = dovecot > smtpd_sasl_path = private/auth > > > dovecot: > > auth default { > socket listen { >client { > path = /var/spool/postfix/private/auth > user = _postfix > group = wheel > mode

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
On Wed, Apr 21, 2010 at 1:30 PM, Rodolfo Gonzalez wrote: > Phil Howard escribió: > > On Wed, Apr 21, 2010 at 10:47 AM, Patrick Nagel > >wrote: >> >> I think /etc/passwd is as close as it gets to your requirements... why >>> not >>> just add the

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
On Wed, Apr 21, 2010 at 3:30 PM, Thomas Leuxner wrote: > I'm running a setup that should be good enough for what you are trying to > achieve. All user information is stored in flat files per domain and you may > override per user settings individually: > > passdb { > args = username_format=%u /v

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-22 Thread Phil Howard
On Wed, Apr 21, 2010 at 5:45 PM, Heiko Schlittermann wrote: > Hello Phil, > > Phil Howard (Mi 21 Apr 2010 16:32:36 CEST): > > I'm setting up a Postfix and Dovecot combination. What I want to do is > have > > a user database that (1) is not running from some engine

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 3:33 AM, Thomas Leuxner wrote: > On Wed, Apr 21, 2010 at 04:34:30PM -0400, Phil Howard wrote: > > > userdb { > > > args = username_format=%u /var/vmail/auth.d/%d/passwd > > > driver = passwd-file > > > } > > What does it ta

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 7:12 AM, Rainer Frey wrote: > This is wrong. The auth service is not queried for recipient, only for > valid > SASL users (that connect to the submission service as *senders*). I'm > talking > about determining valid *recipients* for the virtual_mailbox_domains. > That's

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 5:42 AM, Thomas Leuxner wrote: > On Thu, Apr 22, 2010 at 11:18:09AM +0200, Rainer Frey wrote: > > What I don't see here at all (and neither in your Wiki Howto) is how > Postfix > > determines the valid recipients for the domains in > virtual_mailbox_domains. > > Postfix wi

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 10:43 AM, Rainer Frey wrote: > If you can't wait for Dovecot 2.0, you need to use dovecot deliver, but you > should set it up as a pipe transport in master - see > http://wiki.dovecot.org/LDA/Postfix for virtual users. mailbox_command > again > is for real system users onl

Re: [Dovecot] best choice of user database file to work with postfix

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 12:12 PM, Jerry wrote: > On Thu, 22 Apr 2010 17:03:00 +0200 > Rainer articulated: > > > Well, it leaves out the *one tricky part* of using a flat file > > database for virtual users with dovecot and postfix: there is no > > common format that both understand directly. > >

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 12:07 PM, Jim Trigg wrote: > On Thu, Apr 22, 2010 at 09:48:36AM -0400, Phil Howard wrote: > > The ideal would be a complete mail server package that handled it all in > one > > ... SMTP, submission, IMAP(S), POP3(S). But what I've seen as attempts

Re: [Dovecot] best choice of user database file to work with postfix

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 12:40 PM, Jerry wrote: > On Thu, 22 Apr 2010 12:18:41 -0400 > Phil articulated: > > > The administration is going to be handed off to less technical > > people, and my goal is to mimize the number of elements in this. > > It's not about MySQL itself ... it's about not run

Re: [Dovecot] best choice of user database file to work with postfix

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 3:12 PM, Stan Hoeppner wrote: > With this many lookup table types supported by Postfix, is it true that it > has no "simple" table type in common with Dovecot? > There are some ... like mysql for example. The ones I call "simple" are ones that have a single file in some r

Re: [Dovecot] best choice of user database file to work with postfix

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 4:31 PM, Arne K. Haaje wrote: Have you looked into Postfix Admin? http://postfixadmin.sourceforge.net/ > > It might be a good solution for you. I'm using it for a a growing database > of users and I'm very happy with it. The setup with postfix, dovecot and > mysql was quit

Re: [Dovecot] best choice of user database file to work with postfix

2010-04-22 Thread Phil Howard
On Thu, Apr 22, 2010 at 5:19 PM, Stan Hoeppner wrote: > One nice thing about Postfix is that the documentation is _very_ thorough, > even if sometimes hard to digest. > Yes, I would agree. Sometimes a twisty maze of passages, but you can eventually find things. Good luck, and please keep us up

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-23 Thread Phil Howard
On Fri, Apr 23, 2010 at 2:49 AM, Rainer Frey wrote: > On Thursday 22 April 2010 18:15:18 Phil Howard wrote: > [ ... all standard stuff that is well documented ... ] > > > 5. Passwords stored encrypted, such as MD5. And it should be a scheme > > that both Postfix and Dovec

Re: [Dovecot] best choice of user database file to work with postfix

2010-04-23 Thread Phil Howard
On Fri, Apr 23, 2010 at 3:45 AM, Ed W wrote: You need to look at where you are going with this One way or another you > need a database - call it a banana if you prefer, but it's still a database > whether it's a flat file or a BDB file or whatever > One must be careful with the term "databa

Re: [Dovecot] best choice of user database file to work with postfix

2010-04-23 Thread Phil Howard
On Fri, Apr 23, 2010 at 5:23 AM, Ed W wrote: > P.S. The "idiot" who kept breaking the plain text format file in my > original setup was da da ... me ... So given I think of myself as > reasonably technical, I would claim that text format "databases" are way > more fragile than you might exp

[Dovecot] order of variable modifiers

2010-04-23 Thread Phil Howard
I'd like to have a variable substitute take the domain name part, lower case it, MD5 it, and take a 2-character substring of that. Would that be like %2MLd ? The documentation on the H hash modifier described reversing with R, but expresses it at %3RHu which seems to me like it would be reversing

[Dovecot] adding users to passwd-file

2010-04-26 Thread Phil Howard
Is there a tool equivalent to the system "passwd" command (or maybe "adduser" or "useradd") that can support a passwd-file by setting a password, encrypting it with the salted MD5 scheme? The system "passwd" command doesn't have an option to "do it to this alternate file instead of /etc/shadow".

Re: [Dovecot] adding users to passwd-file

2010-04-26 Thread Phil Howard
On Mon, Apr 26, 2010 at 4:38 PM, Heiko Schlittermann wrote: > Some people use „htpasswd“, but there not password scheme is coded into > the password hash. > > It's not clear what you're seeking - some tool for generating the hashed > string (e.g. „openssl passwd -1 "$cleartext"“) or some tool for

Re: [Dovecot] CDB Authentication database

2010-05-03 Thread Phil Howard
I'd be interested in this, too. It might be a nicer way for smaller sites to share between Dovecot and Postfix. CDB is a read-only (C meaning constant) dictionary file designed by DJB. To update it, build a new one and swap. Alternatively, use 2 or more DBs with the CDB having the bulk of infor

[Dovecot] log_path and info_log_path - ownership of parent directory

2010-05-06 Thread Phil Howard
The Ubuntu package didn't create the directory for these. What ownership/permissions are needed for it? Does it need to be owned by the dovecot user?

Re: [Dovecot] adding users to passwd-file

2010-05-06 Thread Phil Howard
Where can I find documentation on this command? There is no "man dovecotpw" installed, and searching for "dovecotpw" on the wiki gives 4 pages that mention its existance. Just executing the command with no options gives a password prompt that cannot be broken out of (had to kill from another term

[Dovecot] disable plaintext auth ... only for some addresses

2010-05-06 Thread Phil Howard
I'd like to disable plaintext authentication (e.g. only allow authentication that does STARTTLS or connects on SSL/TLS only ports) only for certain (most) IP addresses. I want to exempt a few addresses (users coming over known VPNs). Fortunately, all this is coming in over a firewall (Sonicwall)

[Dovecot] dovecotpw documentation

2010-05-07 Thread Phil Howard
Where can I find documentation on how to use the "dovecotpw" program that I was referred to? No man page. No wiki. Very little from "dovecotpw -h". What I need to do is generate the "passwd-file" contents with an MD5 scheme (the one equivalent to /etc/shadow is preferred).

Re: [Dovecot] Requiring STARTTLS only on some networks

2010-05-07 Thread Phil Howard
On Fri, May 7, 2010 at 10:26, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > > By default "disable_plaintext_auth = yes" is set, in all Dovecot > versions. > With Dovecot v2.0 you can put something like the following in your > dovecot.conf: > > remote 192.168.111.0/24 { > disable

[Dovecot] wrong config file?

2010-05-07 Thread Phil Howard
The sample provided config file (the one I started with by editing it) included the following text: # -- WARNING --- > > # If there's a file /etc/dovecot/dovecot-postfix.conf, which is part of > # dovecot-postfix package, it will be used inst

Re: [Dovecot] Requiring STARTTLS only on some networks

2010-05-07 Thread Phil Howard
On Fri, May 7, 2010 at 11:07, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 05/07/2010 04:35 PM Phil Howard wrote: > > > Do you know if the remote address gets passed from Postfix on to Dovecot > > through the authentication connection (w

Re: [Dovecot] wrong config file?

2010-05-07 Thread Phil Howard
On Fri, May 7, 2010 at 11:43, Dennis Guhl wrote: > Ubuntu is using dovecot-postfix.conf as the working config file if you > install the package 'dovecot-postfix' from the Ubuntu server team. But > if you install the seperate packages 'dovecot-[common|imapd|pop3d]' > dovecot.conf will be used. >

[Dovecot] CRYPT scheme and 8 character limit

2010-05-07 Thread Phil Howard
I've decided that having users supply cleartext passwords for me to encrypt and encode is a bad idea, anyway. So maybe I won't need dovecotpw. The idea is that users supply an already-encrypted password. Most of the users can fetch their login password from /etc/shadow on their own computer. Wi

Re: [Dovecot] CRYPT scheme and 8 character limit

2010-05-07 Thread Phil Howard
On Fri, May 7, 2010 at 15:11, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 05/07/2010 08:16 PM Phil Howard wrote: > > I've decided that having users supply cleartext passwords for me to > encrypt > > and encode is a bad idea, anyway. So maybe

Re: [Dovecot] CRYPT scheme and 8 character limit

2010-05-07 Thread Phil Howard
On Fri, May 7, 2010 at 15:11, Pascal Volk < user+dove...@localhost.localdomain.org > wrote: > On 05/07/2010 08:16 PM Phil Howard wrote: > > I've decided that having users supply cleartext passwords for me to > encrypt > > and encode is a bad idea, anyway. So maybe

Re: [Dovecot] wrong config file?

2010-05-10 Thread Phil Howard
On Fri, May 7, 2010 at 17:45, Dennis Guhl wrote: > You can also give the full command here instead a transport name > defined in the master.cf. And you append all parameters directly > behind the command. > So I can do it either way? I would prefer in main.cf if that is sufficient.

Re: [Dovecot] wrong config file?

2010-05-10 Thread Phil Howard
On Fri, May 7, 2010 at 11:43, Dennis Guhl wrote: > Ubuntu is using dovecot-postfix.conf as the working config file if you > install the package 'dovecot-postfix' from the Ubuntu server team. But > if you install the seperate packages 'dovecot-[common|imapd|pop3d]' > dovecot.conf will be used. > >

[Dovecot] configuration user= or auth_user=

2010-05-10 Thread Phil Howard
The sample config file has: # User to use for the process. This user needs access to only user and # password databases, nothing else. Only shadow and pam authentication # requires roots, so use something else if possible. Note that passwd # authentication with BSDs internally accesses sha

[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 h

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 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 right 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:42, Charles Marcus wrote: > 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 the created file would

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 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 > virtual_transport = d

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 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 username derived fr

[Dovecot] %d is empty in mail_location

2010-05-10 Thread Phil Howard
I have this in dovecot-postfix.conf: mail_location = maildir:/home/mail/dnamesum=%12MLd/dname=%Ld/unamesum=%12MLn/uname=%Ln/mail Yes, it is excessive, but that's just for testing. The pattern I really want is less clear for debugging. In postfix/main.cf I have: mailbox_command = /usr/lib/dovec

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 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 the error trying to op

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 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: (snippet) > > virtual_gid_

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 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 : Destination username. If given, the user information

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 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: (snippet) > > virtual_gid_m

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 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 it and have

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 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 that I'm awa

Re: [Dovecot] %d is empty in mail_location

2010-05-11 Thread Phil Howard
On Tue, May 11, 2010 at 04:00, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mon, 10 May 2010, Phil Howard wrote: > > u...@domain address. The problem is that %d and %Ld are coming up as >> empty, >> and %12MLd is giving me the fir

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 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. from dovecot -n: #

Re: [Dovecot] %d is empty in mail_location

2010-05-11 Thread Phil Howard
So what I am wondering, right now, is where the value for %d ... as used in mail_location ... comes from when running in dovecot/deliver. Apparently it is not getting anything through that means. Not know where it gets it from, I don't know where to look to see what is misconfigured.

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 wrote: > 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 things are supposed t

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 wrote: > 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 know that ... know exactly w

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 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 Dovecot to do the delivery so it can create the additional cache/index files (whate

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 > >wrote: >> >> Virtual documentaion: http://www.postfix.org/virtua

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 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 > > empty spac

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Wed, May 12, 2010 at 04:20, Steffen Kaiser wrote: > > actually it looks like, nobody uses passwd-file like you do :) > This aspect can be changed, if needed. If needed, one big file with u...@domain in the first colon-separated field would be doable, too. > The doc at http://wiki.dovecot.

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Wed, May 12, 2010 at 04:20, Steffen Kaiser wrote: > Could you verify that the domain gets stripped by setting mail_debug, > auth_verbose and auth_debug? > Where would I see the results of this?

Re: [Dovecot] dovecot 2.0 vs. SELinux

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 08:10, Michal Hlavinka wrote: > Does anyone know what happens here? Why dovecot tries to use regular file > dovecot.conf as socket? There is probably some magic in it (from my pov) > which > I don't understand. > I don't see that happening with mine. That sure doesn't m

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 12:47, Thomas Leuxner wrote: > Am 14.05.2010 um 17:05 schrieb Phil Howard: > > > On Wed, May 12, 2010 at 04:20, Steffen Kaiser < > skdove...@smail.inf.fh-brs.de > >> wrote: > > > >> Could you verify that the domain gets strippe

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 13:30, Thomas Leuxner wrote: > Am 14.05.2010 um 19:25 schrieb Phil Howard: > > > Nothing new is showing up when I test sending some mail through (which > does get delivered to that path constructed with an empty string for %). > > > > Which ver

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 14:00, Thomas Leuxner wrote: > Am 14.05.2010 um 19:51 schrieb Phil Howard: > > > It is the version packaged in Ubuntu 9.10 … > > This one is ancient. Also it has configuration syntax changes compared to > the latest production release. Anyway the de

Re: [Dovecot] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 14:06, Thomas Leuxner wrote: > Am 14.05.2010 um 20:03 schrieb Phil Howard: > > > I've been thinking that as soon as I get this working, I will plan a > transition over to a newer server with Slackware instead of Ubuntu. > Slackware is easie

[Dovecot] [SOLVED] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Mon, May 10, 2010 at 15:21, Phil Howard wrote: > I have this in dovecot-postfix.conf: > > mail_location = > maildir:/home/mail/dnamesum=%12MLd/dname=%Ld/unamesum=%12MLn/uname=%Ln/mail > > Yes, it is excessive, but that's just for testing. The pattern I really &

Re: [Dovecot] [SOLVED] %d is empty in mail_location

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 15:51, Alex Baule wrote: > Add in your auth,conf configuration: > > auth_default_realm = [your domain] > Which domain goes there? I have many.

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 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 add/del users all the

Re: [Dovecot] [SOLVED] %d is empty in mail_location

2010-05-17 Thread Phil Howard
On Sat, May 15, 2010 at 10:10, Charles Marcus wrote: > On 2010-05-14 3:52 PM, Phil Howard wrote: > > On Fri, May 14, 2010 at 15:51, Alex Baule wrote: > >> Add in your auth,conf configuration: > >> > >> auth_default_realm = [your domain] > > > Which d

Re: [Dovecot] [SOLVED] %d is empty in mail_location

2010-05-17 Thread Phil Howard
On Sat, May 15, 2010 at 10:22, Charles Marcus wrote: > On 2010-05-14 3:37 PM, Phil Howard wrote: > > There was a typo in an earlier config item: > > > > auth_username_format = %...@ld > > I looked back in this thread and don't see any post where you provided &

Re: [Dovecot] [SOLVED] %d is empty in mail_location

2010-05-17 Thread Phil Howard
On Mon, May 17, 2010 at 10:56, Charles Marcus wrote: > On 2010-05-17 9:34 AM, Phil Howard wrote: > > On Sat, May 15, 2010 at 10:10, Charles Marcus wrote: > >> On 2010-05-14 3:52 PM, Phil Howard wrote: > >>> On Fri, May 14, 2010 at 15:51, Alex Baule > wrote:

[Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
I'm looking for an IMAP testing tool, suitable to use with Dovecot IMAP. It needs to support TLS, STARTTLS, and login/authentication. It needs to be able run from command line, shell scripts, and even do so under cron jobs (e.g. a way to supply the password to use w/o a terminal prompt). Typical

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 10:17, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On Tue, 18 May 2010, Phil Howard wrote: > > Anyone ever heard of such a tool? Open source would be preferred (better >> > > http://search.cpan.org/sea

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 11:42, Hugo Monteiro wrote: > Replying myself in this one. Should have looked a bit further into it. > > > http://imapwiki.org/ImapTest What I'm looking for is not something that just tries commands. What I want to do is actually try to pick up mail and store it in some

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 13:17, Mark Moseley wrote: > I haven't used it much but it looked useful: > http://bc-bd.org/blog/imapfoo/ > Hmmm. That (inserting mail into folders) can have it uses. But I'm really looking for something to do, in a very basic way, what is expected of an IMAP client, w

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 15:50, Timo Sirainen wrote: > imaptest actually allows something similar to that. It has possibility to > "expect" kind of scripts where it sends some commands and expects something > specific in return. There's a tests/ directory that tests a lot of imap > commands replie

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Phil Howard
On Wed, May 19, 2010 at 05:24, Brian Candler wrote: > Then you're testing the whole environment: you'll need to deliver mail > either by making SMTP connections or by invoking your LDA (e.g. sendmail) > and piping the mail in - with some way of forcing it to look "spammy" or > "not spammy" - to

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Phil Howard
On Wed, May 19, 2010 at 07:52, William Blunn wrote: > It sounds like you want a sort of "toolbox" of ready-made and tested > components, such as an IMAP client, but with rich programmatic interfaces so > that you only need to write a little bit of "glue" code to make it do > exactly what you want

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Phil Howard
On Wed, May 19, 2010 at 10:04, Brian Candler wrote: > If you can do SMTP, you can do IMAP. This should get you started: > > a login f...@bar.com xyzzy > a select inbox -- or "a examine inbox" for read-only > a fetch 1:15 (rfc822) > a store 1:15 +flags (\Deleted) > a expunge > a logo

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Phil Howard
On Wed, May 19, 2010 at 12:49, Mailing List wrote: > Hi Phil, > > I've got an hack piece of regression perl code that we might be a good > starting point. I'd love to turn it into a better piece of hack code > that we could offer up. It does SSL/TLS. > > Right now it is pretty basic and forks 1K-

  1   2   >