Errors and dovecot crashing...

2017-12-06 Thread SH Development
Our production dovecot/postfix server has been stable for a number of years.  
In the last month or so, we are seeing increasing errors such as these:

Dec  6 15:51:20 mail dovecot: imap(redac...@lilythicket.com): Warning: 
Transaction log file 
/home/vmail/lilythicket.com/diana/Maildir/dovecot.index.log was locked for 322 
seconds
Dec  6 15:50:54 mail dovecot: imap(redac...@theormans.com): Warning: Maildir 
/home/vmail/theormans.com/connieorman/Maildir/.Junk: Synchronization took 66 
seconds (1 new msgs, 0 flag change attempts, 0 expunge attempts)
Dec  6 15:51:43 mail dovecot: master: Error: service(pop3-login): Initial 
status notification not received in 30 seconds, killing the process
Dec  6 15:51:43 mail dovecot: master: Error: service(pop3-login): command 
startup failed, throttling
Dec  6 15:51:43 mail dovecot: master: Error: service(imap-login): child 5868 
killed with signal 9
Dec  6 15:51:43 mail dovecot: master: Error: service(imap-login): command 
startup failed, throttling
Dec  6 15:55:31 mail dovecot: imap-login: Fatal: Corrupted SSL 
ssl-parameters.dat in state_dir: Truncated file
Dec  6 15:55:32 mail dovecot: pop3-login: Fatal: Error reading configuration: 
Timeout reading config from /var/run/dovecot/config

And so forth.  Seems to be all over the place.  The server slows down to a 
crawl.  Restarting dovecot or postfix has no effect on the problem.  Only a 
server reboot solves it, temporarily.  Sometimes for weeks, sometimes for 
hours.  The hard drive SMART status reads okay.

During this time, of course, users cannot connect to check their email.

Thoughts on where to go to troubleshoot this and why it’s happening?

Ethon



Re: Howto authenticate smartPhone via Active Directory

2017-12-06 Thread lists

Hi,


ldap_bind: Strong(er) authentication required (8)
 additional info: BindSimple: Transport encryption required.




If you are using recent (4.7) samba, your problem could be that it 
requires ssl ldap by default, unless you configure


ldap server require strong auth = no

in smb.conf.

MJ


Re: Disabling index files?

2017-12-06 Thread Stroller

> On 5 Dec 2017, at 15:32, Gregory Finch  wrote:
>> 
>> How do I disable the index files, please? 
>> … 
>> 
> 
> from https://wiki2.dovecot.org/MailLocation#Index_files
> 
> add :INDEX=MEMORY to your mail_location line, ie:
> 
> mail_location = maildir:~/Maildir:INDEX=MEMORY

Many thanks!

That works perfectly.

Stroller.



Re: Do we really need Solr commit as cronjob?

2017-12-06 Thread Webert de Souza Lima
I'm interested in knowing this too.


Regards,

Webert Lima
DevOps Engineer at MAV Tecnologia
*Belo Horizonte - Brasil*

On Thu, Nov 30, 2017 at 10:07 PM, Gao  wrote:

> I am testing Solr FTS on dovecot. Read online that some suggested to run
> cronjob commit every minute, and optimize once a day.
>
> I am using Solr 7.1.0 and I see some configurations:
> In /etc/default/solr.in.sh:
> #SOLR_OPTS="$SOLR_OPTS -Dsolr.autoSoftCommit.maxTime=3000"
> #SOLR_OPTS="$SOLR_OPTS -Dsolr.autoCommit.maxTime=6"
>
> Also in solrconfig.xml:
> 
> ${solr.autoCommit.maxTime:15000}
>   false
> 
>
>
> ${solr.autoSoftCommit.maxTime:-1}
> 
>
> So my question is do I still need run cronjob for commit?
>
> Do I need uncomment these lines in the solr.in.sh? Does my solrconfig.xml
> overwrite the setting in solr.in.sh?
>
> Thanks for help.
>