LIST MANAGEMENT BROKEN

2015-12-05 Thread Edwardo Garcia
Timo
I have for two days try to unsubscribe from this list using email mailman.
The list server does not send me confirmation request.
Please fix your server and remove me


Re: Dovecot 2.1.9 shared folder deletion causes fault

2015-06-19 Thread Edwardo Garcia
You are reporting a problem with a antique?
Please try current stable version and if problem persist let us know
with include the dovecot -n output.

Current version is 2.2.18, pretty pointless trying to look for a bug
resolution in such a old version, also, 2.1.9 maybe latest in your
distribution but that is not dovecot problem, dovecot does not produce
binaries for any distribution.and you are likely many many bugs in
your 2.1.9 version that long been fixed.

On 6/19/15, JT ad...@jtlabs.net wrote:
 Hey all,

 I'm getting a fault in dovecot (see below) using shared folders. I have
 a mailbox that receives new mail (Account X/INBOX). Another account
 (Account A) has access to the other account (Account X/INBOX) with ACL
 below.

 The ACL directory (.DEFAULT) contains:
 user=AccountA lrwst

 I removed a test email from Account A/INBOX, which is supposed to remove
 the email from Account X/INBOX. A fault occurs whenever my client
 (Thunderbird) attempts to connect and complete the deletion. Other
 actions complete successfully. It only appears to happen when using
 Thunderbird. Mac Mail does not cause the fault.

 I'm not getting a core dump so all I have is what the log outputs. I can
 reproduce this regularly so let me know if you need any additional
 information.

 Thanks,

 JT

 ===

 Version: 2.1.9 (Ubuntu Trustydeb package)
 OS: Ubuntu trusty 14.04

 2015-06-18T19:17:50.518505+00:00 mail-103 dovecot: imap(XXX): Error: Raw
 backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x5e271) [0x7eff3f6d1271]
 - /usr/lib/dovecot/libdovecot.so.0(+0x5e34e) [0x7eff3f6d134e] -
 /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7eff3f68ca9e] -
 /usr/lib/dovecot/libdovecot-storage.so.0(+0xa7cbc) [0x7eff3f9e2cbc] -
 /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x6c)
 [0x7eff3f9ac8ec] -
 /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x15)
 [0x7eff3f9ac985] - dovecot/imap(+0xded5) [0x7eff3fe78ed5] -
 dovecot/imap(command_exec+0x3c) [0x7eff3fe836dc] -
 dovecot/imap(+0x176cf) [0x7eff3fe826cf] - dovecot/imap(+0x17785)
 [0x7eff3fe82785] - dovecot/imap(client_handle_input+0x125)
 [0x7eff3fe82aa5] - dovecot/imap(client_input+0x75) [0x7eff3fe82e35] -
 /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x27) [0x7eff3f6e1247]
 - /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xd7)
 [0x7eff3f6e1fd7] - /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38)
 [0x7eff3f6e0de8] -
 /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
 [0x7eff3f691c93] - dovecot/imap(main+0x2c4) [0x7eff3fe772f4] -
 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7eff3f2cfec5]
 - dovecot/imap(+0xc460) [0x7eff3fe77460]
 2015-06-18T19:17:50.736901+00:00 mail-103 dovecot: imap(XXX): Fatal:
 master: service(imap): child 4461 killed with signal 6 (core dumped)
 2015-06-18T19:17:51.662157+00:00 mail-103 dovecot: imap(XXX): Panic:
 file mail-index.c: line 380 (mail_index_keywords_unref): assertion
 failed: (keywords-refcount  0)
 2015-06-18T19:17:51.662969+00:00 mail-103 dovecot: imap(XXX): Error: Raw
 backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x5e271) [0x7f3fa05bb271]
 - /usr/lib/dovecot/libdovecot.so.0(+0x5e34e) [0x7f3fa05bb34e] -
 /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f3fa0576a9e] -
 /usr/lib/dovecot/libdovecot-storage.so.0(+0xa7cbc) [0x7f3fa08cccbc] -
 /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0x6c)
 [0x7f3fa08968ec] -
 /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_move+0x15)
 [0x7f3fa0896985] - dovecot/imap(+0xded5) [0x7f3fa0d62ed5] -
 dovecot/imap(command_exec+0x3c) [0x7f3fa0d6d6dc] -
 dovecot/imap(+0x176cf) [0x7f3fa0d6c6cf] - dovecot/imap(+0x17785)
 [0x7f3fa0d6c785] - dovecot/imap(client_handle_input+0x125)
 [0x7f3fa0d6caa5] - dovecot/imap(client_input+0x75) [0x7f3fa0d6ce35] -
 /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x27) [0x7f3fa05cb247]
 - /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xd7)
 [0x7f3fa05cbfd7] - /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38)
 [0x7f3fa05cade8] -
 /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
 [0x7f3fa057bc93] - dovecot/imap(main+0x2c4) [0x7f3fa0d612f4] -
 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f3fa01b9ec5]
 - dovecot/imap(+0xc460) [0x7f3fa0d61460]
 2015-06-18T19:17:51.857451+00:00 mail-103 dovecot: imap(XXX): Fatal:
 master: service(imap): child 4464 killed with signal 6 (core dumped)

 protocol imap {
   imap_client_workarounds = tb-extra-mailbox-sep
   imap_idle_notify_interval = 1 mins
   mail_max_userip_connections = 10
   mail_plugins = acl quota acl imap_acl quota imap_quota
 }

 plugin {
   acl = vfile:/etc/dovecot/acl
   acl_defaults_from_inbox = yes
   acl_shared_dict = proxy::acl
 ...
 }

 namespace {
   hidden = no
   inbox = yes
   list = yes
   location =
   prefix =
   separator = /
   subscriptions = yes
   type = private
 }
 namespace {
   hidden = no
   list = children
   location =
 maildir:/var/mail/public/Maildir:INDEX=/var/mail/%d/%n/Maildir/public
   prefix = public/
   separator = /
   

Re: CVE-2015-3420

2015-04-28 Thread Edwardo Garcia
On 4/28/15, Timo Sirainen t...@iki.fi wrote:
 On 28 Apr 2015, at 11:35, Timo Sirainen t...@iki.fi wrote:

 On 28 Apr 2015, at 04:15, Edwardo Garcia wdgar...@gmail.com wrote:
 When can we expect 2.2.17 to resolve this?

 As far as I know this doesn't affect any of the major distributions where
 Dovecot is commonly used (Debian/Ubuntu/Redhat/CentOS). I've only heard i

Most of those distributions are way outdate version anyway, if they
were not maybe problem be seen too

 happening with some self-compiled OpenSSL versions (Arch/Gentoo?), so I
 don't see this as especially critical issue. But I'm planning on v2.2.17
 release sometimes soon anyway for other reasons.

 Oh, forgot to post also the committed patch fixing this:
 http://hg.dovecot.org/dovecot-2.2/rev/86f535375750


Thank you, with couple million users we can not afford take chance, so
will apply patch this morning on all servers.


CVE-2015-3420

2015-04-27 Thread Edwardo Garcia
When can we expect 2.2.17 to resolve this?


Re: Dovecot and recipient_delimiter

2015-04-16 Thread Edwardo Garcia
On 4/14/15, J. Echter j.ech...@echter-kuechen-elektro.de wrote:
 Am 14.04.2015 um 15:28 schrieb Edwardo Garcia:
 Should not need to alter flags, eg:
 dovecot   unix  -   n   n   -   -   pipe
 flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/dovecot-lda
 -f ${sender} -e -d ${user}@${nexthop}

 works perfectly good.
 Hi Edwardo,

 here it doesn't.

 If i use your settings i get this:

 Apr 14 15:47:34 mule dovecot: lda(testu...@testdomain.test): sieve:
 msgid=552d1a76.iwjqjzvgjbjaf0zg%testu...@testdomain.test: stored mail
 into mailbox 'INBOX'
 Apr 14 15:47:34 mule postfix/pipe[10706]: 37B973C05EF:
 to=testuser+j...@testdomain.test, relay=dovecot, delay=0.04,
 delays=0.01/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot
 service)

 If i change the flags back to 'DR'

 it gets delivered again.

 Apr 14 15:48:44 mule dovecot: lda(testu...@testdomain.test): sieve:
 msgid=552d1abc.gjmvNeZY2U/p5jj0%testu...@testdomain.test: stored mail
 into mailbox 'Junk'

 if i just add the flags back 'DRhu' and use my settings it can't find
 folder 'junk'

 Apr 14 15:48:22 mule dovecot: lda(testu...@testdomain.test):
 msgid=552d1aa6.cypum9dem1xfz8kn%testu...@testdomain.test: save failed
 to junk: Mailbox doesn't exist: junk

 do you have sieve rules to get it sorted right?

 i try to achive it without sieve rules.

 cheers

 juergen



Yes, I use sieve, however  h and u flags  only say to postfix to force
lowercase on host and user, strange.


Re: Dovecot and recipient_delimiter

2015-04-14 Thread Edwardo Garcia
On 4/14/15, J. Echter j.ech...@echter-kuechen-elektro.de wrote:
 Am 14.04.2015 um 14:04 schrieb J. Echter:
 Hi,

 we're using thunderbird as our client, it has the functionality to
 sort spamassassin tagged mails in a folder called 'Junk'.

 I have this folder on my dovecot server and i'd like to use the
 recipient_delimiter feature to get my spam/junk mails directly to this
 folder.

 what i have done yet:

 dovecot.conf:

 plugin {
   recipient_delimiter = +
 }

 postfix: master.cf

 dovecot   unix  -   n   n   -   -   pipe
flags=DRhu user=vmail:vmail null_sender=
 argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
 -e -m ${extension}

 postfix: main.cf

 recipient_delimiter = +


 what i get:

 Apr 14 13:46:50 mule postfix/pickup[22664]: 71ED53C05EE: uid=0
 from=testu...@testdomain.test
 Apr 14 13:46:50 mule postfix/cleanup[1408]: 71ED53C05EE:
 message-id=552cfe2a.tr3wzk7y16rga548%testu...@testdomain.test
 Apr 14 13:46:50 mule postfix/qmgr[12559]: 71ED53C05EE:
 from=testu...@testdomain.test, size=465, nrcpt=2 (queue active)
 Apr 14 13:46:50 mule dovecot: lda(testu...@testdomain.test):
 msgid=552cfe2a.tr3wzk7y16rga548%testu...@testdomain.test: save
 failed to junk: Mailbox doesn't exist: junk
 Apr 14 13:46:50 mule dovecot: lda(testu...@testdomain.test):
 msgid=552cfe2a.tr3wzk7y16rga548%testu...@testdomain.test: saved mail
 to INBOX
 Apr 14 13:46:50 mule postfix/pipe[10898]: 71ED53C05EE:
 to=testuser+j...@testdomain.test, relay=dovecot, delay=0.04,
 delays=0.02/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot
 service)
 Apr 14 13:46:50 mule postfix/qmgr[12559]: 71ED53C05EE: removed

 here is my complete dovecot -n output:

  dovecot -n
 # 2.0.9: /etc/dovecot/dovecot.conf
 # OS: Linux 2.6.32-504.12.2.el6.x86_64 x86_64 CentOS release 6.6
 (Final) ext4
 auth_cache_negative_ttl = 0
 auth_cache_size = 50 M
 auth_verbose = yes
 base_dir = /var/run/dovecot/
 imap_id_log = *
 imap_id_send = *
 log_timestamp = %Y-%m-%d %H:%M:%S 
 login_log_format_elements = user=%u method=%m rip=%r lip=%l mpid=%e
 %c %k
 mail_gid = 5000
 mail_home = /DATEN/vmail/%d/%n
 mail_location = maildir:/DATEN/vmail/%d/%n/mail/
 mail_plugins =  zlib
 mail_uid = 5000
 managesieve_notify_capability = mailto
 managesieve_sieve_capability = fileinto reject envelope
 encoded-character vacation subaddress comparator-i;ascii-numeric
 relational regex imap4flags copy include variables body enotify
 environment mailbox date ihave
 passdb {
   args = /etc/dovecot/dovecot-ldap.conf
   driver = ldap
 }
 plugin {
   autocreate = Junk
   autosubscribe = Junk
   recipient_delimiter = +
   sieve = /DATEN/vmail/%d/%n/.dovecot.sieve
   sieve_dir = /DATEN/vmail/%d/%n/sieve
   zlib_save = gz
   zlib_save_level = 6
 }
 protocols = sieve imap
 service auth {
   unix_listener /var/spool/postfix/private/auth {
 group = postfix
 mode = 0660
 user = postfix
   }
   unix_listener auth-userdb {
 group = vmail
 mode = 0660
 user = vmail
   }
   user = root
 }
 service imap-login {
   chroot = login
   executable = /usr/libexec/dovecot/imap-login
   inet_listener imap {
 port = 0
   }
   process_min_avail = 4
   user = dovecot
 }
 service imap {
   executable = /usr/libexec/dovecot/imap
 }
 service managesieve-login {
   chroot = login
   user = dovecot
 }
 service pop3-login {
   chroot = login
   user = dovecot
 }
 ssl = required
 ssl_cert = /shared/config/dovecot/certs/dovecot.pem
 ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL:!EXPORT
 ssl_key = /shared/config/dovecot/private/dovecot.pem
 userdb {
   args = /etc/dovecot/dovecot-ldap.conf
   driver = ldap
 }
 valid_chroot_dirs = /var/spool/vmail
 protocol lda {
   mail_plugins = sieve
   postmaster_address = postmaster
 }

 any hints on what i do wrong here?

 thanks

 juergen

 as always i asked my question and figured it out, i only had to change

 dovecot   unix  -   n   n   -   -   pipe
 flags=DRhu user=vmail:vmail null_sender=
 argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -e
 -m ${extension}

 to

 dovecot   unix  -   n   n   -   -   pipe
 flags=DR user=vmail:vmail null_sender=
 argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -e
 -m ${extension}


Should not need to alter flags, eg:
dovecot   unix  -   n   n   -   -   pipe
   flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/dovecot-lda
-f ${sender} -e -d ${user}@${nexthop}

works perfectly good.


Re: Dovecot Oy merger with Open-Xchange AG

2015-04-02 Thread Edwardo Garcia
On 4/1/15, Reindl Harald h.rei...@thelounge.net wrote:


 Am 01.04.2015 um 14:33 schrieb Bernd Petrovitsch:
 On Mit, 2015-04-01 at 13:07 +0200, Reindl Harald wrote:
 Am 01.04.2015 um 13:04 schrieb Bernd Petrovitsch:
 IMHO the larger the corporation is, the less are the chances for
 *long-term* benefits of the OSS/free software (mainly because: usually
 commercial success is driven and defined from marketing to sales[1]
 sown
 to the techies which are forced into features and delivery dates to
 achieve some company defined goal - and that is usually not bug
 free, safe, or the like. Free software/OSS just happens that *at
 least* half of it should come from the working level and that is - at
 least - much more - ahemm - inconvenient for sales people)

 FWIW the context were large old-school corps (like Novell or Oracle)
 taking over free software companies.

 that is simple not true - if it would be true linux distributions would

 Define true Linux distribution.

 who the fuck was talking abiut true Linux distribution?

you were cockhead, not taking your drugs again reindl eh or may be you
are taking too much of the illegal ones and none of the ones the
doctors prescribed you


Re: Awfully slow dovecot

2014-12-25 Thread Edwardo Garcia
On 12/26/14, Jeff Mitchell jeffrey.mitch...@gmail.com wrote:
 On Dec 25, 2014 3:15 PM, Reindl Harald h.rei...@thelounge.net wrote:


 your Gentoo is nice in a small environment

 on larger setups someone is using binary packages and can setup his own
 repo with overrides while maintain *testable* setups


 Just to point out, it is possible to set up a binary Gentoo setup with a
 single server compiling packages then made available to downstream
 computers -- I ran such a setup for a few years. Can also have multiple of
 these in an overlay fashion for testing. Pros and cons vs. normal binary
 distros, but it can be done.


As we do today for some 417 servers (real servers, not virtual crap),
its very easy to do, even my previous employer who used slackware with
a few hundred servers used  almost identical fashion.

Amazing at how  rpm and deb users think they are the only ones in this
world who can manage large enterprise server farms, just shows how
narrow sighted and ill-informed they are.


stop deletion of mails

2014-11-17 Thread Edwardo Garcia
Is possible with dovecot?

Legal department have told us we need to stop anyone from delete email
on corporate mail server, so nobody, even managers can not anymore
delete any mail?


Re: stop deletion of mails

2014-11-17 Thread Edwardo Garcia
OK thank you

On 11/17/14, Timo Sirainen t...@iki.fi wrote:
 On 17 Nov 2014, at 02:44, Edwardo Garcia wdgar...@gmail.com wrote:

 Is possible with dovecot?

 Legal department have told us we need to stop anyone from delete email
 on corporate mail server, so nobody, even managers can not anymore
 delete any mail?

 Implement email archiving. Allow the users to delete emails that are visible
 to themselves, but have another place where all the emails always exist and
 they can be accessed by people who need to have access to them. There are
 various different ways to do this. The easiest way is to have your MTA just
 Bcc them to some specific mailbox.




Re: usenet/imap

2014-09-13 Thread Edwardo Garcia
On 9/13/14, Dave McGuire mcgu...@neurotica.com wrote:
 On 09/12/2014 06:33 AM, Edwardo Garcia wrote:
 Depending on your news feed that will get huge over time, and if you
 try get a back feed of existing posts, thats even crazier, my upstream
 feeds me over FORTY THOUSAND text newsgroups. thats unrealistic to

 How much of these group are active? Or how many post a day on average you
 get?

   I realize you weren't asking me, but just to give you another data
 point, my server receives about 23,000 articles per day.  This is nearly
 all groups minus the binaries.

 feed into imap, just advertise your news server, or if you dont have
 one, set up inn on a spare machine, hell for a couple thousand users,

 We looked at inn, it is, to be blunt, a diabolical mess , the access
 file is nightmare, it no limit user concurrency or daily limit by
 default without write external code, if inn is typical, is no wonder
 usenet is not as popular this days.

   With respect, this a load of crap.  I was a commercial INN admin for
 many years, and I run it on my own network to this day.  It's a fine
 piece of software, does its job very well, is easy to manage, and
 generally gives no guff.


Sorry, but Nick was right, it is severe pain to get to do what we
would need, I installed  dnews, and oh my god, it is so much cleaner
and configurable out the box that it took 10 minutes to configure to
be anonymous for users but still logs so we know who does what, and it
access file is as simple as postfix! unlike inn, wow so much what they
say, chalk and cheese, dnews is a dream, I do like its pull feature
for only group we want, running now since yesterday, some staff use,
we notify select users who want usenet to use, if everybody happy in
one week we ask for license, even if need pay, much cleaner, better,
and no stress set up


   (Of course this is coming from the perspective of someone who ran
 C-news, and before that, B-news.  B was mostly shell scripts!)

   Just try not to look at it as a mail server, because it isn't, and
 you'll be fine with INN.

I think this might be true if you want allow world access and not care
who posts where or how or how many.

   And for the record, Usenet is not as popular these days because most
 of the current inhabitants of the Internet are drooling morons who think
 the Internet and the WWW are the same thing, and that it's all one big
 TV.  They'd never understand the concepts of Usenet in the first place.


Binaries still very popular, maybe for reason nick say


Re: usenet/imap

2014-09-13 Thread Edwardo Garcia
On 9/13/14, Nick Edwards nick.z.edwa...@gmail.com wrote:
 On 9/12/14, Edwardo Garcia wdgar...@gmail.com wrote:
 On 9/12/14, Nick Edwards nick.z.edwa...@gmail.com wrote:
 On 9/11/14, Edwardo Garcia wdgar...@gmail.com wrote:
 Halo,

 Has anyones had experiences with feeding usenet  into imap folders, we
 like to have some group for all user, any problem with message limit?
 We only want the text newsgroups?


 Thats crazy!

 Depending on your news feed that will get huge over time, and if you
 try get a back feed of existing posts, thats even crazier, my upstream
 feeds me over FORTY THOUSAND text newsgroups. thats unrealistic to

 How much of these group are active? Or how many post a day on average you
 get?

 feed into imap, just advertise your news server, or if you dont have
 one, set up inn on a spare machine, hell for a couple thousand users,

 We looked at inn, it is, to be blunt, a diabolical mess , the access
 file is nightmare, it no limit user concurrency or daily limit by
 default without write external code, if inn is typical, is no wonder
 usenet is not as popular this days.


 DNews  I've heard since its  unsupported now, they are. or have, given
 away free keys to some who've asked. We use it, its really powerful,
 awesome of system resource niceness, and so easy to configure even a
 child could do it (helolo Benny LOL), try download an have a go, yo
 can try-before-you-buy with anyway, and I think it still runs forever,
 not crippled if you dont get a key, it just puts messages into posts
 about it after a while.

oh wow, as I say to Dave, yes you are right, total worlds apart, very
happy now, will use dnews and forget imap intergration, even though
FAQ say it easy to do, no point now, upstream is happy for us to pull
a feed from rather than direct feed our imap.

 DNews even has a mail gateway which would be a sinch to add to imap,
 but again, thats crazy, dont do it, unless you only want a handful of
 groups.

 Oh benefit of DNews is, in pull mode it only gets what groups are
 read, so you dont need to get the full 40K groups if you dont want
 them, if you want a full feed, I suggest setting it up as ihave, and
 use suck2 to populate your news server with all articles of all groups
 your upstream has, but be careful of bandwith requirements for that,
 and I suggest you suspend your ihave until that is completed.

 This really off topic now, so if you need to talk more about it,
 contact me offlist so we dont upset the crybabies.



Re: usenet/imap

2014-09-12 Thread Edwardo Garcia
On 9/12/14, Nick Edwards nick.z.edwa...@gmail.com wrote:
 On 9/11/14, Edwardo Garcia wdgar...@gmail.com wrote:
 Halo,

 Has anyones had experiences with feeding usenet  into imap folders, we
 like to have some group for all user, any problem with message limit?
 We only want the text newsgroups?


 Thats crazy!

 Depending on your news feed that will get huge over time, and if you
 try get a back feed of existing posts, thats even crazier, my upstream
 feeds me over FORTY THOUSAND text newsgroups. thats unrealistic to

How much of these group are active? Or how many post a day on average you get?

 feed into imap, just advertise your news server, or if you dont have
 one, set up inn on a spare machine, hell for a couple thousand users,

We looked at inn, it is, to be blunt, a diabolical mess , the access
file is nightmare, it no limit user concurrency or daily limit by
default without write external code, if inn is typical, is no wonder
usenet is not as popular this days.


 a junk box (ie: even a 10yo 32bit desktop PC with half a gig of ram
 will run nicely)  starting out you wont need terabytes of disk space,

We have plenty them lying around, so maybe this be better if we find
better news server software.

 but heck,  a 1TB sata drive is cheap enough so if it fails its no
 bother, a 1TB scsi, might be a different story LOL (but of course is
 much much more reliable than sata).

 There are a few places around who will give you a free feed if you
 dont have one, and if you get stuck ask me off list, I get one off
 someone who used to be on this list, though he's likely forgotten that
 I do as it was a couple years ago he connected us up  :-)

We have a feeder when we ready, they go to feed our imap, so should
feed our own news server, thank you anyway


usenet/imap

2014-09-11 Thread Edwardo Garcia
Halo,

Has anyones had experiences with feeding usenet  into imap folders, we
like to have some group for all user, any problem with message limit?
We only want the text newsgroups?


High user number tune

2014-07-13 Thread Edwardo Garcia
Halo,
This might seem like another indirect thread.
I Monday started new job, first task must replace courier. The job use
POP3. and IMAP only for webmail, but must server support 4K POP3 at one
times. I see from similar thread current settings not adequate , we will
use TLS and if wiki read right Iprotocol

So am close in think that need ?

service pop3-login {
process_limit = 4096
}
service pop3 {
process_limit = 4096
}

service imap-login {
process_limit = 2048
}
service imap {
process_limit = 2048
}

then we have
service managesieve {
process_limit = 1024
}

is that all we need change? I see in other thread someone says service
anvil but I can not find out about it, does need change as well ?
Why is it so complicated to change to let more user on,  most other change
one setting, dovecot  want  dozen :(


Re: [Dovecot] mirror to download dovecot

2013-12-19 Thread Edwardo Garcia
 2.2.9 release
but point of post is I cannot reach dovecot website we has a route fault to
it


On Thu, Dec 19, 2013 at 8:25 PM, Daniel Parthey d.part...@metaways.dewrote:

 Hi Edwardo,

 Which file or URL are you looking for?

 Try one of these:
 http://www.dovecot.org/download.html
 http://www.dovecot.org/releases/

 Regards
 Daniel


[Dovecot] mirror to download dovecot

2013-12-18 Thread Edwardo Garcia
Halo,
Is mirror to get 2.2.9?
cannot get dovecot.org, this time out

4  xe-0-1-0-1-3664.r00.saplbr01.br.bb.gin.ntt.net (200.15.0.45)  6.946 ms
 7.093 ms  6.899 ms
 5  xe-4-1-3.r20.miamfl02.us.bb.gin.ntt.net (129.250.3.217)  118.130 ms
 118.111 ms  118.117 ms
 6  ae-1.r05.miamfl02.us.bb.gin.ntt.net (129.250.2.185)  118.592 ms
 118.735 ms  118.628 ms
 7  * * *
 8  * * *
 9  * * *

I use to get from dovecot.ausics.org but fail connect too, seem has DNS
127.0.0.1 ?  is any others run mirror?


Re: [Dovecot] trashed

2013-11-13 Thread Edwardo Garcia
Halo Nick,
Yes agree Riendl has sent me direct foul mouth abuse from this list, I have
my staff now enabling this blacklist too.

He filtered out now on lists too, wont see him bullying potty mouth again

good ridden



On Wed, Nov 13, 2013 at 8:49 PM, Nick Edwards nick.z.edwa...@gmail.comwrote:

 *yawn*
 you just dont get it do you, you have brought EVERYTHING upon
 yourself, no one else to blame, only YOU

 because you make a couple of helpful posts does not give you the right
 to continue to abuse everyone like you repeatedly do

 and as for blacklist, I am the operations centre manager cant fire myselfl
 and you need oi be reminded of why blacklists are there

 they are there to stop trouble makers, as  one example you on
 roundcube list have a habit of CC direct abuse at people, you probably
 do it everywhere too, the blacklist might not stop your trolling on
 lists but it saves people getting direct inbox abuse trash from you.

 if you are so worried about your other domains being rejected then
 MAYBE YOU SHOULD PUT YOUR BRAIN INTO GEAR FIRSTand STOP ABUSING
 PEOPLE, it can not be made more clear, that is understandable by eve a
 5 yo child, but apparently not you!





 On 11/13/13, Reindl Harald h.rei...@thelounge.net wrote:
 
  for sure not on the users list
 
  Taking into account all of the above, I think its fair to say, its
  more than one person that doesn't like your foul mouthed antics
 
  so what, i and many others also do not like people which obviously
  not trying one second to search for existing solutins about
  topics explained many thousand times and they continue to
  refuse reading basic docs
 
  which
  was explained to you many times by fedora moderators, trying to get
  you to change, all you had to do, and they would remove moderation,
  but you refused, so you deserve it, no one else to blame but yourself
 
  read the thread, they demanded to live by he fedora code of conduct
  even off-list and everywhere
 
  YOU ARE NOT THE VICTIM
 
  there do not need to be vitims at all
 
  blocked using
   bl.alt-backspace.org; This range is used by caustic Internet troll
  Harald
   Reindl h.rei...@thelounge.net / ACCESS DENIED - see
  http://www.alt-backspace.org/usage.php#misc (in reply to RCPT TO
  command)
 
  Awesome!  Thanks for that, I have just enabled bl.alt-backspace.org on
  our company servers
 
  you are a fool because you are blocking many other domains and most
  likely not a single message from me on a mailing-list because
  it arrives from the list-IP
 
  knowing that and using such a RBL on a company server should
  lead in you get fired because incompetence
 
 



Re: [Dovecot] Dovecot MTA

2013-11-11 Thread Edwardo Garcia
But is dovecot job to authenticate,  mysql replicate fine, it is dovecot
that is not fine by  ignoring desire effect by only talk localhost and not
any other unless locahost auth not respond.

Silly offer one option if it cause denial of service, again setting up more
third party  softwares is not answer, more cogs in chain, more chances of
breakage,  we think dropping server altogether is better if server auth not
work rather than overload master server because of dovecot design.



On Mon, Nov 11, 2013 at 6:30 PM, Robert Schetterer r...@sys4.de wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1



 Am 11.11.2013 06:24, schrieb Edwardo Garcia:
  My company have 36 dovecots, one biggest ISP in country 3 million
  user, agree with Nick  poster, we had stop use dovecot load balance
  because too bad effect on primary database, now use single
  localhost, we have script run every 30 second to test login, if
  fail sleep 30 second, try again, fail and down ethernet interface
  so hardware load balancer see server not answer and can not use,
  nagios soon tell us of problem, very very bad and stupid way, but
  only option is safe, we have look at alternative to dovecot for
  this and still look, not happy with unreliable softwares to
  immitate feature.
 
  big network mean big time locate and fix problem when arise so you
  be good to say no extra point of failure. Too many cog in chain
  eventually lead to problem.

 Wow thats big, and may have implications out of my scope, but database
 replication is not the job of dovecot, after all why not use
 loadbalancer like keepalived etc and setup proxies on them so you may
 combine check feaures from loadbalancers to target related dovecot
 proxies, which themselves conect to backhand dovecot servers, also its
 easy to monitor, for sure you may need some shared storage too, which
 is again not real related to dovecot , i tested ceph , so i think its
 possible to have seperate mount points with i.e ocfs2 for each domain.

 At the end ,for such big setups there should be enough budget to get
 things solved by hire specialists for each software part which is involved


 Best Regards
 MfG Robert Schetterer

 - --
 [*] sys4 AG

 http://sys4.de, +49 (89) 30 90 46 64
 Franziskanerstraße 15, 81669 München

 Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
 Aufsichtsratsvorsitzender: Florian Kirstein
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQEcBAEBAgAGBQJSgJWEAAoJEP8jBObu0LlEjpcIAKcZofBBiVGw9EqKzmEoGqTq
 y3A0CqnsmSmi21V5ofBlyrYpNSkusd+V2mKPFIUBoABwpFyWxUsQgO5n22lGX70+
 7Tkqa4ClBM7ImrXVfZ/uznkDlOwfIZGomIoouYPdm+4mq5oRVv+jmUv4PBg9fzi2
 6cVOG8WBMuLtx/vBJypWoixxd075pv0/mCXSHZvFL9Th8TAk39p73rZ+woJPcN3w
 Qb6EKNcaOvl9PNVzjpquDP9jWrynUCCp70sUAhnHqc0778m2Gjx5boj2kXpSpgPz
 Tro9F6UesJU62sAyjzled2Jm2XH5EuhAhwLOlUZP88B1N7Ijs7vHTfnWPQelnaM=
 =pBeW
 -END PGP SIGNATURE-



Re: [Dovecot] Dovecot MTA

2013-11-10 Thread Edwardo Garcia
My company have 36 dovecots, one biggest ISP in country 3 million user,
agree with Nick  poster, we had stop use dovecot load balance because too
bad effect on primary database, now use single localhost, we have script
run every 30 second to test login, if fail sleep 30 second, try again, fail
and down ethernet interface so hardware load balancer see server not answer
and can not use, nagios soon tell us of problem, very very bad and stupid
way, but only option is safe, we have look at alternative to dovecot for
this and still look, not happy with unreliable softwares to immitate
feature.

big network mean big time locate and fix problem when arise so you be good
to say no extra point of failure. Too many cog in chain eventually lead to
problem.

Timo pleaz reconsider feature


On Sun, Nov 10, 2013 at 4:21 PM, Nick Edwards nick.z.edwa...@gmail.comwrote:

 On 11/9/13, Timo Sirainen t...@iki.fi wrote:
  On 9.11.2013, at 5.11, Nick Edwards nick.z.edwa...@gmail.com wrote:
 
  On 11/9/13, Michael Kliewe mkli...@gmx.de wrote:
  Hi Timo,
 
  I would also, like others, see you mainly working on Dovecot as an IMAP
  server. As far as I can see there are many things on the roadmap, and I
  hope many more will be added (for example a built-in health-checker for
  director backends).
 
  Only if you have enough personal resources and Dovecot as an IMAP
 server
  will not loose your attention, I would love to see your expertise in
  making a better MTA.
 
  Yes, some of us have been waiting for some years now, for a
  configurable change to alter the method of dovecots method of
  failover, which is just load balancing between servers rather than
  true failover, like postix, I see now why it gets no importance.
 
  Ah, you’re talking about SQL connections. Had to look up from old mails
 what
  you were talking about. It hasn’t changed, because I think the current
  behavior with load balancing + failover is more useful than
 failover-only.
  And you can already do failover-only with an external load balancer.
 Sure,
  Dovecot could also implement it, but it’s not something I especially
 want to
  spend time on implementing.
 

 My employer has 18 pop3 servers, one imap customer access (imap here
 has so little use we cant justify a redundant machine, not for 11,
 yes, eleven only users after 2 years of offering imap , and 2 imap
 (webmail).

 Sp, each server has a replicated mysql database

 If I use your better method, I have 18 machines polling themselves
 and the MASTER server, this needlessly slams the daylights out of  the
 master as I'm sure even you can imagine.

 We have 4 customer relay smtp servers and 4 inbound smtp servers,
 postifx, using its failover and better method, means they only hit
 the master server when the local mysql unix socket is not listening,
 ie, mysqld  is stopped -  the master server NEVER sees them.

 How is your method, better than true failover like method used by
 postfix, your methods is load balancing, it is not failover, and
 causes problems on larger networks

 I'm sure in some cases most people using it are happy and wont have
 performance increases noticeable, but if you are going to offer a
 backup for auth, it really shoulds be able to configure, if we want it
 to DoS our master, or only talk to master when it cant talk local, so
 I think it should be matter you need to consider, else you are only
 half arsed doing it, and like implying we should go introduce a
 further point of failure, by using yet more third party softwares



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

2013-06-22 Thread Edwardo Garcia
I agree completely, I for one am also very sick of Harald's venomous
rhetoric on this list.  I am surprised that a moderator has not banned
Harald or officially warned him.

I am not one for such language, but I spent only five minutes googling
Harald, and I see what you have meant, perhaps as you alluded to, sometimes
you need to speak baby talk, to talk to baby.



On Sat, Jun 22, 2013 at 5:32 PM, Noel Butler noel.but...@ausics.net wrote:

 /me lowers myself to harrys level coz he might understand it

 only harry needs to read my reply, no one else should as your ears may
 burn :)

 On Sat, 2013-06-22 at 04:12 +0200, Reindl Harald wrote:

 
  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 lists and
  now come one and show me a abusive one or do yourself a favour
  and be quiet
 
  well, i have *zero* understanding for people using for years
  not supported software on public machines, well if this
  makes me to an asshole so it be - period
 
 




 be an asshole to yourself then idiot and keep your fucking mouth SHUT if
 you have nothing helpful to say, especially to those who are new or
 stuck on certain versions due to policies which you do not write or have
 any input on (thank christ), some may not know better and do NOT deserve
 to be spoken down at by some caustic fuckwit like you

 you of course are always welcome to have a say in a polite term to
 newbies etc assisting them by politely explaining why its best to not
 use such version or whatever - otherwise, fuck off and dont say a word
 to them, assholes like you give lists a bad name, sure I am NOT innocent
 in some respects to this, but at least I only attack the trolls and
 ranting idiots (like you, now),  but you however, attack anyone, and
 theres no excuse for THAT.




Re: [Dovecot] Dovecot mysql replication

2013-06-06 Thread Edwardo Garcia
It not be because Timo not agree with thiz for switching, if one software
not do what you need, you go look for one that does as other says, my
manager would command that, I expect you manager also command you same.

I have mail from list member who advize me of  broken 1.2 version where
thiz work in fallover mode, I successful using thiz version now on two
server.

I know version old and unsupported, but working very nice for how we need,
no more timeout message or delays for user logins all week, I am very happy
now.



On Thu, May 30, 2013 at 9:01 PM, Charles Marcus
cmar...@media-brokers.comwrote:

 On 2013-05-30 2:59 AM, Nick Edwards nick.z.edwa...@gmail.com wrote:

 nobody makes us dovecot true, but dovecot works fine and in perfect
 harmony with postfix, except this one option. I remember the earlier thread
 and have been waiting for this option, but now I see Timo has decided to
 drop the idea after earlier saying it would be beneficial, and seems some
 people have been waiting for long time for no reason, so maybe time to
 consider all other options, including server software.


 Oh, grow up.

 I can see if this was something that was super critical to a functioning -
 and I agree that it should be fixed to either work as expected (best), or
 no longer support the ability to add multiple hosts - but it isn't up to me
 or you.

 Just because 'some' people have been waiting for this feature, doesn't
 mean that it is important to everyone.

 Now, if you can provide evidence that a large percentage of people desire
 this feature and it is important enough to them that they might actually
 consider switching from dovecot to something else (but what choices do you
 have, really? I know I have no desire to switch back to courier-imap), then
 I think Timo may reconsider. In fact, he may already be doing so.

 But the bottom line is, there are other ways to achieve this feature, and
 I think it is plain silly and juvenile to threaten to switch from dovecot
 just because Timo doesn't agree with you.

 Oh - and of course, the very last point...

 This *is* open source software. I'd wager an entire months pay that if you
 coded up a solution and provided a working, properly coded patch (that
 isn't full of security holes and bad coding practices), Timo would
 accept/merge it.

 --

 Best regards,

 Charles





Re: [Dovecot] Load Balancing and HA

2013-06-06 Thread Edwardo Garcia
We tried one time software solution, not very reliable under load, we move
to coyotepoint equalizer hardware load balancer, very good cost and
excellent reliable


On Wed, May 29, 2013 at 7:23 AM, Romer Ventura rvent...@h-st.com wrote:

 Hello,



 I've been thinking about the best way to achieve load balancing and making
 my mail servers highly available. So far I believe I have 2 scenarios:

 Scenario1: This should allow any to lose any of the servers and clients
 still have access to their emails (although I am not sure how the indexes
 would react to this and sudden disconnection)

 -  2 Dovecot Proxy servers, using a virtual IP to where the clients
 will connect to from the WAN and LAN

 -  2 Dovecot+Postfix servers with local cache

 -  2 NFS servers and synced with dsync (mirror, 1 server writes to
 its own NFS and changes synced to the other via dsync)



 Scenario2: Pretty much as above on the back end. However, with this there
 is
 no way to load balance users.

 -  2 Dovecot+Postfix server with local cache

 -  2 NFS servers synced with dsync

 -  Make use of DNS MX record priority to provide access to
 secondary
 email server





 Anyone care to comment?



 Thanks.


 BR CLEAR=ALL
 hr style=border: 1px solid #CCC;
 p style=font-style:italic; font-size:8pt; font-family:verdana;
 color:gray;This document and attachments may contain technical data
 controlled under the U.S. International Traffic in Arms Regulations (ITAR)
 or the Export Administration Regulations (EAR) and may not be exported to a
 Foreign Person, either in the U.S. or abroad, without the proper
 authorization by the U.S. Department of State or Department of Commerce,
 whichever is applicable.
 CONFIDENTIALITY NOTE: This electronic transmission, including all
 attachments, is directed in confidence solely to the person(s) to whom it
 is addressed, or an authorized recipient, and may not otherwise be
 distributed, copied or disclosed. The contents of the transmission may also
 be subject to intellectual property rights and such rights are expressly
 claimed and are not waived. If you have received this transmission in
 error, please notify the sender immediately by return electronic
 transmission and then immediately delete this transmission, including all
 attachments, without copying, distributing or disclosing same.  The
 recipient should check this e-mail and any attachments for the presence of
 viruses. Houston Sigma Technologies L.P. accepts no liability for any
 damage caused by any virus transmitted by this e-mail./p




Re: [Dovecot] Dovecot mysql replication

2013-05-29 Thread Edwardo Garcia
As  oringanal poster, I agree with previouz comment, I too feel thiz
dovecot responsibile for thiz work handoff, or should delete ability to use
two host, people twitter I ask all along thought this how it work too!


On Wed, May 29, 2013 at 6:29 PM, Reindl Harald h.rei...@thelounge.netwrote:

 so better remove the option to specify more than one host
 instead let people run over years in troubles until they
 find out that a logical behavior like for postfix is not
 given for dovecot's mysql-connections - yes i was one of
 the who thought hey both works the same way until
 i realized that dovecot has no fun at reboot the replication
 slave which was intented only as failover and used regulary

 *it is* dovecots job if it offers more than one host
 to handle this in a useful way or not support more than
 one host, but you can't seriously say it's not dovecots job
 after having a half-baken support implemented

 Am 29.05.2013 02:52, schrieb Timo Sirainen:
  I haven't replied to most of the threads recently. Anyway, after
 thinking about this, I'm thinking this kind of connection fallback handling
 isn't really Dovecot's job. A load balancer could be configured to do it
 just as well (whereas LB couldn't do actual load balancing for multiple sql
 servers, because Dovecot uses long running TCP connections).
 
  On 29.5.2013, at 2.09, Noel Butler noel.but...@ausics.net wrote:
 
  But each additional link added to the chain, is one more point of
  failure, unless he's replied to OP privately I'm amazed Timo has ignored
  this, since its been brought up from time to time before, if he no
  longer plans on doing it, he should just say so, so people can look at
  complete alternatives, we are a long way passed early 1.2 series.
 
 
  On Sun, 2013-05-26 at 17:33 +0200, Daniel Parthey wrote:
 
  Edwardo Garcia wrote:
  Yes indeed, so it seem it does not do at all.
  For now we disable use two hosts, but thiz not optimum for network.
 
  You might try to put mysqlproxy in between dovecot and your mysql
 cluster
  and have dovecot connect to the failover proxy (or proxies) instead of
  connecting the database directly.
 
  mysqlproxy makes use of the lua scripting language, where you might
  want to implement the failover or filter mechanisms you need




[Dovecot] Dovecot mysql replication

2013-05-24 Thread Edwardo Garcia
Halo,

(First time posting, please forgive English is not native)

Change from Courier to Dovecot 2.1.16

Having two server.

Having mysql on thiz two server, one master, one slave.

What we wish is slave Dovecot only ask slave mysql, unless slave mysql not
work when then ask master, we have Postfix do thiz fallover good, but
Dovecot talk to slave and master no mater what, we think thiz defeat
fallover as we not want this aktion, but aktion like Postfix.

The problemo is can not find Dovecot option for thiz in wiki2.dovecot.org,
is possible?


Re: [Dovecot] Dovecot mysql replication

2013-05-24 Thread Edwardo Garcia
But mysql not problemo, it be Dovecot talk to both, do not want Dovecot to
talk to both at same time unless slave (local) copy die



On Fri, May 24, 2013 at 5:48 PM, Alex Crow ac...@integrafin.co.uk wrote:

 On 24/05/13 08:45, Edwardo Garcia wrote:

 Halo,

 (First time posting, please forgive English is not native)

 Change from Courier to Dovecot 2.1.16

 Having two server.

 Having mysql on thiz two server, one master, one slave.

 What we wish is slave Dovecot only ask slave mysql, unless slave mysql not
 work when then ask master, we have Postfix do thiz fallover good, but
 Dovecot talk to slave and master no mater what, we think thiz defeat
 fallover as we not want this aktion, but aktion like Postfix.

 The problemo is can not find Dovecot option for thiz in wiki2.dovecot.org
 ,
 is possible?


 You could set up MySQL in Dual Master mode instead

 Alex



Re: [Dovecot] Dovecot mysql replication

2013-05-24 Thread Edwardo Garcia
Halo Robert,

Yes indeed, so it seem it does not do at all.

Timo or other developer? Are you still plan introduce option? If so, may
ask what version?
For now we disable use two hosts, but thiz not optimum for network.




On Fri, May 24, 2013 at 5:57 PM, Robert Schetterer r...@sys4.de wrote:

 Am 24.05.2013 09:45, schrieb Edwardo Garcia:
  Halo,
 
  (First time posting, please forgive English is not native)
 
  Change from Courier to Dovecot 2.1.16
 
  Having two server.
 
  Having mysql on thiz two server, one master, one slave.
 
  What we wish is slave Dovecot only ask slave mysql, unless slave mysql
 not
  work when then ask master, we have Postfix do thiz fallover good, but
  Dovecot talk to slave and master no mater what, we think thiz defeat
  fallover as we not want this aktion, but aktion like Postfix.
 
  The problemo is can not find Dovecot option for thiz in
 wiki2.dovecot.org,
  is possible?
 

 i am not really up2date with your question, but last time, i was
 involved  with it, only kinda master/master solution did work, no
 problem here with it, but i wouldnt recommend it in general, also many
 new more database cluster tecs were anounced since my last install,
 so there may more recent news in that point, wait for other answers


 Best Regards
 MfG Robert Schetterer

 --
 [*] sys4 AG

 http://sys4.de, +49 (89) 30 90 46 64
 Franziskanerstraße 15, 81669 München

 Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
 Aufsichtsratsvorsitzender: Florian Kirstein



Re: [Dovecot] Dovecot mysql replication

2013-05-24 Thread Edwardo Garcia
Yes, thiz why the slave be localhost on same machine work many time faster,
backup host set for master database server as last resort fallover since
network traffic bottleneck

Hope Timo comment on option, so far he ignore thread, so maybe no plan now.


On Fri, May 24, 2013 at 6:24 PM, Reindl Harald h.rei...@thelounge.netwrote:


 Am 24.05.2013 09:52, schrieb Edwardo Garcia:
  But mysql not problemo, it be Dovecot talk to both, do not want Dovecot
 to
  talk to both at same time unless slave (local) copy die

 and this mostly for a good resason to support your argument

 if you configure localhost and the slave in postfix you
 can be sure in case of postfix that all day long localhost
 is used and only if it fails the slave over TCP/IP

 dovecot is using randomly the manitudes slower salve and
 to make it perfectly worse if you reboot the slave in the
 wrong moment you trigger errors on the dovecot side which
 is not the idea of having redundancy on the mysql side




Re: [Dovecot] Dovecot mysql replication

2013-05-24 Thread Edwardo Garcia
What version broken where thiz work like need? Maybe I try.


On Fri, May 24, 2013 at 7:48 PM, Noel Butler noel.but...@ausics.net wrote:

 On Fri, 2013-05-24 at 10:24 +0200, Reindl Harald wrote:

  Am 24.05.2013 09:52, schrieb Edwardo Garcia:
   But mysql not problemo, it be Dovecot talk to both, do not want
 Dovecot to
   talk to both at same time unless slave (local) copy die
 
  and this mostly for a good resason to support your argument
 
  if you configure localhost and the slave in postfix you
  can be sure in case of postfix that all day long localhost
  is used and only if it fails the slave over TCP/IP
 
  dovecot is using randomly the manitudes slower salve and
  to make it perfectly worse if you reboot the slave in the
  wrong moment you trigger errors on the dovecot side which
  is not the idea of having redundancy on the mysql side
 


 This is how an old broken dovecot used to work, then someone complained
 and Timo fixed it, I asked him nearly 2 years ago whn he fixed it, that
 since he was changing its behaviour, it would be beneficial for an
 option to make it work only in failover mode, he at the time said 
 might be usefulbut has said nothing more since, so NFI if he's even
 given it a second thought or even put it on his official todo list
 (since this was back in the 1.2.x days)