Re: lda or lmtp for sieve?

2024-01-21 Thread Patrick Domack via dovecot
lmtp/smtp Quoting Michael Peddemors : On 2024-01-21 04:43, Patrick Domack via dovecot wrote: Quoting Benny Pedersen : Christian Kivalo skrev den 2024-01-21 02:08: Just wish LMTP would not end up with duplicate Return-Path headers.. Duplicate return path headers? I don't see them on my

Re: lda or lmtp for sieve?

2024-01-21 Thread Patrick Domack via dovecot
Quoting Benny Pedersen : Christian Kivalo skrev den 2024-01-21 02:08: Just wish LMTP would not end up with duplicate Return-Path headers.. Duplicate return path headers? I don't see them on my system. All mail is sent from postfix to dovecot with lmtp it simply works better with lda ?

Re: Uncompress compressed messages in Maildir mailbox?

2024-01-20 Thread Patrick Domack via dovecot
Is it possible that those mails are missing the S= and/or W= size flags in the filename? I remember that being a requirement (the S= part, not sure if W= was required). I have stopped using maildir many years ago, and my script made sure S= was added to every email, where the script you

Re: Uncompress compressed messages in Maildir mailbox?

2024-01-17 Thread Patrick Domack via dovecot
Not really recommended editing the mailstorage directly once you start using dovecot custom stuff. If you need to fetch a specific email, I use: doveadm fetch -u u...@example.com text mailbox-guid $guid uid $uid Quoting acheka...@lazurit.com: Some time ago I enabled compression on incoming

Re: Multiple backends with NFSv4.1 (supports file locking): should work without Director, right?

2023-05-21 Thread Patrick Domack
I ran nfs3 with dovecot using dotlock and then nlm lock since 2008, never had an issue, using maildir. I moved to director arouns 2015, and then to mdbox to fix several performance issues. I have moved to nfs4 about 2years ago, but still using director and mdbox. For me to move without

Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Patrick Domack
, restarted dovecot, and it worked! I wasn't aware that I had first to backup and then sync to transfer all emails. Thanks again! Best regards Kenneth On Sun, 5 Feb 2023, Patrick Domack wrote: #copy mailbox, using new mail_location setting doveadm backup -u "${USER}" maildir:/home/

Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Patrick Domack
#copy mailbox, using new mail_location setting doveadm backup -u "${USER}" maildir:/home/${USERNAME}/Maildir/ doveadm sync -u "${USER}" maildir:/home/${USERNAME}/Maildir/ #Update user to use maildir instead of old method, update sql? mail_location=maildir:/home/${USERNAME}/Maildir/ doveadm

Re: Up to date dovecot packages on Ubuntu 22.4LTS

2023-01-11 Thread Patrick Domack
I generally publish newer version to my ubuntu ppa at: https://launchpad.net/~patrickdk/+archive/ubuntu/production I don't hit every single release though. But yes, only security updates are ever done to packages in released versions. that is how they keep it stable. The fastest releasing I

Re: Compression: all or nothing?

2022-11-30 Thread Patrick Domack
It's because it doesn't move email by email to alt storage, but the whole file. So the emails move as is, be them compressed or uncompressed. I think you could do what you want, but passing the correct options, but I don't think it would be easy to do. I would just store them compressed

Re: convert mdbox to maildir

2022-08-13 Thread Patrick Domack
Not sure what this had to do with the question asked. You're using mbox, but he is using mdbox. Postfix is unable to write to mdbox itself. Quoting justina colmena ~biz : *My* inbox gets filled with thousands of emails, more or less commercial content and trivial notifications from shopping

Re: doveadm mailbox status -u p...@scom.ca -t all (syntax)

2022-05-23 Thread Patrick Domack
Don't you mean: doveadm mailbox status -t all -u 'p...@scom.ca' '*' Quoting "Paul Kudla (SCOM.CA Internet Services Inc.)" : & # doveadm mailbox status -t all -u 'p...@scom.ca' 'p...@scom.ca' doveadm(p...@scom.ca): Error: Mailbox p...@scom.ca: Failed to lookup mailbox status: Character

Re: Simplifying Support of Virtual and System Users

2022-03-29 Thread Patrick Domack
I just use all virtual user accounts. these virtual users have a flag that I set, if I want that account to be a system account, for things such as ssh/shell/... usage. But a single user registry makes things much simpler than having several, and then attempting to integrate them into a

Re: LMTP Crash with Dovecot 2.3.18

2022-02-12 Thread Patrick Domack
I have checked my 6 dovecot servers that where upgraded a week ago to 2.3.18 and none of them have segfaults. Once is using squat, three using lucene, one using xapian, and two use nothing. 4 are running on ubuntu 20.04, one on ubuntu 14.04, and one on alpine 3.15 Quoting Bryan Jacobs :

Re: Scalability of Dovecot in the Cloud

2016-06-11 Thread Patrick Domack
This will depend on many more things also. 4 vcores, of unspecified dedication to your vm is not a good thing. If you use something like gzip/bz2/lzma for compression of the emails, will highly affect your cpu usage. Searching and indexing will affect your cpu usage. Quoting KT Walrus

Re: Blowfish hashed passwords

2016-06-04 Thread Patrick Domack
Quoting KT Walrus : (I subscribed to a daily digest for this list and can’t figure out how to reply to a reply.) Anyway, Aki Tuomi replied to my feature request saying: We support in latest 2.2 release MD5 MD5-CRYPT SHA SHA1 SHA256 SHA512 SMD5 SSHA SSHA256 SSHA512 PLAIN

Re: Ubuntu package - Was: Re: doveadm-server protocol change?

2016-05-31 Thread Patrick Domack
Those are my packages. I try to track each release, and bug fixed. But since those are mine, I'm really concerned with stability as it affects my enviroment. Mainly mdbox/maildir with gzip, at this present time. If someone lets me know of any issues, I will fix and adjust for it, but I'm

SSL on doveadm port

2016-05-15 Thread Patrick Domack
I have been attempting to setup ssl on the doveadm port. So far this works fine, as long as the global certificate is used. I wanted to use a different certificate, one that machines the machine name, instead of the generic mail certificate, but I have not been able to figure out how to

Re: Changing Password Schemes

2016-04-30 Thread Patrick Domack
This looks good, except it is truncated, it should be something like 95chars long, Is your hash column set to 128 or up around there or larger? Quoting Carl A Jeptha : Sorry for double reply, but this what a password looks like in the "hashed" password column:

Re: multiple recipient_delimiter

2016-03-31 Thread Patrick Domack
No, my patch still applies to make this happen though. It's just a one word/line patch. Quoting Jörg Backschues : Hello, does the recipient_delimiter option accepts multiple delimiter by now? -- Regards Jörg Backschues

Re: Postfix and Dovecot SASL - wiki update

2014-12-31 Thread Patrick Domack
Disabling chroot doesn't fix the issue, it just worked around it. Aparently your chroot is not configured correctly, likely using debian based system, and your resolv.conf in the chroot is not updated correctly. Quoting Dan Langille d...@langille.org: I wanted to mention I updated the

Re: Announce: Plugin for iOS Push Email support

2014-09-23 Thread Patrick Domack
What would happen if say, the dovegot xaps plugin is installed and the daemon crashed? Would peoples iphones just wait for the push notification? get email every like 30/60min? or would it just use imap idle instead? Just wondering about sideeffects :) Quoting Stefan Arentz

Re: Dovecot HA

2014-09-12 Thread Patrick Domack
Maybe to help alittle. This is two problems, so figure out what one to solve, or if you need to solve both. First is the datastore of the emails, second is the availability of the service to clients. Each has their own issues and requirements. Quoting Hoggins! fucks...@wheres5.com:

Re: outlook 2013

2014-09-09 Thread Patrick Domack
Quoting Bob Miller b...@computerisms.ca: I am trying really hard to wrap my head around why people insist on using this program... Where I have outlook 2013 users, I have had nothing but problems getting their mail to work with imap. my solution has been to set them up with pop, which works

Re: Master user and non-plaintext auth does not work

2014-09-01 Thread Patrick Domack
Quoting SATOH Fumiyasu fumi...@osstech.jp: I want to use CRAM-MD5 or DIGEST-MD5 (non-plaintext) authentication for master users, but Dovecot 2.2.13 rejects it with the following log: auth_mechanisms = plain login cram-md5 digest-md5 disable_plaintext_auth = yes

Re: OOM in Dovecot 2.2.13 imap

2014-07-14 Thread Patrick Domack
Just as a random follow up for other people that might google this. I also started to have this issue. I tried the two patches but they didn't help. I came to find out, this can also be caused from a disk full issue, atleast when using maildir. Quoting Timo Sirainen t...@iki.fi:

Pigeonhole sieve misfile

2014-07-12 Thread Patrick Domack
I'm having an issue with sieve putting some emails into the spam folder, that should not be matching the spam rule. I tried looking but can't seem to find a debug option. Is there any way I can get a log of what the sieve rule path that matches so I can locate the misfiring rule? or maybe

Re: [Dovecot] BLF-CRYPT passwords

2014-02-04 Thread Patrick Domack
If they where generated using crypt, why not tell dovecot to use crypt also? Quoting KT Walrus ke...@my.walr.us: I’m using the Dovecot Enterprise Edition on Centos 6.5, but Blowfish password hashes don’t seem to work. What can I do to enable Blowfish hashes for passwords? Maybe I don’t

Re: [Dovecot] recipient_delimiter -- feature request

2014-01-28 Thread Patrick Domack
To make it work the current way, is simple. --- a/src/lmtp/commands.c 2013-02-05 18:31:36.0 -0500 +++ b/src/lmtp/commands.c 2014-01-28 18:15:01.011677816 -0500 @@ -387,7 +387,7 @@ return; domain = strchr(address, '@'); - p = strstr(address,

Re: [Dovecot] recipient_delimiter -- feature request

2014-01-28 Thread Patrick Domack
Quoting Patrick Domack patric...@patrickdk.com: To make it work the current way, is simple. I would love for it though, to lookup and see if an mailbox exists with the delim first, then if it doesn't lookup just the username part. Quoting Andrew Ray and...@freedomlives.net: Hi

Re: [Dovecot] dovecot 2 in ubuntu 12.04 or Debian Squeeze

2013-03-18 Thread Patrick Domack
Are you sure you wheren't looking at the ldap communication for the username+password instead of imap? Is ldap configured to use ssl? Quoting pvsuja pvs...@gmail.com: Yes, proxy log says that its over TLS. but the server is receiving username and password in plain text. I verified it in

Re: [Dovecot] Integrating with Drupal SQL db

2013-03-11 Thread Patrick Domack
The issue is, drupal uses a custom password format. You could rewrite the password hashs that drupal uses, into a normal crypt ssha256 version, that dovecot will understand, but it will probably going be much easier, to just program it into dovecot to support it.

Re: [Dovecot] horde sync status ?

2012-10-05 Thread Patrick Domack
Quoting Reindl Harald h.rei...@thelounge.net: Am 05.10.2012 14:00, schrieb Spyros Tsiolis: Hello all, I had a quick look at the horde site and noticed that horde is being advertised as, let's say, smartphone friendly. Does anyone know if the newest horde version can talk to smart phones in

Re: [Dovecot] possible nfs issue

2012-10-03 Thread Patrick Domack
Maybe it's a cross program issue? We used to randomly have this happen a long time ago, when using postfix and dovecot. Since switching to using the dovecot lda/lmtp instead of postfix for mailbox delievery, I haven't seen this happen at all anymore. I'm not saying that postfix is at

Re: [Dovecot] v2.1 memory usage

2012-09-15 Thread Patrick Domack
Only have 650 imap clients this weekend, have to give it a try during a weekday. Total(MB) Avg(kB) Name 2 4 /lib/ld-2.11.1.so 2 4 /lib/libbz2.so.1.0.4 2 4 /lib/libc-2.11.1.so 63 96 /lib/libcrypto.so.0.9.8 2 4

Re: [Dovecot] blf-crypt

2012-08-22 Thread Patrick Domack
BLF-CRYPT has been part of glibc for a very very long time. it uses the blowfish crypt version, that have been changed like 4 times now, do to issues with it. I'm not sure why CRYPT wouldn't work for you, seems to work fine in my dovecot installs. I'm not sure where the dovecot 2.0 can

Re: [Dovecot] Howto add another disk storage

2012-07-08 Thread Patrick Domack
Quoting Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: I think there are optimal situations where any configuration looks good . . How often can a real-world disk actually deliver the 6Gbs when only a minority of disk reads are long sequential runs on the platters? none of hard drives

Re: [Dovecot] Howto add another disk storage

2012-07-08 Thread Patrick Domack
Quoting Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: is random seek latency. And the faster the spindle, the lower the latency. Thus 15k Seagate SAS drives are excellent candidates for mail store duty, as are any 10k or 15k drives. definitely not counting by $/IOPS rate. even worse

Re: [Dovecot] Hardware infrastructure for email system

2012-06-23 Thread Patrick Domack
Quoting Reindl Harald h.rei...@thelounge.net: Am 23.06.2012 13:09, schrieb Wojciech Puchar: it is already enormous overshoot in hardware specs. And i do not really catch why you have 4 in parallel servers. And finally i cannot understand this dividing of servers just to merging it back

Re: [Dovecot] Maildir filename has wrong S value

2012-05-20 Thread Patrick Domack
Quoting Ralf Hildebrandt ralf.hildebra...@charite.de: * Timo Sirainen t...@iki.fi: That file was fixed, but you probably have tons of them and it aborts after each one. With IMAP protocol there's really no other good way to do this. I guess if it notices one file being wrong it could just

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Patrick Domack
Quoting Timo Sirainen t...@iki.fi: On 4.4.2012, at 15.29, Jerry wrote: Now I use relay_transport = lmtp:unix:private/dovecot-lmtp. Even if I change this to lmtp:tcp:1.2.3.4:24 it is still only one director. I don't know if Postfix supports that. Typically people use a load balancer

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Patrick Domack
Quoting Timo Sirainen t...@iki.fi: On 4.4.2012, at 16.04, Patrick Westenberg wrote: Timo Sirainen schrieb: where lmtp.example.com expands to your two IP addresses. DNS server handles load balancing by returning IPs in round robin and Postfix handles fallbacking to the second IP if the

Re: [Dovecot] Dovecot stones

2012-04-01 Thread Patrick Domack
Quoting Timo Sirainen t...@iki.fi: For the last few days I've been thinking about my company and what it really should do, and as much as the current plan seems reasonable, I think in good conscience I really can't help but to bring up an alternative plan: The support for Dovecot is

Re: [Dovecot] 2.1: Error: Maildir filename has wrong S value, renamed the file from

2012-03-21 Thread Patrick Domack
Thanks, applied it to 2.1.3 and going to test. You didn't even give me enough time to look at the source myself to find the issue. Quoting Timo Sirainen t...@iki.fi: On 20.3.2012, at 16.55, Patrick Domack wrote: but in .Trash/cur since I upgraded from 2.0.19 to 2.1 they have double S

Re: [Dovecot] 2.1: Error: Maildir filename has wrong S value, renamed the file from

2012-03-21 Thread Patrick Domack
Quoting Timo Sirainen t...@iki.fi: On 21.3.2012, at 17.52, Ralf Hildebrandt wrote: * Timo Sirainen t...@iki.fi: It's renaming itself to itself again? Hmm. Yeah, this is a bit problematic for compressed mails. If the S=size isn't correct, Dovecot fixes it by stat()ing the file and using it

Re: [Dovecot] 2.1: Error: Maildir filename has wrong S value, renamed the file from

2012-03-20 Thread Patrick Domack
.M220929P17982.5013,S=24845,W=25526,S=24845,W=25526:2,Sa This is happening for all folder moves. the Sent folder isn't affected, but I assume cause an email wasn't moved in that case. Quoting Ralf Hildebrandt ralf.hildebra...@charite.de: * Patrick Domack patric...@patrickdk.com: I'm having this problem also

Re: [Dovecot] 2.1: Error: Maildir filename has wrong S value, renamed the file from

2012-03-19 Thread Patrick Domack
I'm having this problem also, with a very very few users. But in my case the email isn't double gzip, just single like normal. Error: read(.../.Deleted Messages/cur/1331840112.M186676P27974.5013:2,) failed: Input/output error (uid=250) All I have to do is rename the file to add back the

Re: [Dovecot] Storing passwords encrypted... bcrypt?

2012-01-05 Thread Patrick Domack
Quoting Noel Butler noel.but...@ausics.net: On Thu, 2012-01-05 at 04:05 +0100, Pascal Volk wrote: On 01/05/2012 03:36 AM Noel Butler wrote: Because with multiple servers, we store them all in (replicated) mysql :) (the same with postfix/dovecot). and as I'm sure you are aware, Apache

Re: [Dovecot] Storing passwords encrypted... bcrypt?

2012-01-04 Thread Patrick Domack
Quoting Noel Butler noel.but...@ausics.net: On Tue, 2012-01-03 at 20:58 -0500, Michael Orlitzky wrote: To prevent rainbow table attacks, salt your passwords. You can make them a little bit more difficult in plenty of ways, but salt is the /solution/. Agreed... We use Crypt::PasswdMD5 -

Re: [Dovecot] IMAP SPECIAL-USE extension

2011-12-06 Thread Patrick Domack
Yep, I only meant it in the crudest of forms. I'm sure defining the correct syntax will be the hard part. Quoting Stephan Bosch step...@rename-it.nl: Op 6-12-2011 16:00, Patrick Domack schreef: Guess the next nice step would be to get sieve scripts to be able to use the aliased special

Re: [Dovecot] Unique message IDs?

2011-11-23 Thread Patrick Domack
Quoting Alexander Chekalin acheka...@lazurit.com: With Maildir the message GUID is typically the same as the Maildir base filename (i.e. everything before ':' character). But what if I one day decide to convert my maildir's to mbox'es? I really plan to do such conversion in a while (as soon

Re: [Dovecot] Dovecot v2.0.13 unix_listeners

2011-11-13 Thread Patrick Domack
Heh? they pretty much do exactly as described. the service lmtp is how you inject email into dovecot using the lmtp protocol. the service auth is how you can authenicate user/password against dovecot, normally used in postfix for sasl auth the mode setting is just that, the file mode to set

Re: [Dovecot] To query two SQL tables for user verification over LMTP, should I use (a) two separate lookups? or (b) just one lookup with a boolean query?

2011-10-11 Thread Patrick Domack
. I can't find anything that wouldn't bounce using lmtp, in postfix or dovecot documentation. Quoting jake0...@airpost.net: Hey, On Monday, October 10, 2011 7:46 PM, Patrick Domack patric...@patrickdk.com wrote: I always keep it seperate, the user table is used by dovecot only

Re: [Dovecot] To query two SQL tables for user verification over LMTP, should I use (a) two separate lookups? or (b) just one lookup with a boolean query?

2011-10-11 Thread Patrick Domack
, and therefor it would bounce if lmtp says it's not a valid recipient. Quoting jake0...@airpost.net: On Tuesday, October 11, 2011 8:37 AM, Patrick Domack patric...@patrickdk.com wrote: postfix delivers to the user, and I don't do lmtp authentication, I just submit the email from postfix to lmtp. Ok

Re: [Dovecot] To query two SQL tables for user verification over LMTP, should I use (a) two separate lookups? or (b) just one lookup with a boolean query?

2011-10-10 Thread Patrick Domack
I always keep it seperate, the user table is used by dovecot only, and the alias table is used by postfix. And then for users, you just alias them to themselfs. Then everything exists in the alias table, and postfix knows all valid users, cause they all exist in the alias table. I just

Re: [Dovecot] What best decision to make for flatfiles or SQL when I use Dovecot2 + Postfix together?

2011-09-27 Thread Patrick Domack
For my personal email, I have a habit of having the sql server down for one reason or another. I just dump the sql tables to flatfiles on the email server, and a script runs every 15min and checks for updates if any exist. Works well. Another method would be to just keep it sql, but dump

Re: [Dovecot] What best decision to make for flatfiles or SQL when I use Dovecot2 + Postfix together?

2011-09-27 Thread Patrick Domack
Well, the info dovecot needs, it mailbox name/location, username, password, and quota, misc info. postfix will need email address to mailbox name mapping info. That is the very basic things you need. Using dovecot lda/lmtp you remove all postfix needs to know mailbox name to directory

Re: [Dovecot] What best decision to make for flatfiles or SQL when I use Dovecot2 + Postfix together?

2011-09-27 Thread Patrick Domack
sql fully, nothing interesting. My personal email is sql, but dumped to local flatfiles. And another system I pull the info from windows AD. Quoting terryjames9...@mm.st: Hello Patrick, On Tuesday, September 27, 2011 6:06 PM, Patrick Domack patric...@patrickdk.com wrote: Using dovecot

Re: [Dovecot] Trouble getting lda to gzip incomming mails (zlib plugin)

2011-09-20 Thread Patrick Domack
I thinking your mail_plugin_dir is not needed, I don't have it configured, and that path doesn't even exist on my system, maybe hangover from 1.x config? Quoting Helge Milde he...@monsternett.no: Hi! I've followed the guide at http://wiki2.dovecot.org/Plugins/Zlib to try to make Dovecot

Re: [Dovecot] OT - small hd recommendation

2011-08-30 Thread Patrick Domack
SATA 1 vs SATA 3 won't change the seek performance of the drive, unless your stay fully within the drives cache. Only 2 things affect how many iops you can get from a drive. The physical diameter and the speed. You can affect the physical diameter of the drive by selecting how much of the

Re: [Dovecot] File Permissions and delivery

2011-08-26 Thread Patrick Domack
My guess is your delivering email with postfix to the inbox, instead of using dovecot-lda. And something odd is going on with that postfix to get odd permissions like that. You probably needed to edit the postfix virtual deliever transport, or maybe you just forget to active the

Re: [Dovecot] File Permissions and delivery

2011-08-26 Thread Patrick Domack
Just adding that won't make dovecot use it though, you would have to include the postconf -n output. Normally something like virtual_transport=dovecot Quoting Simon Brereton simon.brere...@buongiorno.com: On 26 August 2011 19:35, Patrick Domack patric...@patrickdk.com wrote: My guess

Re: [Dovecot] Catch22: user needs space to fix out of space condition

2011-08-24 Thread Patrick Domack
Don't use dotlock files. Method that generally works nice also is to start rejecting email for the user when they are at 99% capacity, so you leave just alittle room for that kind of thing left. Quoting Joseph Tam jtam.h...@gmail.com: A mail user reported that he filled up his INBOX

Re: [Dovecot] Large Mailbox Slow

2011-08-22 Thread Patrick Domack
Only thing that comes to my mind is to use shorter uidl's to id each email, not sure what method your using now. I would seriously consider just changing it to use imap instead, then you can be notified if there is a new email, instead of downloading the list each time. Quoting Matt

Re: [Dovecot] Unknown setting: service

2011-08-11 Thread Patrick Domack
Ya, would have to be one of the namespace }'s is missing, as they are right before mail_uid/gid Quoting Remy Zandwijk r...@luckyhands.nl: On 11.08.2011 16:06 , Patrick Westenberg wrote: Hi guys, I setup a new box with Debian Squeeze 64bit and installed dovecot from the sources. However, I

Re: [Dovecot] mail delivery location wrong

2011-08-08 Thread Patrick Domack
looks like your missing the -d option to lda. Quoting Firma Averlon i...@averlon.net: Hi, thanks for offering the oportunity to place a question here. I am now already working since a week to get postfix and dovecot working on a ubuntu 11.04 server. Hard task. First step was naturally to get

Re: [Dovecot] sievec - manual compile of global sieve scripts?

2011-08-02 Thread Patrick Domack
Mine has always behaved like this. It looks up the root user in the auth database from the dovecot config, and attemps to change to that user, and in this type of case that would be vmail. Then it attempts to check the mail_home and kind of fails, unless you give vmail permission to that

Re: [Dovecot] Performance with 200k messages in Maildir

2011-07-18 Thread Patrick Domack
that is hardly worth considering the load :) Running spamassassin/clamav will use more load than dovecot would. Probably using mutt directly against the mailstore might not be good, but I have no issues with my own mailstore around that size. Quoting Vegard Svanberg veg...@svanberg.no:

Re: [Dovecot] redirect IMAP -- IMAPS

2011-07-08 Thread Patrick Domack
This isn't http, there is no redirect command. Also the two protocols are completely different and non-compatable. The normal option for this is to just require encryption, then if they use normal IMAP and attempt to do anything except secure it using TLS, the connection gets dropped.

Re: [Dovecot] Virtual Servers

2011-06-27 Thread Patrick Domack
I wouldn't worry about *duplicate cache* as far as disk goes at all. This duplicate cache is only going to benifit your vm, if the host machine has enough left over ram. If the host machine doesn't have enough ram, there won't be any cache to worry about. I think this also only applies

Re: [Dovecot] postfix dovecot spamassassin question

2011-06-12 Thread Patrick Domack
amavisd-new mailling lists :) amavis only adds the spamass headers to LOCAL domains, so you need to define your domains as local. Quoting Dhaval Patel dha...@patel.sh: So I setup amavis-new and configured postfix/spamassassin/amavis. Mail is still delivered properly but I do not see the

Re: [Dovecot] zlib

2011-05-22 Thread Patrick Domack
only enable the plugin for pop and imap, but not lda or lmtp modes. Quoting Daniel L. Miller dmil...@amfes.com: How can I enable zlib for reading compressed messages but not writing? -- Daniel

Re: [Dovecot] May 05 07:20:21 imap: Warning: Time jumped forwards 16 seconds

2011-05-05 Thread Patrick Domack
ntp isn't a magical fix. You need a good selection of source servers, or local time sources for it to pick a steady reliable time to use. Also, if the clock in your computer drifts too much, ntp will refuse to correct it or keep it in sync at all. Quoting Frank Bonnet f.bon...@esiee.fr:

Re: [Dovecot] Outlook Calendar Connector Question

2011-04-28 Thread Patrick Domack
I would seriously doubt it, as dovecot doesn't do calendar's. Quoting Jake Johnson jakej1...@gmail.com: Is there a freeware or opensource calendar connector that will work with Dovecot? Any suggestions would be appreciated. Thanks.

Re: [Dovecot] LDA vs LMTP, Cyrus SASL, verbose_proctitle

2011-04-08 Thread Patrick Domack
Quoting Charles Marcus cmar...@media-brokers.com: On 2011-04-07 11:38 PM, Patrick Domack wrote: The paramaters that get passed, while not that hard, can be interesting to setup, it seems lmtp passes much more info than you could pass to the deliver-lda program on the command line. The only

Re: [Dovecot] mysql lookup on another host performance q?

2011-04-08 Thread Patrick Domack
For my small setups of less than a few thousand users, I make a small script that will dump the db tables to flatfiles. This goes for postfix, and dovecot, with dovecot using the passwd file backend. I did this for a few reasons at first, mainly cause I had to split my mysql and mail

Re: [Dovecot] LDA vs LMTP, Cyrus SASL, verbose_proctitle

2011-04-07 Thread Patrick Domack
Quoting Joseph Tam jtam.h...@gmail.com: Is there a reason I should prefer LMTP over LDA for local delivery? Performance? Security? The Wiki doesn't differentiates LMTP vs LDA with respect to sendmail configuration, so am I correct that I just need to replace mail.local with dovecot-lda, which

Re: [Dovecot] doveadm

2011-03-29 Thread Patrick Domack
It doesn't exist. doveadm belongs in dovecot 2.x, but ubuntu only has 1.x versions. Quoting Walt Shekrota ws...@penguinacity.org: Hi Where does this utility reside for installation. I use Ubuntu and installed dovecot-imapd and dovecot-pop3d so far. Does it now ship in the regular dovecot

[Dovecot] POP3 with mdbox

2011-03-07 Thread Patrick Domack
I converted all my box's over to mdbox, from maildir and ran into this issue, I knew exactly what it was and fixed it, but might want to log a config error or something for others to notice the issue. I was running with pop3_uidl_format = %f, and well, that doesn't work with mdbox very

Re: [Dovecot] cluster with dsync mirror

2010-08-16 Thread Patrick Domack
I used a setup like this, to sync mail between 3 different datacenters, in a multimaster setup. For this I used unison, running every 28seconds. And it worked well for two years, before I changed to a better approach. Older versions of dovecot didn't like the moves very much (pre 1.0), but

Re: [Dovecot] Maildir over NFS

2010-08-06 Thread Patrick Domack
Quoting CJ Keist cj.ke...@colostate.edu: I'm working on bring up a new mail server to replace our current one. Our current mail server is running dovecot 1.1.16, with postfix using mbox format. User inboxes are stored locally on the mail server and all other mail folders in users home

Re: [Dovecot] dovecot evaluation on a 30 gb mailbox

2010-06-24 Thread Patrick Domack
In my measurements I did years ago, I found imapproxy to give a small improvement compared to 0.9x dovecot, I believe that went away in 1.x versions. I did use imapproxy on a few systems. But over time I finally gave up on it, mainly cause it kept crashing, causing webmail to stop working,

Re: [Dovecot] CRYPT scheme and 8 character limit

2010-05-08 Thread Patrick Domack
I think your just alittle confused. There are two crypts basically, the crypt function, and the crypt hash. The crypt hash has the 8 letter limit for the most part and is not really used anymore. when you specify {CRYPT}, dovecot just uses the crypt function, from libc or libcrypt, and

Re: [Dovecot] salted passwords

2010-02-16 Thread Patrick Domack
Why not make it easy on yourself. Just let dovecot use crypt, and use whatever format your system crypt supports. Personally I'm using 16byte salt, sha512 for mine this way. Seems should work with everything, that lets you use the system's crypt. Quoting Leonardo Rodrigues

Re: [Dovecot] mdbox compression

2010-02-05 Thread Patrick Domack
It's the real question of where the file is stored. For me, using nfs, using compression given me several times the performance of nfs, vs not using compression, for html files. I would imagine the same benifits with email. I would say something very close to the same with mdbox, if it's

Re: [Dovecot] handling filename of compressed messages

2010-01-14 Thread Patrick Domack
Quoting Eduardo M KALINOWSKI edua...@kalinowski.com.br: On Qui, 14 Jan 2010, Leonardo Rodrigues wrote: got it so, basically, i shouldnt be using .gz at all, is that ok ? Yes. i understood that, when moving from new to cur, filename should be appended of ':2,'. But filenames on

Re: [Dovecot] First time Dovecot user, really impressed so far. What is best IMAP enabled webmail package to go with Dovecot?

2010-01-04 Thread Patrick Domack
I also like horde, but I will say it's not exactly an easy learning curve for most people. The new dimp client makes things easier, while losing lots of features. For simple, and easy to install roundcube is the way to go. If you want max power from a webmail package, defently horde.

Re: [Dovecot] VZW Blackberry BIS problems?

2009-10-20 Thread Patrick Domack
Hmm, I haven't had any issues with BIS or BES users. But I checked my config and I have: mailbox_idle_check_interval = 120 I did that for other purposes, guess that just fixed it for me, before bis ever started using the idle command. Quoting B. Cook bc...@poughkeepsieschools.org: Ever

Re: [Dovecot] testing needed

2009-10-19 Thread Patrick Domack
Sucess on freebsd-6.2 Sucess on Linux 2.4.20 sparc64 The most out of date, oddball systems I have logins too. Quoting Timo Sirainen t...@iki.fi: Can someone find an OS where the attached program doesn't work? It should print success. So far tested for success: Linux 2.6, Solaris 10, FreeBSD

Re: [Dovecot] Detect client application

2009-10-18 Thread Patrick Domack
I wonder if p0f would help at all, guess it depends what kind/if any proxy exists between the mobile device and the server Quoting Thu NGUYEN nta...@tma.com.vn: Yah, thanks! I see HTTP can detect the OS but seems IMAP is new. So there is no way actually -- Regards, Thu NGUYEN On Fri,

Re: [Dovecot] Is it possible to authenticate against Active Direcotry using the whole e-mail?

2009-10-07 Thread Patrick Domack
Yes, it's possible to do this. But not possible using auth_bind. You are going have to login using an administrator account, then do an ldap search for the email address, then authenicate against it. Using auth_bind requires you to know the username before you login.

Re: [Dovecot] [SOLVED] Re: Is it possible to authenticate against Active Direcotry using the whole e-mail?

2009-10-07 Thread Patrick Domack
pass_filter = ( (objectclass=User) (objectCategory=Person) (mail=%u)) Active Directory, as far as I know, by no means exposes users passwords to third party applications or services. Thanks in advance Dimitrios O/H ? ??? ??: O/H Patrick Domack ??: Yes, it's possible

Re: [Dovecot] Time just moved backwards in Dovecot in a Xen DomU

2009-10-06 Thread Patrick Domack
Hmm, I have been running dovecot inside xen for almost 3 years now without any time issues. I checked my logs and I have no ntp time reset messages for the last month. I think it's more possible ntp is stepping the time instead of slewing it (http://www.ntp.org/ntpfaq/NTP-s-algo.htm

Re: [Dovecot] How to calculate auth_cache_size ?

2009-10-06 Thread Patrick Domack
I don't think you need to use anything very scientific. Too high shouldn't hurt, I don't think memory is allocated needlessly. The cache timeout value is probably more performance worthwile. But to calc, I would go with about the number of logins you get per 5 or 10min. I would think any

Re: [Dovecot] Time just moved backwards in Dovecot in a Xen DomU

2009-10-06 Thread Patrick Domack
This reminds me of an odd issue I had also, where mine stepped at a given amount per time too. In the datacenter one server was at limited it to 10mbit half duplex, and I had endless ntp issues. I could only replicate this offsite with the same server using 10mbit and fully saturating the

Re: [Dovecot] Time just moved backwards in Dovecot in a Xen DomU

2009-10-06 Thread Patrick Domack
If you notice in your ntpq dumps you did, you have 400ms of jitter. That is a hell of alot. I dunno if it makes a difference but you used 3 servers from the same edu, and they have 90ms on them, shouldn't matter, if they where the only ones with jitter I would replace them, but all 4 of your

Re: [Dovecot] Time just moved backwards in Dovecot in a Xen DomU

2009-10-06 Thread Patrick Domack
Hmm, I forgot to respond to this :) I believe it's working for you, cause you last set dom0 to use it's own clock, instead of xen, so now dom0's clock is getting synced via ntp. BUT the ALL of your domU's now, have no time sync. If your clock in your computer is good, then all is fine

[Dovecot] Fwd: Re: Time just moved backwards in Dovecot in a Xen DomU

2009-10-06 Thread Patrick Domack
...@patrickdk.com - Date: Tue, 06 Oct 2009 23:31:37 -0400 From: Patrick Domack patric...@patrickdk.com Subject: Re: [Dovecot] Time just moved backwards in Dovecot in a Xen DomU To: Noel Butler noel.but...@ausics.net yes, using a pool server for that isn't good. but atleast it will let

Re: [Dovecot] Password and special caracter

2009-10-01 Thread Patrick Domack
Doubtful it's an smtp issue, as all authenication over smtp uses base64 I'll see if I can cause the issue in my setup though. Quoting Joseph Yee j...@ca.afilias.info: Sounds more like SASL than Dovecot. I had my Dovecot authenticate against DB in UTF8 encoding, and it can handle Chinese

Re: [Dovecot] Password and special caracter

2009-10-01 Thread Patrick Domack
Seems to all be working for me. I tested using the password: te...@#$%^*é My first test was using postfix - dovecot - mysql This was to verify if sending email via postfix would make it to dovecot and though dovecot without getting messed up. Test passed. My next test was to setup dovecot

Re: [Dovecot] compressed IMAP traffic

2009-09-28 Thread Patrick Domack
Hmm, strange results. My dovecot compiled on freebsd using openssl doesn't do compression. But my dovecot compiled on redhat using openssl does do it. redhat openssl 0.9.8b freebsd openssl 0.9.7e (really old) Quoting Ed W li...@wildgooses.com: Timo Sirainen wrote: On Sep 22, 2009, at 9:08

  1   2   >