How to detect out-of-sync condition

2015-03-12 Thread Cliff Hayes
Hello list, I recently had a user whose mailbox had gone out of sync. Webmail and client inbox totals had become vastly different and response times had become unacceptable. A doveadm force-resync fixed the problem nicely. This will no doubt happen again as we grow the service and I would like

Re: How to detect out-of-sync condition

2015-03-12 Thread Cliff Hayes
index last update was 16 days ago. So am I resyncing if the gap is over x days? If so, is there a way to resync just those mailboxes with a doveadm command or do I have to write a program look for that condition and run doveadm when matched? Cliff Hayes writes: > I recently had a user whos

Re: How to detect out-of-sync condition

2015-03-13 Thread Cliff Hayes
SSAGE- Hash: SHA1 On Thu, 12 Mar 2015, Cliff Hayes wrote: I recently had a user whose mailbox had gone out of sync. There are no log entries about broken sync or something something like that? - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEVAwUBVQKaP3z1H7kL/d9rAQ

Re: How to detect out-of-sync condition

2015-03-13 Thread Cliff Hayes
I searched with your recommended criteria and there was nothing relevant returned. On 3/13/2015 8:36 AM, Reindl Harald wrote: Am 13.03.2015 um 14:29 schrieb Cliff Hayes: I looked in the place where dovecot logs everything ... the maillog. I didn't see anything but the log is huge and I

Re: How to detect out-of-sync condition

2015-03-13 Thread Cliff Hayes
: SHA1 On Fri, 13 Mar 2015, Reindl Harald wrote: Am 13.03.2015 um 14:29 schrieb Cliff Hayes: I looked in the place where dovecot logs everything ... the maillog. Are you sure about maillog? I mean: doveadm log find gives you that file? I didn't see anything but the log is huge and I

Re: How to detect out-of-sync condition

2015-03-13 Thread Cliff Hayes
wrote: On Fri, 13 Mar 2015, Cliff Hayes writes: By closing off other avenues other than dovecot imap/pop/lda/etc., the indices will stay sync'd. I use dovecot's lda and dovecot's sieve filter. Then I'm not sure how mailboxes ever get out of sync. So it looks like I nee

passwd file for quota

2015-03-16 Thread Cliff Hayes
I need to implement quota. I read as much as I could including http://wiki2.dovecot.org/HowTo/SimpleVirtualInstall But my current /etc/passwd file does not have the password in it as shown in dovecot docs ... there is an x where the password should be. I created a program that creates a passwd fi

Re: passwd file for quota

2015-03-17 Thread Cliff Hayes
am ... so I don't think I should change that. On 3/17/2015 2:20 AM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 16 Mar 2015, Cliff Hayes wrote: password should be). I plan to store it in /etc/dovecot How do I get dovecot to stop looking at /etc/passwd and

Re: passwd file for quota

2015-03-18 Thread Cliff Hayes
Thanks! That Worked :) On 3/18/2015 1:17 AM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 17 Mar 2015, Cliff Hayes wrote: Yes and No. It's confusing to me which is why I ask. Per my initial email my password source is PAM. It's the userdb I'm

sieve permission problem with dovecot.svbin

2015-05-21 Thread Cliff Hayes
Hello list, I am starting to see these in maillog: dovecot: lmtp(31949, dwright): Error: kXK3KnTpXFXNfAAAU+Cu/Q: sieve: binary open: failed to open: open(/var/spool/mail/dwright/.dovecot.svbin) failed: Permission denied (euid=520(dwright) egid=12(mail) missing +r perm: /var/spool/mail/dwrigh

[Dovecot] Fedora 16 configuration

2012-02-07 Thread Cliff Hayes
Hello, I am trying to get dovecot to work on a fedora 16 install with sendmail. I have been able to get it to work in the past with dovecot.conf but not with the new conf.d directory and associated config files. I keep seeing this in maillog: Feb 7 14:28:59 sendmail dovecot: pop3-login: Aborted

[Dovecot] Logging to messages instead of secure

2012-02-13 Thread Cliff Hayes
I need to log to /var/log/messages instead of /var/log/secure on a fedora system. Is this the correct entry for dovecot.conf? syslog_facility = info

[Dovecot] Panic: Message unexpectedly expunged from index

2009-11-15 Thread Cliff Hayes
Hello, I just installed Fedora 11 with Dovecot 1.2.6 and am now seeing a steady stream of these in maillog: Nov 15 15:52:03 sendmail dovecot: POP3(): Panic: Message unexpectedly expunged from index Nov 15 15:52:03 sendmail dovecot: POP3(): Raw backtrace: pop3 [0x4930ab] -> pop3 [0x493123] -> pop3

[Dovecot] FW: Panic: Message unexpectedly expunged from index

2009-11-15 Thread Cliff Hayes
@dovecot.org [mailto:dovecot-bounces+chayes=afo@dovecot.org]on Behalf Of Cliff Hayes Sent: Sunday, November 15, 2009 4:02 PM To: dovecot@dovecot.org Subject: [Dovecot] Panic: Message unexpectedly expunged from index Hello, I just installed Fedora 11 with Dovecot 1.2.6 and am now seeing a

Re: [Dovecot] FW: Panic: Message unexpectedly expunged from index

2009-11-16 Thread Cliff Hayes
, November 16, 2009 12:04 PM To: Cliff Hayes Cc: dovecot@dovecot.org Subject: Re: [Dovecot] FW: Panic: Message unexpectedly expunged from index On Sun, 2009-11-15 at 17:05 -0600, Cliff Hayes wrote: > Nevermind. I figured it out. I left off the INDEX command. Sorry to spam > the mail list :( >

Re: [Dovecot] FW: Panic: Message unexpectedly expunged from index

2009-11-16 Thread Cliff Hayes
From: dovecot-bounces+chayes=afo@dovecot.org [mailto:dovecot-bounces+chayes=afo@dovecot.org]on Behalf Of Timo Sirainen Sent: Monday, November 16, 2009 6:04 PM To: Cliff Hayes Cc: Dovecot Mailing List Subject: Re: [Dovecot] FW: Panic: Message unexpectedly expunged from index Well, that just wou

[Dovecot] setting up home directories

2009-11-16 Thread Cliff Hayes
Hello, I have not been using the home directory but I read in MailLocation.txt that I probably should. Does dovecot create each directory? What does it put in there? My server uses mbox format. My users all look like this: [r...@sendmail log]# finger chayes Login: chayes

Re: [Dovecot] FW: Panic: Message unexpectedly expunged from index

2009-11-17 Thread Cliff Hayes
That's just one example. Thanks though :) -Original Message- From: dovecot-bounces+chayes=afo@dovecot.org [mailto:dovecot-bounces+chayes=afo@dovecot.org]on Behalf Of Charles Marcus Sent: Tuesday, November 17, 2009 5:04 AM To: Cliff Hayes Cc: Dovecot Mailing List Subject: Re: [Dove

[Dovecot] Question about log entries

2009-12-29 Thread Cliff Hayes
Hello, What does this information mean and how is it relevant? I cannot find documentation other than a brief description in dovecot.conf: %t - number of TOP commands %p - number of bytes sent to client as a result of TOP command %r - number of RETR commands %b - number of bytes sent to client as

auth with entire email addr instead of just username

2014-10-02 Thread Cliff Hayes
I am trying to configure a new IMAP based mail server. I thought I had everything correct. I have dovecot logging turned up and see that dovecot is processing the entire email address as the username like this... Oct 2 14:52:20 servername dovecot: auth: Debug: pam(testu...@domain.com,1.2.3.4):

Re: auth with entire email addr instead of just username

2014-10-02 Thread Cliff Hayes
prefix = separator = . subscriptions = yes type = private } passdb { driver = pam } protocols = imap ssl_ca = Am 02.10.2014 um 22:13 schrieb Cliff Hayes: I am trying to configure a new IMAP based mail server. I thought I had everything correct. I have dovecot logging turned up and

Fwd: Re: auth with entire email addr instead of just username

2014-10-02 Thread Cliff Hayes
ist-Help: <mailto:dovecot-requ...@dovecot.org?subject=help> List-Subscribe: <http://dovecot.org/cgi-bin/mailman/listinfo/dovecot>, <mailto:dovecot-requ...@dovecot.org?subject=subscribe> Errors-To: dovecot-boun...@dovecot.org Sender: "dovecot" X-Scanned-B

Permissions problem on new installation

2014-10-15 Thread Cliff Hayes
I am setting up a new mail server using imap only on Scientific Linux 6.5 and dovecot 2.0.9. How do I fix this problem? I keep getting these errors regardless of permissions ... even up to 777. Oct 15 13:56:01 avalon dovecot: imap(cha...@domain.tld): Error: opendir(/var/email/cha...@domain.tl

Re: Permissions problem on new installation

2014-10-15 Thread Cliff Hayes
Please disregard. selinux was blocking. On 10/15/2014 2:10 PM, Cliff Hayes wrote: I am setting up a new mail server using imap only on Scientific Linux 6.5 and dovecot 2.0.9. How do I fix this problem? I keep getting these errors regardless of permissions ... even up to 777. Oct 15 13:56:01

Unable to get virtual users set up with database auth

2014-10-15 Thread Cliff Hayes
I can't seem to get imap virtual users to work with database authentication on new Scientific Linux 6.5 server with Sendmail 8.14.4 & Dovecot 2.0.9 Apparently I have to also create system users because sendmail/procmail/dovecot want to check directory ownership. So I created a database, made ent

Unable to get virtual users set up with database auth

2014-10-16 Thread Cliff Hayes
I can't seem to get imap virtual users to work with database authentication on new Scientific Linux 6.5 server with Sendmail 8.14.4 & Dovecot 2.0.9 Apparently I have to also create system users because sendmail/procmail/dovecot want to check directory ownership. So I created a database, made e

Re: Unable to get virtual users set up with database auth

2014-10-16 Thread Cliff Hayes
I tried both ways with same result. I tried just returning the username as well. On 10/16/2014 10:45 AM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 16 Oct 2014, Cliff Hayes wrote: But %u always contains just chayes instead of cha...@domain.tld even though I

Re: Unable to get virtual users set up with database auth

2014-10-16 Thread Cliff Hayes
t: lda(chayes): Fatal: Invalid user settings. Refer to server log for more information. On 10/16/2014 10:45 AM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 16 Oct 2014, Cliff Hayes wrote: But %u always contains just chayes instead of cha...@domain.tld e

dictionary attack defense

2014-10-21 Thread Cliff Hayes
Does dovecot have any dictionary attack defenses yet? In the past I have had to implement defense from outside dovecot, but since dovecot is at the front lines and therefore is the first to know I'm hoping by now there is something we can set. For example, a limit on access failures per minut/

Re: dictionary attack defense

2014-10-21 Thread Cliff Hayes
as fast as he wants? Is it per user or per IP? b) I'm familiar with mail_max_userip_connections = x, but I'm not familiar with the time limit you mention. On 10/21/2014 5:02 PM, Reindl Harald wrote: Am 21.10.2014 um 23:28 schrieb Cliff Hayes: Does dovecot have any dictionary at

Re: dictionary attack defense

2014-10-22 Thread Cliff Hayes
Good idea! Thanks! On 10/22/2014 3:55 AM, Reindl Harald wrote: Am 22.10.2014 um 05:59 schrieb Cliff Hayes: a) I read about auth_failure_delay even before I posted my question and I could not figure out the one-line explanation in the dovecot wiki: "Number of seconds to delay before rep

mail location change generates various errors

2014-11-06 Thread Cliff Hayes
I have a sendmail/dovecot imap/pop3 system that has been running with the following mail_location: mail_location = mbox:/var/empty:INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%u In order to reduce errors and simplify operation I removed imap and am now only responding to pop3. I'd like to a

mail location change results in various errors

2014-11-07 Thread Cliff Hayes
I have a sendmail/dovecot imap/pop3 system that has been running with the following mail_location: mail_location = mbox:/var/empty:INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%u In order to reduce errors and simplify operation I removed imap and am now only responding to pop3. I'd like to

mail location change results in various errors

2014-11-10 Thread Cliff Hayes
I have a sendmail/dovecot imap/pop3 system that has been running with the following mail_location: mail_location = mbox:/var/empty:INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%u In order to reduce errors and simplify operation I removed imap and am now only responding to pop3. I'd like t

automatically create Spam mailbox

2014-11-13 Thread Cliff Hayes
I am trying to set up dovecot to automatically create a Spam mailbox for every user. http://wiki2.dovecot.org/MailboxSettings shows how to do this but not what config file to put it in so I assume 10-mail.conf. When I put it in there as follows... namespace inbox { mailbox Spam { auto =

pigeonhole - how to whitelist

2015-01-15 Thread Cliff Hayes
Hello, When new users are added we start them with a spam rule that routes spam to their junk folder. I don't see a way to assign priority ... so how does a user whitelist a spam-flagged email? Are the rules applied in some order? Alphabetically perhaps? If so I can name the spam rule z-sp

Re: pigeonhole - how to whitelist

2015-01-16 Thread Cliff Hayes
SHA1 On Thu, 15 Jan 2015, Cliff Hayes wrote: When new users are added we start them with a spam rule that routes spam to their junk folder. I don't see a way to assign priority ... so how does a user whitelist a spam-flagged email? Are the rules applied in some order? Alphabetically perhaps

Outlook renames Junk folder

2019-06-12 Thread Cliff Hayes via dovecot
Hello, Some versions of Outlook will randomly rename the Junk folder to Junk Email. This of course causes errors because Dovecot can no longer store junk. I go in to Outlook for each user and add another Junk folder, so now they have Junk and Junk Email. This fix action lasts a while until O

Re: Outlook renames Junk folder

2019-06-13 Thread Cliff Hayes via dovecot
) { IF (DESTINATION FOLDER DOES NOT EXIST) { ATTEMPT TO STORE EMAIL IN "Junk Email" FOLDER On 6/13/2019 3:35 AM, Sami Ketola via dovecot wrote: On 12 Jun 2019, at 23.01, Cliff Hayes via dovecot <mailto:dovecot@dovecot.org>> wrote: Hello, Some versions of Outlook will