[Dovecot] fedora rpm for 2.0 beta?
I'm looking for a spec/rpm file suitable for fedora 11/12, for dovecot and pidgenhole sieve. Has anyone done this yet? Otherwise I will attempt to the dovecot 1.2 spec files for f11. -- Joakim Verona
[Dovecot] architecture to handle 1000 messages per second?
Can anyone describe an architecture which can handle 1000 IMAP or POP messages per second? Ideally, it would be hosted in the cloud and additional instances could be launched to handle additional load. Bob
Re: [Dovecot] architecture to handle 1000 messages per second?
On Fri, Jan 1, 2010 at 2:09 PM, Bob Eastbrook baconeater...@gmail.com wrote: Can anyone describe an architecture which can handle 1000 IMAP or POP messages per second? Ideally, it would be hosted in the cloud and additional instances could be launched to handle additional load. More information: imagine an app which processes orders for concert tickets via email. The app connects to a server via POP or IMAP, downloads orders, and then deletes them from the server. There aren't thousands of users simultaneously accessing and searching their mail, but rather only one account (ord...@example.com) but thousands of emails per second. Ideally, it could be cloud hosted so that instances could be launched before tickets go on sale. Instances can be shut down after the rush. Bob
Re: [Dovecot] architecture to handle 1000 messages per second?
On 1.1.2010, at 17.23, Bob Eastbrook wrote: More information: imagine an app which processes orders for concert tickets via email. The app connects to a server via POP or IMAP, downloads orders, and then deletes them from the server. There aren't thousands of users simultaneously accessing and searching their mail, but rather only one account (ord...@example.com) but thousands of emails per second. How about delivering the messages to multiple different servers, then your app connects to all of the servers separately and downloads the mails? As to how to get them to different servers .. maybe it would simply work to add/remove MX DNS records as needed?
Re: [Dovecot] Dovecot deliver and IMAP - separate user db queries possible?
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 '%s' = 'imap' and .. union select lda-stuff, .. where '%s' = 'lda' and ..
Re: [Dovecot] Dovecot LDA with SetUID
On 31.12.2009, at 22.40, Michael wrote: Has anyone been able to get Dovecot LDA working where each user has a different UID? All the howtos on the Internet I have found set the UID of a mailbox as fixed for all users. How about reading the official docs instead of random howtos :) http://wiki.dovecot.org/LDA#Multiple_UIDs
Re: [Dovecot] architecture to handle 1000 messages per second?
On Fri, Jan 1, 2010 at 11:23 PM, Bob Eastbrook baconeater...@gmail.comwrote: On Fri, Jan 1, 2010 at 2:09 PM, Bob Eastbrook baconeater...@gmail.com wrote: Can anyone describe an architecture which can handle 1000 IMAP or POP messages per second? Ideally, it would be hosted in the cloud and additional instances could be launched to handle additional load. More information: imagine an app which processes orders for concert tickets via email. The app connects to a server via POP or IMAP, downloads orders, and then deletes them from the server. There aren't thousands of users simultaneously accessing and searching their mail, but rather only one account (ord...@example.com) but thousands of emails per second. Ideally, it could be cloud hosted so that instances could be launched before tickets go on sale. Instances can be shut down after the rush. Hi Bob, Just to make sure I understand you: Some app is sending emails to ord...@example.com at the rate of 1000 per second, and another app is fetching email from ord...@example.com to process them? Regards, Thomas Løcke
Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation
On Fri, 2010-01-01 at 06:52 -0500, Gerard wrote: Second, I totally disagree with your claim that his mail forum is useless. I have on several occasions posted quires and received rapid responses. By the way, I do not remember seeing your post on the forum. Yep, I got a copy of it back so it obviously went to the list. Then again, I might have just missed it. In addition, you do know what time of the year it is, didn't you? Many individuals like myself have better things to do than slave over our PCs waiting to answer questions. What has this got to do with anything, It was well before Christmas. Might I suggest the following. postfix blurbs removed to the Postfix forum. Include all relevant and unedited log file Why? I sent all the relevant information pertaining to my query, no need to send non-related crap. The mater is over as far as I'm concerned, if the postfix author doesn't want to consider his software is doing more work than it needs to (maybe it is, maybe it isn't, hence my question), then, as I use a replicated local databases on each front end server and it's not a problem here (I only saw what it was doing debugging a failed user login w/mysql) then that's not my problem, case closed :) Happy New Year as well.
Re: [Dovecot] architecture to handle 1000 messages per second?
On Fri, Jan 1, 2010 at 3:07 PM, Thomas Løcke thomas.granv...@gmail.com wrote: Hi Bob, Just to make sure I understand you: Some app is sending emails to ord...@example.com at the rate of 1000 per second, and another app is fetching email from ord...@example.com to process them? Hello, Actually, thousands of customers would send order emails to a system running postifx. All orders end up in ord...@example.com. Then, another app fetches these emails via Dovecot (POP or IMAP), ideally at the rate of 1000 per second. I think it might be difficult to accomplish this via POP since I think Dovecot would have to lock the account while doing the POP downloads. This makes it difficult to have more than one app downloading at a time. Cheers, Bob
[Dovecot] What auth ?
Hello people, First of all a Happy New Year and best wishes to you all. I've managed to setup dovecot v1.2.9 on a CentOS 5.4 system and I am now, trying to make it auth. I would prefer virtual users and only want to make the IMAP/ IMAPS part work. I don't need POP3 or anything else. The rest will be handled by another SMTP/POP3 application. Now, I almost managed to make dovecot auth a virtual user with his password. However, when it seems it has passed the auth stage (either via IMAP _or_ IMAPS), the command line kicks me out. Here's roughly what I did : 1. Created /etc/dovecot/users and /etc/dovecot/passwd 2. filled in a couple of usernames/passwords encrypted in MD5 format 3. Ran dovecot from command line (service dovecot start [after I created the service ofcourse]) 4. telneted to localhost via port 143 or 993 (with the help of openssl: openssl s_client -connect the.system.name:993) 5. typed : . login usern...@fqdn password Something worth noticing for step 5. If I do this logging-in with the u...@fqdn format, the systems kicks me out. I, then, check the latest on /var/log/dovecot/errors to find that the system does not complain about the auth. If I do the same logging-in but instead use u...@localhost (and not the fqdn), the system fails the authentication stage and does _not_ drop me into the shell. Go figure !! Anyway. My question, in essence, is this; Which type of auth should I use ? The manuals (that i've been sinking my head for the last couple of weeks) suggest I should use PAM. PAM, I cannot understand. At the moment, I _think_ I am using MD5. Any pointers here ? I've been reading the /doc/wiki directory for quite some time until it made no sense to me anymore (too much info makes me loose perspective). Any help would be greatly appreciated. TIA, spyros
Re: [Dovecot] architecture to handle 1000 messages per second?
On 1.1.2010, at 18.15, Bob Eastbrook wrote: I think it might be difficult to accomplish this via POP since I think Dovecot would have to lock the account while doing the POP downloads. This makes it difficult to have more than one app downloading at a time. The locking behavior is optional, and disabled by default (pop3_lock_session).
Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation
On 2009-12-31 7:01 PM, Noel Butler wrote: On Thu, 2009-12-31 at 16:21 -0500, Jerry wrote: Dunno. Above the private field appears to be - (the one after unix). I don't know why Postfix would see it as --n. Maybe asking Wietse Venema wie...@porcupine.org might prove insightful. wouldnt do that, he gets very touchy with people emailing him directly, Understandable... he wants people to sub to his useless err i mean users mailing list :) Funny... not... the postfix list is one of the more useful lists I've ever been subscribed to - almost as useful as the dovecot list, but not as friendly... I asked him why postfix double lookups and looks up other stuff after its got a clear not here, he said not to email him personally send to list, where it was also ignored, so i wouldnt waste my time asking him :) So one question fell through the cracks a couple of weeks before Christmas (lots of people get busy this time of year), so you rudely slam him and the postfix list? Not very nice. Maybe you should ask your question again, and maybe it would help if you followed the instructions per the welcome message you received when you joined the list: TO REPORT A PROBLEM see: http://www.postfix.org/DEBUG_README.html#mail At a minimum, postfix version, output of postconf -n and unedited NON-verbose logs exhibiting the problem should be provided...
Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation
On 2010-01-01, Noel Butler (noel.but...@ausics.net) wrote: Then again, I might have just missed it. In addition, you do know what time of the year it is, didn't you? Many individuals like myself have better things to do than slave over our PCs waiting to answer questions. What has this got to do with anything, It was well before Christmas. It was 12/10/09... two weeks... pretty close if you ask me, lots of people take 2-3 week vacations during this time of year. to the Postfix forum. Include all relevant and unedited log file Why? I sent all the relevant information pertaining to my query, no need to send non-related crap. What you might consider 'non-related crap' is often necessary to answer your question, which is why it is required (per the welcome message you get when subscribing) when asking for help. No question that the postfix users list is pretty strict about form, but the help available there is top notch, as long as you leave your attitude at the door.
Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation
What has this got to do with anything, It was well before Christmas. It was 12/10/09... two weeks... pretty close if you ask me, lots of people take 2-3 week vacations during this time of year. Oh... and the only message that shows up in the archives is the follow-up you posted yourself on the 15th - the original is nowhere to be found.
Re: [Dovecot] architecture to handle 1000 messages per second?
On Sat, 02 Jan 2010 11:09:33 Bob Eastbrook wrote: Can anyone describe an architecture which can handle 1000 IMAP or POP messages per second? Ideally, it would be hosted in the cloud and additional instances could be launched to handle additional load. Bob The Courier IMAP server is a fast, scalable, enterprise IMAP server that uses Maildirs. Many E-mail service providers use the Courier IMAP server to easy handle hundreds of thousands of mail accounts. With its built-in IMAP and POP3 aggregation proxy, the Courier IMAP server has practically infinite horizontal scalability. In a proxy configuration, a pool of Courier servers service initial IMAP and POP3 connections from clients. They wait to receive the client's log in request, look up the server that actually holds this mail account's mailbox, and establish a proxy connection to the server, all in a single, seamless process. Mail accounts can be moved between different servers, to achieve optimum resource usage. http://www.courier-mta.org/imap/
[Dovecot] Recalculate quota usage on demand
I would a method for Dovecot to recalculate the quota usage and rewrite it to the quota DB (Called on demand by a non-Dovecot POP3 daemon) I don't want the line deleted in the DB as this would only recalculate next time the Dovecot LDA or IMAP handles a message, and I want to keep the data availability contiguous. Can this be done?
Re: [Dovecot] Issue Authenticating to a new dovecot-postfix installation
These comments coming from you, are not surprising given who you are, so i wont bother this list with any further reply, because i'm sure the other trolls and fanbois will come out the woodwork.. On Fri, 2010-01-01 at 18:49 -0500, Charles Marcus wrote: he wants people to sub to his useless err i mean users mailing list :) Funny... not... the postfix list is one of the more useful lists I've ever been subscribed to - almost as useful as the dovecot list, but not as friendly...
[Dovecot] OT Re: Issue Authenticating to a new dovecot-postfix installation
On Fri, 2010-01-01 at 19:00 -0500, Charles Marcus wrote: What has this got to do with anything, It was well before Christmas. It was 12/10/09... two weeks... pretty close if you ask me, lots of people take 2-3 week vacations during this time of year. Oh... and the only message that shows up in the archives is the follow-up you posted yourself on the 15th - the original is nowhere to be found. as stated im not going to bore this list, however a 6 sec search found it in neohapsis archives. this is not the postfix users list, so this part of the thread is ended as far as im concerned so it can go back to helping the OP. I have said all i am saying, so i wont be bothering with this thread from this point on, because you and I will likely just dispute whatever the other says and piss people off by OT crap..
[Dovecot] Using Push IMAP to trigger POP3 download
Hello all, I have an HTPC connected 24/7 to the Internet running Mythbuntu. I also have a web/email host that runs Dovecot for email and provides IMAP and POP3 access. I understand that Dovecot supports Push IMAP and I could, for example, use Thunderbird to connect to my email host to receive instant email as it arrives. I would like to add a Dovecot IMAP server on my HTPC (for increased storage, to aggregate multiple email accounts, to process messages with SpamAssassin and to provide a better webmail interface) and retrieve email from my webhost to my HTPC by POP3. To set up POP3 on my HTPC, I understand that the norm is to set a time interval (say, every 10 minutes) for clearing email. What I would prefer to do, if possible, would be to have Dovecot on my HTPC keep a Push IMAP connection with Dovecot on my webhost. When a new message is available on the webhost, my HTPC would be pushed a notification and it could do a POP3 download. This would allow it to clear emails with POP3 (and reduce storage requirements on my webhost), mean that I received emails instantly and not require me to have it poll for messages on a very-regular basis. Does anybody know if this is possible? As an alternative (not solving my space problem on the webhost, but solving the others), is it possible to set up Dovecot to piggy back off an existing IMAP server? In my example, my webhost does not offer good spam-checking and webmail. Would it be possible for me to set up a Dovecot server on my HTPC that received messages by Push IMAP, processed them with SpamAssassin (say, moving all of the spam messages to a subfolder) and provided a good web interface, all the while providing updates to the webhost's server? In some ways, this is almost more like an IMAP client than a server. I apologise if these questions are stupid! Happy New Year and thanks in advance, Aaron -- FSF Associate Member: 5632 http://www.fsf.org
Re: [Dovecot] architecture to handle 1000 messages per second?
Bob Eastbrook wrote: On Fri, Jan 1, 2010 at 3:07 PM, Thomas Løcke thomas.granv...@gmail.com wrote: Hi Bob, Just to make sure I understand you: Some app is sending emails to ord...@example.com at the rate of 1000 per second, and another app is fetching email from ord...@example.com to process them? Hello, Actually, thousands of customers would send order emails to a system running postifx. All orders end up in ord...@example.com. Then, another app fetches these emails via Dovecot (POP or IMAP), ideally at the rate of 1000 per second. I think it might be difficult to accomplish this via POP since I think Dovecot would have to lock the account while doing the POP downloads. This makes it difficult to have more than one app downloading at a time. Cheers, Bob Don't use POP3 or IMAP; instead deliver the messages to a command. For example, GNU Mailman is mailing list software which pipes each incoming list message to a Python script. That command can then perform the necessary processing. I don't know what you had in mind, but if the messages can be handled independently, it's easy to add new machines. Just duplicate the config on another box, and create an MX record for it. virtual_alias_domains - # Each address in example.com must be aliased to a local user. example.com IGNORED virtual_alias_maps - # The virtual address ord...@example.com is mapped to the local user # of the same name. ord...@example.com orders alias_maps - # And then the local user's mail is delivered to a script rather than to # a mailbox. orders |/path/to/your/script
[Dovecot] Deliver virtual user's mail to a specific namespace?
Hello: I have virtual users set up for the various mailing lists that I subscribe to. Everything has been working well in both Postfix and Dovecot. Postfix is configured to deliver to a specific mbox file within my mbox mail root. I can access retrieve and read email via Dovecot without any issues. Now I want to make my setup more robust and have these messages delivered to a maildir namespace. I have configured the LDA within the Postfix master.cf file: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient} I have configured the 'dovecot' transport within Postfix in the transport file: t...@lists.schang.net dovecot: In dovecot.conf I have set up the namespace as follows: namespace private { separator = / prefix = Lists/ location = maildir:~/MailLists subscriptions = yes } I'm having a hard time specifying the Lists/ namespace in my userdb passwd-file: test:{PLAIN}linux:2000:200::/home/brian::userdb_mail=maildir:Lists/test I can't get the userdb_mail portion to work. For this user, 't...@lists.schang.net', how do I tell Dovecot/deliver to put the message in the 'test' mailbox within the 'Lists/' namespace? I'd appreciate any insight. Thank you. -- Brian Schang