Re: [Dovecot] Understanding Sockets

2012-12-21 Thread Tim Smith

Thanks Ben,

I'm using an Ubuntu Server OS (10.04) and it seems that the latest 
package they provide is 1.2.9.


Do you know if anyone has had any success getting a Dovecot 2 package on 
this Ubuntu distro and how they went about it (Not comfortable compiling 
sources at this point!!)?


Tim

On 21/12/12 00:21, Ben Morrow wrote:

At 10PM + on 20/12/12 Tim Smith wrote:

Just trying to consolidate my knowledge of Dovecot and I want to
understand various things rather than just key out lines of config in
dovecot.conf with the hope of it working.

What I wanted to clarify is my understanding the socket listen section
of the config file. From my limited understanding, this section details
how other processes can access the userdb defined in Dovecot. The master
socket is used for internal processes which is mainly dovecot-lda so
that when Dovecot receives mail it knows where to deliver it and client
is defined for external processes, for example Postfix who would use
the info to determine if a user existed. Would you say this is a fair
(albeit) dumbed down!!) synopsis of sockets and their purpose?

Your mention of 'socket listen' and 'master' auth sockets suggests you
are using Dovecot 1.x. That description is pretty-much correct for 1.x,
however you should upgrade to 2.x as soon as you reasonably can, since
1.x is no longer supported. See http://wiki2.dovecot.org/Services#auth
for a description of the socket types available with Dovecot 2.

[The statement there that 'client' sockets can safely be exposed to the
entire world, including over inet sockets, is not entirely true. AFAIK
there is no rate limiting, so an exposed 'client' socket is a password
oracle and should therefore be somewhat protected. The risk is
approximately equivalent to an unshadowed password file, with the
encrypted passwords exposed.]

Ben






Re: [Dovecot] Non-dovecot user looking for feedback

2012-12-21 Thread Bron Gondwana
God, that's ancient data for Cyrus.  I should go update that.

Cyrus 2.4.17 fails a couple of edge cases (searching for  and some complex 
list-extended cases where we're not iterating both the mailboxes and 
subscriptions databases concurrently correctly).  Cyrus git master only fails 
the list-extended.

In other words, don't believe every wiki you read on the internet!

Bron.

On Tue, Dec 18, 2012, at 07:19 AM, Chris Ross wrote:
 
   Thank you for that.  That mostly rules out Cyrus, as it seems much the 
 lesser of Dovecot and UW-IMAP.
 
   But, it mostly just declares it's statements about accordance with the 
 standards.  While I appreciate that, I'm more interested in how it behaves 
 with common mail clients.  And, the note about dovecot Expunge Fetch says 
 depends on storage, but gives no more information.  What sorts of storage 
 options are available, and what the pros and cons of them are, was one of my 
 original questions.
 
   Is there some give me all the details to read through document somewhere? 
  What it does, it's capabilities, and how it does things?
 
   Thanks again to all for any help.
 
  - Chris
 
 On Dec 17, 2012, at 07:48 , David Morsberger d...@morsberger.com wrote:
 
  Check out:
  
  http://imapwiki.org/ImapTest/ServerStatus
  
  --
  David Morsberger
  301-758-7387
  Sent from my iPhone
  
  On Dec 17, 2012, at 2:00 AM, Chris Ross cross+dove...@distal.com wrote:
  
  
   I've been using UW-IMAPd for neigh on forever (at least since 2001).  
  But, as it's basically stalled, and I'm about to update the hardware that 
  is my mail server, I thought it was time to review existing open-source 
  IMAP servers.  Dovecot is the top three in my looking.
  
   The other of the top three candidates, because I know of people who've 
  used it, is Cyrus IMAP.  So, I should note that my thoughts are uw-imapd, 
  because I already know how to use it, Cyrus, because someone I 
  know/trust liked it years ago, and dovecot, because it seems stable, 
  professional, and to meet all of my needs.
  
   I guess the biggest question I have is how files/folders are stored in 
  the filesystem.  uw-imapd has a mbx format that all of my folders are 
  in, and also has support for mbox and maildir (i think).  mbx had some 
  advantages for speed access, which would be unimportant I assume with 
  dovecot's indexes, but IIRC there was also some reason the mbox format 
  coped poorly with multiple clients accessing the same folder at the same 
  time.
  
   So, am I right that dovecot supports only the one big full file mbox 
  format, and the maildir format?  And if so, is it known to allow multiple 
  simultaneous IMAP clients to access and monitor and/or modify the same 
  folder simultaneously?
  
   After those questions, it's just a what do you think the pros and cons 
  of each are?  I know asking in this forum, that I will get most if not 
  all votes for Dovecot. And that's fine, as long as you have specific 
  reasons why it would be better for someone with only a handful of users 
  and minimal time available to administer the systems in question.
  
   Thanks!  I appreciate any and all feedback.
  
  - Chris
  
 


-- 
  Bron Gondwana
  br...@fastmail.fm


Re: [Dovecot] dovecot Digest, Vol 116, Issue 38

2012-12-21 Thread Douglas Mortensen
Austinator,

What's the JLG maintenance schedule? I should show you how to setup a CW 
Service Template  then you can have it as a weekly ticket. :-)

-
Doug Mortensen
Impala Networks
Sent from my Windows Phone

From: dovecot-requ...@dovecot.orgmailto:dovecot-requ...@dovecot.org
Sent: ‎12/‎21/‎2012 1:44 AM
To: dovecot@dovecot.orgmailto:dovecot@dovecot.org
Subject: dovecot Digest, Vol 116, Issue 38

Send dovecot mailing list submissions to
dovecot@dovecot.org

To subscribe or unsubscribe via the World Wide Web, visit
http://dovecot.org/cgi-bin/mailman/listinfo/dovecot
or, via email, send a message with subject or body 'help' to
dovecot-requ...@dovecot.org

You can reach the person managing the list at
dovecot-ow...@dovecot.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of dovecot digest...


Re: [Dovecot] migration to dovecot pop3

2012-12-21 Thread Rajesh M


 On 12/19/2012 6:59 PM, Joseph Tam wrote:
 Rajesh M writes:

 i am planning to migrate from qmail pop3 to dovecot pop3

 the number of users on the server is large over 5000
 ...
 also data volume is large - over 3.5 tb -- ie many users several 1000s
 of
 emails in their inbox

 If you stay on the list, you might find some people here whose
 mail metrics are several orders of magnitude larger than this.

 1) will the migration cause all the emails on the server to re-download
 ...
 4) has anybody migrated from qmail pop3 to dovecot pop3 successfully
 without emails being downloaded again

 A proper migration will avoid this.  Google is your friend

 http://lmgtfy.com/q=POP+qmail+to+dovecot+migration

 The top hits provide exactly what you're looking for.

 2) can dovecot be configured to allow only one download at a time -
 pop3
 locking with time out setting that can be customized

 We migrated 5000+ from qpopper years ago. Dovecot is sooo much better on
 system load. Yes, locking and timeouts are in the config file.


 3) can dovecot pop3 be configured so that it will allow download of
 emails
 only of the last say 15 days ie even if the same pop3 user is
 configure on
 another machine it will download only messages of the last 15 days

 That's not part of pop3, so no, it's not possible with dovecot alone.
 You could probably work out a plugin to move read mail after x days, or
 there may be one out there ? Or some imap robot could do it..
 Ken A.
 Pacific.Net


 I can't answer this, but if this is an attempt to prevent mass download,
 the answer to 1+4 makes these questions irrelevant.

 Joseph Tam jtam.h...@gmail.com


 --
 Ken Anderson
 Pacific Internet - http://www.pacific.net
 Latest Pacific.Net Status - http://twitter.com/pacnetstatus


thanks joseph and ken for your replies

ken, if possible can you please give me some more information concerning
the servers that you use.

i am using qmailtoaster my server has over 3 tb of data.

Q1) which email server software are you using for your 5000+ users

Q2) what is your server hardware configuration for handling 5000+ users

Q3) do you users store several 1000's of emails in their inboxes.

Q4) i want to try out by running dovecot pop3 on a separate port other
than 110 while qmail toaster pop3 continues to run on port 110 and try
downloading from specific a test mailbox. do you forsee any problems in
this ?

thank you once again for your kind help.

rajesh






Re: [Dovecot] Understanding Sockets

2012-12-21 Thread Daniel Parthey
Hi Tim,

Tim Smith wrote:
 I'm using an Ubuntu Server OS (10.04) and it seems that the latest
 package they provide is 1.2.9.
 
 Do you know if anyone has had any success getting a Dovecot 2
 package on this Ubuntu distro and how they went about it (Not
 comfortable compiling sources at this point!!)?

We downloaded the ubuntu dovecot source package from packages.ubuntu.com
and updated the dovecot tarball to a current 2.x version using the
uupdate tool (comes with ubuntu).

Then we replaced the pigeonhole directory with a current
version from the pigeonhole tarball to fix some crashing
bug regarding managesieve.

With dch -i you can edit the changelog and increase
package version or patchlevel.

Finally build the deb packages with
dpkg-buildpackage -b -uc -us

Good luck,
Daniel
-- 
https://plus.google.com/103021802792276734820


Re: [Dovecot] Understanding Sockets

2012-12-21 Thread Tim Smith

I'm a bit green around the gills with this kind of thing.

I download the original source at 
http://packages.ubuntu.com/source/precise/mail/dovecot


And the Pigeonhole source at http://pigeonhole.dovecot.org/download.html

This is where I got stuck really - I wasn't sure how to integrate the 
pigeonhole source into the dovecot source.


http://packages.ubuntu.com/source/precise/mail/dovecot
On 21/12/12 12:15, Daniel Parthey wrote:

Hi Tim,

Tim Smith wrote:

I'm using an Ubuntu Server OS (10.04) and it seems that the latest
package they provide is 1.2.9.

Do you know if anyone has had any success getting a Dovecot 2
package on this Ubuntu distro and how they went about it (Not
comfortable compiling sources at this point!!)?

We downloaded the ubuntu dovecot source package from packages.ubuntu.com
and updated the dovecot tarball to a current 2.x version using the
uupdate tool (comes with ubuntu).

Then we replaced the pigeonhole directory with a current
version from the pigeonhole tarball to fix some crashing
bug regarding managesieve.

With dch -i you can edit the changelog and increase
package version or patchlevel.

Finally build the deb packages with
dpkg-buildpackage -b -uc -us

Good luck,
Daniel




Re: [Dovecot] Building Dovecot 2.x on Ubuntu Hardy 10.04

2012-12-21 Thread Daniel Parthey
Tim Smith wrote:
 This is where I got stuck really - I wasn't sure how to integrate
 the pigeonhole source into the dovecot source.
 http://packages.ubuntu.com/source/precise/mail/dovecot

You extract the dovecot source package with
dpkg-source -x dovecot*.dsc
there should be a pigeonhole directory somewhere in the
extracted dovecot-$VERSION directory.

The old pigeonhole version is included in the dovecot*.diff of the
ubuntu source package.

Just untar the download from pigeonhole and replace the pigeonhole
directory in the dovecot-$VERSION directory with the new pigeonhole
directory from the download.

In order to include current dovecot versions, you will need to run uupdate
to integrate the new tarball into the package. See uupdate --help

Then you can build the package as described in previous mails.

Regards
Daniel
-- 
https://plus.google.com/103021802792276734820


[Dovecot] [Antispam]rev 990a43d44c73 breaks compilation for dovecot 2.1

2012-12-21 Thread Simone Caruso
Dovecot 2.1.12 and antispam-plugin 0319240072d8

bash-# make
Entering directory src.
signature-log.c: In function 'signature_log_transaction_begin':
signature-log.c:122: error: too many arguments to function 'dict_init'
Failed to compile signature-log.c (plugin)!
make[3]: *** [signature-log.plugin.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [src] Error 2
make: *** [all] Error 2

Reversing the deff the builing process ends with no error.

-- 
Simone Caruso
IT Consultant
+39 349 65 90 805



Re: [Dovecot] Understanding Sockets

2012-12-21 Thread Noel Butler
Why are people shit scared of abandoning these antiquated distro
versions and using the source

On Fri, 2012-12-21 at 08:37 +, Tim Smith wrote:

 Thanks Ben,
 
 I'm using an Ubuntu Server OS (10.04) and it seems that the latest 
 package they provide is 1.2.9.
 
 Do you know if anyone has had any success getting a Dovecot 2 package on 
 this Ubuntu distro and how they went about it (Not comfortable compiling 
 sources at this point!!)?
 




signature.asc
Description: This is a digitally signed message part