Re: Shared instance

2019-01-24 Thread Aki Tuomi


 
 
  
   A namespace can have only one location. If you want to create mailbox with content from multiple locations you can use virtual plugin for this.
  
  
   
  
  
   Aki
  
  
   
On 25 January 2019 at 09:45 Stepan Khlebalov <
s...@line7.ru> wrote:
   
   

   
   

   
   
I have read already. Probably not so carefully but do not find any for multiple location option inside namespace.
   
   

   
   
On 25.01.2019 12:33, Aki Tuomi wrote:
   
   

 You should probably read 
 https://wiki.dovecot.org/SharedMailboxes

   
   

 Aki

   
   

 On 25.1.2019 9.32, Stepan Khlebalov via dovecot wrote:


 
  My failure. Replace instance with namespace.
 

   
   
>> On 25.01.2019 12:27, Aki Tuomi wrote:
   
   
>>> On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:
   
   
 Hello.
   
   

   
   
 I have inbox instance for incoming messages and second private
   
   
 instance for archiving mails with different maildir location.
   
   

   
   
 Sharing for folders in inbox instance works perfectly. But it does not
   
   
 work for folders in archiving instance.
   
   

   
   
 I can't create two shared instances, dovecot fails.
   
   

   
   
 Can I have two locations in one shared instance?
   
   

   
   

   
   

   
   
>>> What do you mean with "shared instance"?
   
   
>>>
   
   
>>> Aki
   
   
>>>
   
  
  
   
  
  
   ---
   Aki Tuomi
   
 



Re: Shared instance

2019-01-24 Thread Stepan Khlebalov via dovecot

I have read already. Probably not so carefully but do not find any for multiple 
location option inside namespace.

On 25.01.2019 12:33, Aki Tuomi wrote:

You should probably read https://wiki.dovecot.org/SharedMailboxes

Aki

On 25.1.2019 9.32, Stepan Khlebalov via dovecot wrote:

My failure. Replace instance with namespace.

On 25.01.2019 12:27, Aki Tuomi wrote:

On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:

Hello.

I have inbox instance for incoming messages and second private
instance for archiving mails with different maildir location.

Sharing for folders in inbox instance works perfectly. But it does not
work for folders in archiving instance.

I can't create two shared instances, dovecot fails.

Can I have two locations in one shared instance?




What do you mean with "shared instance"?

Aki



Re: Shared instance

2019-01-24 Thread Aki Tuomi
You should probably read https://wiki.dovecot.org/SharedMailboxes

Aki

On 25.1.2019 9.32, Stepan Khlebalov via dovecot wrote:
> My failure. Replace instance with namespace.
>
> On 25.01.2019 12:27, Aki Tuomi wrote:
>> On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:
>>> Hello.
>>>
>>> I have inbox instance for incoming messages and second private
>>> instance for archiving mails with different maildir location.
>>>
>>> Sharing for folders in inbox instance works perfectly. But it does not
>>> work for folders in archiving instance.
>>>
>>> I can't create two shared instances, dovecot fails.
>>>
>>> Can I have two locations in one shared instance?
>>>
>>>
>>>
>> What do you mean with "shared instance"?
>>
>> Aki
>>


Re: Shared instance

2019-01-24 Thread Stepan Khlebalov via dovecot

My failure. Replace instance with namespace.

On 25.01.2019 12:27, Aki Tuomi wrote:

On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:

Hello.

I have inbox instance for incoming messages and second private
instance for archiving mails with different maildir location.

Sharing for folders in inbox instance works perfectly. But it does not
work for folders in archiving instance.

I can't create two shared instances, dovecot fails.

Can I have two locations in one shared instance?




What do you mean with "shared instance"?

Aki



Re: Shared instance

2019-01-24 Thread Aki Tuomi


On 25.1.2019 8.39, Stepan Khlebalov via dovecot wrote:
> Hello.
>
> I have inbox instance for incoming messages and second private
> instance for archiving mails with different maildir location.
>
> Sharing for folders in inbox instance works perfectly. But it does not
> work for folders in archiving instance.
>
> I can't create two shared instances, dovecot fails.
>
> Can I have two locations in one shared instance?
>
>
>
What do you mean with "shared instance"?

Aki



Re: Discard mail with from date older than xxxx

2019-01-24 Thread Trever L. Adams
On 1/24/19 10:07 AM, Per Jessen wrote:
>
> Sorry, I misunderstood.
>
> I rely on spamassasssin to deal with spam.
>
>
> /Per
>
>
You still led me to the correct solution. I use dspam. Occassionally
some odd spams get through. Usually they are using this date trick (not
that it fools dspam). The problem is the content is novel. So, I am
using this to catch what cannot be caught the other ways.

Trever





signature.asc
Description: OpenPGP digital signature


Shared instance

2019-01-24 Thread Stepan Khlebalov via dovecot

Hello.

I have inbox instance for incoming messages and second private instance 
for archiving mails with different maildir location.


Sharing for folders in inbox instance works perfectly. But it does not 
work for folders in archiving instance.


I can't create two shared instances, dovecot fails.

Can I have two locations in one shared instance?





Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Maciej Milaszewski IQ PL
Hi
All works fine :) Thanks a lot Aki :)

On 24.01.2019 19:59, Aki Tuomi wrote:
> Another known issue, fixed with
>
> https://github.com/dovecot/core/commit/ca4c2579f0456072bdb505932a9cf7602e42afd2.patch
>
> Aki
>
>> On 24 January 2019 at 20:54 Maciej Milaszewski IQ PL 
>>  wrote:
>>
>>
>> Hi
>> Like bumerang.
>>
>> 2.2.36 works fine on debian10 but connect by telnet like:
>>
>> Connected to 46.xxx.xxx.xxx.
>> Escape character is '^]'.
>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Imap ready.
>> ^]
>> telnet> q
>> Connection closed.
>>
>> dovenull   664  0.0  0.0   7796  6052 ?    S    19:54   0:00  \_
>> dovecot/imap-login  
>> ??
>> dovenull   665  0.0  0.0   7672  5444 ?    S    19:54   0:00  \_
>> dovecot/imap-login
>>
>> strace:
>>
>> strace -p 664
>> strace: Process 664 attached
>> gettimeofday({tv_sec=1548355306, tv_usec=938191}, NULL) = 0
>>
>>
>> On 24.01.2019 19:34, Maciej Milaszewski IQ PL wrote:
>>> Hi
>>> Thenx for replay - problem solved :)
>>>
>>> I forget `autoreconf -vi`
>>>
>>> You are rox :)
>>>
>>>  On 24.01.2019 19:10, Aki Tuomi wrote:
 You need to do `autoreconf -vi` before configure, won't work otherwise.

 Aki

> autoreconf -viOn 24 January 2019 at 20:09 Maciej Milaszewski IQ PL 
>  wrote:
>
>
> Hi
> Thenx. I use your patch but problem not solved.
>
>
> Hunk #1 succeeded at 334 with fuzz 2 (offset 19 lines).
> patching file src/auth/mycrypt.c
>
> ./configure --prefix=/usr/local/dovecot-2.2.36 --sysconfdir=/etc
> --with-ldap=yes --with-mysql --with-ssl=openssl --with-solr
> --with-storages=maildir,imapc
>
> Install prefix . : /usr/local/dovecot-2.2.36
> File offsets ... : 64bit
> I/O polling  : epoll
> I/O notifys  : inotify
> SSL  : yes (OpenSSL)
> GSSAPI . : no
> passdbs  : static passwd passwd-file shadow checkpassword ldap sql
> dcrypt ..: yes
>  : -pam -bsdauth -sia -vpopmail
> userdbs  : static prefetch passwd passwd-file checkpassword ldap
> sql nss
>  : -vpopmail
> SQL drivers  : mysql
>  : -pgsql -sqlite -cassandra
> Full text search : squat solr
>  : -lucene
>
>
> Jan 24 19:06:34 postfix dovecot: ssl-params: Generating SSL parameters
> Jan 24 19:06:34 postfix dovecot: master: Error: service(auth): command
> startup failed, throttling for 2 secs
> Jan 24 19:06:34 postfix dovecot: auth: Fatal: master: service(auth):
> child 11238 killed with signal 11 (core dumped)
> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
> disconnected unexpectedly
> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
> disconnected unexpectedly
>
>
> New LWP 11244]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `dovecot/auth'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) bt full
> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available.
> #1  0x559531747bc8 in password_scheme_register_crypt () at
> password-scheme-crypt.c:144
>     i = 0
>     crypted = 
> #2  0x5595317478dc in password_schemes_init () at 
> password-scheme.c:875
>     i = 
> #3  0x5595317227fb in main_preinit () at main.c:188
>     mod_set = {abi_version = 0xf9d2c8bc  at address 0xf9d2c8bc>, binary_name = 0x7f44ee41d5e0 <_gnutls_log_level>
> "", setting_name = 0x0,
>   filter_callback = 0x7f44ee395cfb, filter_context =
> 0x756e65470004, require_init_funcs = 1, debug = 0,
> ignore_dlopen_errors = 1, ignore_missing = 0}
>     services = 
>     mod_set = 
>     services = 
> #4  main (argc=, argv=) at main.c:396
>     c = 
>
>
> On 24.01.2019 18:33, Aki Tuomi wrote:
>> This has been fixed with
>>
>> https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch
>>
>> Aki
>>
>>



Re: [FTS Xapian] RC release

2019-01-24 Thread Marcus Rückert
On Thu, 24 Jan 2019 14:35:13 +0100
Joan Moreau via dovecot  wrote:

> Hi, 
> 
> FTS Xapian matches my targets for the plugins (replacing deprecated
> fts-squat in a production environment) 
> 
> https://github.com/grosjo/fts-xapian 
> 
> Please do not hesitate to add "issues" on github, if the case happen 

created a ticket with all the issues I found while trying to package it
for openSUSE.

-- 
  openSUSE - SUSE Linux is my linux
  openSUSE is good for you
  www.opensuse.org


Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Aki Tuomi
Another known issue, fixed with

https://github.com/dovecot/core/commit/ca4c2579f0456072bdb505932a9cf7602e42afd2.patch

Aki

> On 24 January 2019 at 20:54 Maciej Milaszewski IQ PL 
>  wrote:
> 
> 
> Hi
> Like bumerang.
> 
> 2.2.36 works fine on debian10 but connect by telnet like:
> 
> Connected to 46.xxx.xxx.xxx.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Imap ready.
> ^]
> telnet> q
> Connection closed.
> 
> dovenull   664  0.0  0.0   7796  6052 ?    S    19:54   0:00  \_
> dovecot/imap-login  
> ??
> dovenull   665  0.0  0.0   7672  5444 ?    S    19:54   0:00  \_
> dovecot/imap-login
> 
> strace:
> 
> strace -p 664
> strace: Process 664 attached
> gettimeofday({tv_sec=1548355306, tv_usec=938191}, NULL) = 0
> 
> 
> On 24.01.2019 19:34, Maciej Milaszewski IQ PL wrote:
> > Hi
> > Thenx for replay - problem solved :)
> >
> > I forget `autoreconf -vi`
> >
> > You are rox :)
> >
> >  On 24.01.2019 19:10, Aki Tuomi wrote:
> >> You need to do `autoreconf -vi` before configure, won't work otherwise.
> >>
> >> Aki
> >>
> >>> autoreconf -viOn 24 January 2019 at 20:09 Maciej Milaszewski IQ PL 
> >>>  wrote:
> >>>
> >>>
> >>> Hi
> >>> Thenx. I use your patch but problem not solved.
> >>>
> >>>
> >>> Hunk #1 succeeded at 334 with fuzz 2 (offset 19 lines).
> >>> patching file src/auth/mycrypt.c
> >>>
> >>> ./configure --prefix=/usr/local/dovecot-2.2.36 --sysconfdir=/etc
> >>> --with-ldap=yes --with-mysql --with-ssl=openssl --with-solr
> >>> --with-storages=maildir,imapc
> >>>
> >>> Install prefix . : /usr/local/dovecot-2.2.36
> >>> File offsets ... : 64bit
> >>> I/O polling  : epoll
> >>> I/O notifys  : inotify
> >>> SSL  : yes (OpenSSL)
> >>> GSSAPI . : no
> >>> passdbs  : static passwd passwd-file shadow checkpassword ldap sql
> >>> dcrypt ..: yes
> >>>  : -pam -bsdauth -sia -vpopmail
> >>> userdbs  : static prefetch passwd passwd-file checkpassword ldap
> >>> sql nss
> >>>  : -vpopmail
> >>> SQL drivers  : mysql
> >>>  : -pgsql -sqlite -cassandra
> >>> Full text search : squat solr
> >>>  : -lucene
> >>>
> >>>
> >>> Jan 24 19:06:34 postfix dovecot: ssl-params: Generating SSL parameters
> >>> Jan 24 19:06:34 postfix dovecot: master: Error: service(auth): command
> >>> startup failed, throttling for 2 secs
> >>> Jan 24 19:06:34 postfix dovecot: auth: Fatal: master: service(auth):
> >>> child 11238 killed with signal 11 (core dumped)
> >>> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
> >>> disconnected unexpectedly
> >>> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
> >>> disconnected unexpectedly
> >>>
> >>>
> >>> New LWP 11244]
> >>> [Thread debugging using libthread_db enabled]
> >>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> >>> Core was generated by `dovecot/auth'.
> >>> Program terminated with signal SIGSEGV, Segmentation fault.
> >>> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> >>> (gdb) bt full
> >>> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> >>> No symbol table info available.
> >>> #1  0x559531747bc8 in password_scheme_register_crypt () at
> >>> password-scheme-crypt.c:144
> >>>     i = 0
> >>>     crypted = 
> >>> #2  0x5595317478dc in password_schemes_init () at 
> >>> password-scheme.c:875
> >>>     i = 
> >>> #3  0x5595317227fb in main_preinit () at main.c:188
> >>>     mod_set = {abi_version = 0xf9d2c8bc  >>> at address 0xf9d2c8bc>, binary_name = 0x7f44ee41d5e0 <_gnutls_log_level>
> >>> "", setting_name = 0x0,
> >>>   filter_callback = 0x7f44ee395cfb, filter_context =
> >>> 0x756e65470004, require_init_funcs = 1, debug = 0,
> >>> ignore_dlopen_errors = 1, ignore_missing = 0}
> >>>     services = 
> >>>     mod_set = 
> >>>     services = 
> >>> #4  main (argc=, argv=) at main.c:396
> >>>     c = 
> >>>
> >>>
> >>> On 24.01.2019 18:33, Aki Tuomi wrote:
>  This has been fixed with
> 
>  https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch
> 
>  Aki
> 
> 
> 
> -- 
> Maciej Miłaszewski
> IQ PL Sp. z o.o.
> Starszy Administrator Systemowy
> 
> Biuro Obsługi Klienta:
> e-mail: b...@iq.pl
> tel.: +48 58 326 09 90 - 94
> fax: +48 58 326 09 99
> 
> Dział pomocy: https://www.iq.pl/pomoc
> Informacja dotycząca przetwarzania danych osobowych: https://www.iq.pl/kontakt
> Jakość gwarantuje: ISO 9001:2000
> 
> IQ PL Sp. z o.o. z siedzibą w Gdańsku (80-298), ul. Geodetów 16, KRS 
> 007725, Sąd rejestrowy: Sąd Rejonowy w Gdańsku VII Wydział KRS, 
> kapitał zakładowy: 140.000 PLN, NIP 5832736211, REGON 192478853
> 
>


Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Maciej Milaszewski IQ PL
Hi
Like bumerang.

2.2.36 works fine on debian10 but connect by telnet like:

Connected to 46.xxx.xxx.xxx.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Imap ready.
^]
telnet> q
Connection closed.

dovenull   664  0.0  0.0   7796  6052 ?    S    19:54   0:00  \_
dovecot/imap-login  
??
dovenull   665  0.0  0.0   7672  5444 ?    S    19:54   0:00  \_
dovecot/imap-login

strace:

strace -p 664
strace: Process 664 attached
gettimeofday({tv_sec=1548355306, tv_usec=938191}, NULL) = 0


On 24.01.2019 19:34, Maciej Milaszewski IQ PL wrote:
> Hi
> Thenx for replay - problem solved :)
>
> I forget `autoreconf -vi`
>
> You are rox :)
>
>  On 24.01.2019 19:10, Aki Tuomi wrote:
>> You need to do `autoreconf -vi` before configure, won't work otherwise.
>>
>> Aki
>>
>>> autoreconf -viOn 24 January 2019 at 20:09 Maciej Milaszewski IQ PL 
>>>  wrote:
>>>
>>>
>>> Hi
>>> Thenx. I use your patch but problem not solved.
>>>
>>>
>>> Hunk #1 succeeded at 334 with fuzz 2 (offset 19 lines).
>>> patching file src/auth/mycrypt.c
>>>
>>> ./configure --prefix=/usr/local/dovecot-2.2.36 --sysconfdir=/etc
>>> --with-ldap=yes --with-mysql --with-ssl=openssl --with-solr
>>> --with-storages=maildir,imapc
>>>
>>> Install prefix . : /usr/local/dovecot-2.2.36
>>> File offsets ... : 64bit
>>> I/O polling  : epoll
>>> I/O notifys  : inotify
>>> SSL  : yes (OpenSSL)
>>> GSSAPI . : no
>>> passdbs  : static passwd passwd-file shadow checkpassword ldap sql
>>> dcrypt ..: yes
>>>  : -pam -bsdauth -sia -vpopmail
>>> userdbs  : static prefetch passwd passwd-file checkpassword ldap
>>> sql nss
>>>  : -vpopmail
>>> SQL drivers  : mysql
>>>  : -pgsql -sqlite -cassandra
>>> Full text search : squat solr
>>>  : -lucene
>>>
>>>
>>> Jan 24 19:06:34 postfix dovecot: ssl-params: Generating SSL parameters
>>> Jan 24 19:06:34 postfix dovecot: master: Error: service(auth): command
>>> startup failed, throttling for 2 secs
>>> Jan 24 19:06:34 postfix dovecot: auth: Fatal: master: service(auth):
>>> child 11238 killed with signal 11 (core dumped)
>>> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
>>> disconnected unexpectedly
>>> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
>>> disconnected unexpectedly
>>>
>>>
>>> New LWP 11244]
>>> [Thread debugging using libthread_db enabled]
>>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>>> Core was generated by `dovecot/auth'.
>>> Program terminated with signal SIGSEGV, Segmentation fault.
>>> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>>> (gdb) bt full
>>> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>>> No symbol table info available.
>>> #1  0x559531747bc8 in password_scheme_register_crypt () at
>>> password-scheme-crypt.c:144
>>>     i = 0
>>>     crypted = 
>>> #2  0x5595317478dc in password_schemes_init () at password-scheme.c:875
>>>     i = 
>>> #3  0x5595317227fb in main_preinit () at main.c:188
>>>     mod_set = {abi_version = 0xf9d2c8bc >> at address 0xf9d2c8bc>, binary_name = 0x7f44ee41d5e0 <_gnutls_log_level>
>>> "", setting_name = 0x0,
>>>   filter_callback = 0x7f44ee395cfb, filter_context =
>>> 0x756e65470004, require_init_funcs = 1, debug = 0,
>>> ignore_dlopen_errors = 1, ignore_missing = 0}
>>>     services = 
>>>     mod_set = 
>>>     services = 
>>> #4  main (argc=, argv=) at main.c:396
>>>     c = 
>>>
>>>
>>> On 24.01.2019 18:33, Aki Tuomi wrote:
 This has been fixed with

 https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch

 Aki



-- 
Maciej Miłaszewski
IQ PL Sp. z o.o.
Starszy Administrator Systemowy

Biuro Obsługi Klienta:
e-mail: b...@iq.pl
tel.: +48 58 326 09 90 - 94
fax: +48 58 326 09 99

Dział pomocy: https://www.iq.pl/pomoc
Informacja dotycząca przetwarzania danych osobowych: https://www.iq.pl/kontakt
Jakość gwarantuje: ISO 9001:2000

IQ PL Sp. z o.o. z siedzibą w Gdańsku (80-298), ul. Geodetów 16, KRS 
007725, Sąd rejestrowy: Sąd Rejonowy w Gdańsku VII Wydział KRS, 
kapitał zakładowy: 140.000 PLN, NIP 5832736211, REGON 192478853




Re: Discard mail with from date older than xxxx

2019-01-24 Thread @lbutlr
On 24 Jan 2019, at 10:07, Per Jessen  wrote:
> Sorry, I misunderstood.

Same

> I rely on spamassasssin to deal with spam.

Same.

SA has rules like DATE_IN_PAST_06_12 which scores for messages that are 6 to 12 
HOURS in the past.

The highest scoring one is for message more than 96 hours old.

-- 
The King of Marigold was in the kitchen cooking breakfast for the Queen
The Queen was in the parlor playing piano for the children of the King



Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Maciej Milaszewski IQ PL
Hi
Thenx for replay - problem solved :)

I forget `autoreconf -vi`

You are rox :)

 On 24.01.2019 19:10, Aki Tuomi wrote:
> You need to do `autoreconf -vi` before configure, won't work otherwise.
>
> Aki
>
>> autoreconf -viOn 24 January 2019 at 20:09 Maciej Milaszewski IQ PL 
>>  wrote:
>>
>>
>> Hi
>> Thenx. I use your patch but problem not solved.
>>
>>
>> Hunk #1 succeeded at 334 with fuzz 2 (offset 19 lines).
>> patching file src/auth/mycrypt.c
>>
>> ./configure --prefix=/usr/local/dovecot-2.2.36 --sysconfdir=/etc
>> --with-ldap=yes --with-mysql --with-ssl=openssl --with-solr
>> --with-storages=maildir,imapc
>>
>> Install prefix . : /usr/local/dovecot-2.2.36
>> File offsets ... : 64bit
>> I/O polling  : epoll
>> I/O notifys  : inotify
>> SSL  : yes (OpenSSL)
>> GSSAPI . : no
>> passdbs  : static passwd passwd-file shadow checkpassword ldap sql
>> dcrypt ..: yes
>>  : -pam -bsdauth -sia -vpopmail
>> userdbs  : static prefetch passwd passwd-file checkpassword ldap
>> sql nss
>>  : -vpopmail
>> SQL drivers  : mysql
>>  : -pgsql -sqlite -cassandra
>> Full text search : squat solr
>>  : -lucene
>>
>>
>> Jan 24 19:06:34 postfix dovecot: ssl-params: Generating SSL parameters
>> Jan 24 19:06:34 postfix dovecot: master: Error: service(auth): command
>> startup failed, throttling for 2 secs
>> Jan 24 19:06:34 postfix dovecot: auth: Fatal: master: service(auth):
>> child 11238 killed with signal 11 (core dumped)
>> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>>
>>
>> New LWP 11244]
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>> Core was generated by `dovecot/auth'.
>> Program terminated with signal SIGSEGV, Segmentation fault.
>> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>> (gdb) bt full
>> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>> No symbol table info available.
>> #1  0x559531747bc8 in password_scheme_register_crypt () at
>> password-scheme-crypt.c:144
>>     i = 0
>>     crypted = 
>> #2  0x5595317478dc in password_schemes_init () at password-scheme.c:875
>>     i = 
>> #3  0x5595317227fb in main_preinit () at main.c:188
>>     mod_set = {abi_version = 0xf9d2c8bc > at address 0xf9d2c8bc>, binary_name = 0x7f44ee41d5e0 <_gnutls_log_level>
>> "", setting_name = 0x0,
>>   filter_callback = 0x7f44ee395cfb, filter_context =
>> 0x756e65470004, require_init_funcs = 1, debug = 0,
>> ignore_dlopen_errors = 1, ignore_missing = 0}
>>     services = 
>>     mod_set = 
>>     services = 
>> #4  main (argc=, argv=) at main.c:396
>>     c = 
>>
>>
>> On 24.01.2019 18:33, Aki Tuomi wrote:
>>> This has been fixed with
>>>
>>> https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch
>>>
>>> Aki
>>>
>>



Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Maciej Milaszewski IQ PL
Hi
Thenx. I use your patch but problem not solved.


Hunk #1 succeeded at 334 with fuzz 2 (offset 19 lines).
patching file src/auth/mycrypt.c

./configure --prefix=/usr/local/dovecot-2.2.36 --sysconfdir=/etc
--with-ldap=yes --with-mysql --with-ssl=openssl --with-solr
--with-storages=maildir,imapc

Install prefix . : /usr/local/dovecot-2.2.36
File offsets ... : 64bit
I/O polling  : epoll
I/O notifys  : inotify
SSL  : yes (OpenSSL)
GSSAPI . : no
passdbs  : static passwd passwd-file shadow checkpassword ldap sql
dcrypt ..: yes
 : -pam -bsdauth -sia -vpopmail
userdbs  : static prefetch passwd passwd-file checkpassword ldap
sql nss
 : -vpopmail
SQL drivers  : mysql
 : -pgsql -sqlite -cassandra
Full text search : squat solr
 : -lucene


Jan 24 19:06:34 postfix dovecot: ssl-params: Generating SSL parameters
Jan 24 19:06:34 postfix dovecot: master: Error: service(auth): command
startup failed, throttling for 2 secs
Jan 24 19:06:34 postfix dovecot: auth: Fatal: master: service(auth):
child 11238 killed with signal 11 (core dumped)
Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
disconnected unexpectedly


New LWP 11244]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `dovecot/auth'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x559531747bc8 in password_scheme_register_crypt () at
password-scheme-crypt.c:144
    i = 0
    crypted = 
#2  0x5595317478dc in password_schemes_init () at password-scheme.c:875
    i = 
#3  0x5595317227fb in main_preinit () at main.c:188
    mod_set = {abi_version = 0xf9d2c8bc , binary_name = 0x7f44ee41d5e0 <_gnutls_log_level>
"", setting_name = 0x0,
  filter_callback = 0x7f44ee395cfb, filter_context =
0x756e65470004, require_init_funcs = 1, debug = 0,
ignore_dlopen_errors = 1, ignore_missing = 0}
    services = 
    mod_set = 
    services = 
#4  main (argc=, argv=) at main.c:396
    c = 


On 24.01.2019 18:33, Aki Tuomi wrote:
> This has been fixed with
>
> https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch
>
> Aki
>




Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Aki Tuomi
You need to do `autoreconf -vi` before configure, won't work otherwise.

Aki

> On 24 January 2019 at 20:09 Maciej Milaszewski IQ PL 
>  wrote:
> 
> 
> Hi
> Thenx. I use your patch but problem not solved.
> 
> 
> Hunk #1 succeeded at 334 with fuzz 2 (offset 19 lines).
> patching file src/auth/mycrypt.c
> 
> ./configure --prefix=/usr/local/dovecot-2.2.36 --sysconfdir=/etc
> --with-ldap=yes --with-mysql --with-ssl=openssl --with-solr
> --with-storages=maildir,imapc
> 
> Install prefix . : /usr/local/dovecot-2.2.36
> File offsets ... : 64bit
> I/O polling  : epoll
> I/O notifys  : inotify
> SSL  : yes (OpenSSL)
> GSSAPI . : no
> passdbs  : static passwd passwd-file shadow checkpassword ldap sql
> dcrypt ..: yes
>  : -pam -bsdauth -sia -vpopmail
> userdbs  : static prefetch passwd passwd-file checkpassword ldap
> sql nss
>  : -vpopmail
> SQL drivers  : mysql
>  : -pgsql -sqlite -cassandra
> Full text search : squat solr
>  : -lucene
> 
> 
> Jan 24 19:06:34 postfix dovecot: ssl-params: Generating SSL parameters
> Jan 24 19:06:34 postfix dovecot: master: Error: service(auth): command
> startup failed, throttling for 2 secs
> Jan 24 19:06:34 postfix dovecot: auth: Fatal: master: service(auth):
> child 11238 killed with signal 11 (core dumped)
> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
> disconnected unexpectedly
> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
> disconnected unexpectedly
> 
> 
> New LWP 11244]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `dovecot/auth'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) bt full
> #0  0x7f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available.
> #1  0x559531747bc8 in password_scheme_register_crypt () at
> password-scheme-crypt.c:144
>     i = 0
>     crypted = 
> #2  0x5595317478dc in password_schemes_init () at password-scheme.c:875
>     i = 
> #3  0x5595317227fb in main_preinit () at main.c:188
>     mod_set = {abi_version = 0xf9d2c8bc  at address 0xf9d2c8bc>, binary_name = 0x7f44ee41d5e0 <_gnutls_log_level>
> "", setting_name = 0x0,
>   filter_callback = 0x7f44ee395cfb, filter_context =
> 0x756e65470004, require_init_funcs = 1, debug = 0,
> ignore_dlopen_errors = 1, ignore_missing = 0}
>     services = 
>     mod_set = 
>     services = 
> #4  main (argc=, argv=) at main.c:396
>     c = 
> 
> 
> On 24.01.2019 18:33, Aki Tuomi wrote:
> > This has been fixed with
> >
> > https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch
> >
> > Aki
> >
> 
>


Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Maciej Milaszewski IQ PL
Hi
Thenx. Dump core:

Core was generated by `dovecot/auth'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0  0x7fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x5604e6f98bc8 in password_scheme_register_crypt () at
password-scheme-crypt.c:144
    i = 0
    crypted = 
#2  0x5604e6f988dc in password_schemes_init () at password-scheme.c:875
    i = 
#3  0x5604e6f737fb in main_preinit () at main.c:188
    mod_set = {abi_version = 0x119a20dc , binary_name = 0x7fa9102c95e0 <_gnutls_log_level>
"", setting_name = 0x0,
  filter_callback = 0x7fa910241cfb, filter_context =
0x756e65470004, require_init_funcs = 1, debug = 0,
ignore_dlopen_errors = 1, ignore_missing = 0}
    services = 
    mod_set = 
    services = 
#4  main (argc=, argv=) at main.c:396
    c = 

On 24.01.2019 18:16, Aki Tuomi wrote:
> Try
>
> gdb /usr/local/dovecot/libexec/dovecot/auth /var/run/dovecot/core
> bt full
>
> Aki
>> On 24 January 2019 at 18:53 Maciej Milaszewski IQ PL <
>> maciej.milaszew...@iq.pl > wrote:
>>
>>
>> Hi
>> Thenx but maby problem is in ssl or core file and gdb was incorrectly
>> used
>>
>>
>> # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
>> # Pigeonhole version 0.4.24 (124e06aa)
>> # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid
>>
>> Jan 24 16:56:38 thebe-postfix dovecot: master: Dovecot v2.2.36
>> (1f10bfa63) starting up for imap, pop3, lmtp, sieve
>> Jan 24 16:56:39 thebe-postfix dovecot: master: Error: service(auth):
>> command startup failed, throttling for 2 secs
>> Jan 24 16:56:39 thebe-postfix dovecot: auth: Fatal: master:
>> service(auth): child 11078 killed with signal 11 (core dumped)
>> Jan 24 16:56:39 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>>
>> telnet IP 143
>> ..
>> Escape character is '^]'.
>> * OK Waiting for authentication process to respond..
>> * BYE Disconnected: Auth process broken
>> Connection closed by foreign host.
>>
>>
>> Jan 24 16:56:48 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:56:56 thebe-postfix dovecot: master: Error: service(auth):
>> command startup failed, throttling for 16 secs
>> Jan 24 16:56:56 thebe-postfix dovecot: auth: Fatal: master:
>> service(auth): child 11082 killed with signal 11 (core dumped)
>> an 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:57:07 thebe-postfix dovecot: imap-login: Warning: Auth process
>> not responding, delayed sending initial response (greeting): user=<>,
>> rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured,
>> session=
>> Jan 24 16:57:12 thebe-postfix dovecot: master: Error: service(auth):
>> command startup failed, throttling for 32 secs
>> Jan 24 16:57:12 thebe-postfix dovecot: auth: Fatal: master:
>> service(auth): child 11084 killed with signal 11 (core dumped)
>> Jan 24 16:5Core was generated by `dovecot/auth'.
>> Program terminated with signal SIGSEGV, Segmentation fault.
>> #0  0x7fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>> (gdb) bt full
>> #0  0x7fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
>> No symbol table info available.
>> #1  0x5604e6f98bc8 in password_scheme_register_crypt () at
>> password-scheme-crypt.c:144
>>     i = 0
>>     crypted = 
>> #2  0x5604e6f988dc in password_schemes_init () at
>> password-scheme.c:875
>>     i = 
>> #3  0x5604e6f737fb in main_preinit () at main.c:188
>>     mod_set = {abi_version = 0x119a20dc > memory at address 0x119a20dc>, binary_name = 0x7fa9102c95e0
>> <_gnutls_log_level> "", setting_name = 0x0,
>>   filter_callback = 0x7fa910241cfb, filter_context =
>> 0x756e65470004, require_init_funcs = 1, debug = 0,
>> ignore_dlopen_errors = 1, ignore_missing = 0}
>>     services = 
>>     mod_set = 
>>     services = 
>> #4  main (argc=, argv=) at main.c:396
>>     c = 7:12 thebe-postfix dovecot: director:
>> Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>> Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
>> disconnected un

Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Aki Tuomi
This has been fixed with

https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch

Aki

> On 24 January 2019 at 19:26 Maciej Milaszewski IQ PL 
>  wrote:
> 
> 
> Hi
> Thenx. Dump core:
> 
> Core was generated by `dovecot/auth'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x7fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) bt full
> #0  0x7fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available.
> #1  0x5604e6f98bc8 in password_scheme_register_crypt () at
> password-scheme-crypt.c:144
>     i = 0
>     crypted = 
> #2  0x5604e6f988dc in password_schemes_init () at password-scheme.c:875
>     i = 
> #3  0x5604e6f737fb in main_preinit () at main.c:188
>     mod_set = {abi_version = 0x119a20dc  at address 0x119a20dc>, binary_name = 0x7fa9102c95e0 <_gnutls_log_level>
> "", setting_name = 0x0,
>   filter_callback = 0x7fa910241cfb, filter_context =
> 0x756e65470004, require_init_funcs = 1, debug = 0,
> ignore_dlopen_errors = 1, ignore_missing = 0}
>     services = 
>     mod_set = 
>     services = 
> #4  main (argc=, argv=) at main.c:396
>     c = 
> 
> On 24.01.2019 18:16, Aki Tuomi wrote:
> > Try
> >
> > gdb /usr/local/dovecot/libexec/dovecot/auth /var/run/dovecot/core
> > bt full
> >
> > Aki
> >> On 24 January 2019 at 18:53 Maciej Milaszewski IQ PL <
> >> maciej.milaszew...@iq.pl > wrote:
> >>
> >>
> >> Hi
> >> Thenx but maby problem is in ssl or core file and gdb was incorrectly
> >> used
> >>
> >>
> >> # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
> >> # Pigeonhole version 0.4.24 (124e06aa)
> >> # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid
> >>
> >> Jan 24 16:56:38 thebe-postfix dovecot: master: Dovecot v2.2.36
> >> (1f10bfa63) starting up for imap, pop3, lmtp, sieve
> >> Jan 24 16:56:39 thebe-postfix dovecot: master: Error: service(auth):
> >> command startup failed, throttling for 2 secs
> >> Jan 24 16:56:39 thebe-postfix dovecot: auth: Fatal: master:
> >> service(auth): child 11078 killed with signal 11 (core dumped)
> >> Jan 24 16:56:39 thebe-postfix dovecot: director: Error: Auth server
> >> disconnected unexpectedly
> >>
> >> telnet IP 143
> >> ..
> >> Escape character is '^]'.
> >> * OK Waiting for authentication process to respond..
> >> * BYE Disconnected: Auth process broken
> >> Connection closed by foreign host.
> >>
> >>
> >> Jan 24 16:56:48 thebe-postfix dovecot: director: Error: Auth server
> >> disconnected unexpectedly
> >> Jan 24 16:56:56 thebe-postfix dovecot: master: Error: service(auth):
> >> command startup failed, throttling for 16 secs
> >> Jan 24 16:56:56 thebe-postfix dovecot: auth: Fatal: master:
> >> service(auth): child 11082 killed with signal 11 (core dumped)
> >> an 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
> >> disconnected unexpectedly
> >> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
> >> disconnected unexpectedly
> >> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
> >> disconnected unexpectedly
> >> Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
> >> disconnected unexpectedly
> >> Jan 24 16:57:07 thebe-postfix dovecot: imap-login: Warning: Auth process
> >> not responding, delayed sending initial response (greeting): user=<>,
> >> rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured,
> >> session=
> >> Jan 24 16:57:12 thebe-postfix dovecot: master: Error: service(auth):
> >> command startup failed, throttling for 32 secs
> >> Jan 24 16:57:12 thebe-postfix dovecot: auth: Fatal: master:
> >> service(auth): child 11084 killed with signal 11 (core dumped)
> >> Jan 24 16:5Core was generated by `dovecot/auth'.
> >> Program terminated with signal SIGSEGV, Segmentation fault.
> >> #0  0x7fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> >> (gdb) bt full
> >> #0  0x7fa910394c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> >> No symbol table info available.
> >> #1  0x5604e6f98bc8 in password_scheme_register_crypt () at
> >> password-scheme-crypt.c:144
> >>     i = 0
> >>     crypted = 
> >> #2  0x5604e6f988dc in password_schemes_init () at
> >> password-scheme.c:875
> >>     i = 
> >> #3  0x5604e6f737fb in main_preinit () at main.c:188
> >>     mod_set = {abi_version = 0x119a20dc  >> memory at address 0x119a20dc>, binary_name = 0x7fa9102c95e0
> >> <_gnutls_log_level> "", setting_name = 0x0,
> >>   filter_callback = 0x7fa910241cfb, filter_context =
> >> 0x756e65470004, require_init_funcs = 1, debug = 0,
> >> ignore_dlopen_errors = 1, ignore_missing = 0}
> >>     services = 
> >>     mod_set = 
> >>     services = 
> >> #4  main (argc=, argv=) at main.c:396
> >>     c = 7:12 thebe-postfix dovecot: director:
> >> Error: Auth server
> >> disconnected unexpectedly
> >> Jan 24 16:57:12 thebe-postfix dovecot: direct

Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Aki Tuomi


 
 
  
   Try
  
  
   
  
  
gdb /usr/local/dovecot/libexec/dovecot/auth /var/run/dovecot/core
  
  
   bt full
  
  
   
  
  
   Aki
  
  
   
On 24 January 2019 at 18:53 Maciej Milaszewski IQ PL <
maciej.milaszew...@iq.pl> wrote:
   
   

   
   

   
   
Hi
   
   
Thenx but maby problem is in ssl or core file and gdb was incorrectly used
   
   

   
   

   
   
# 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
   
   
# Pigeonhole version 0.4.24 (124e06aa)
   
   
# OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid
   
   

   
   
Jan 24 16:56:38 thebe-postfix dovecot: master: Dovecot v2.2.36
   
   
(1f10bfa63) starting up for imap, pop3, lmtp, sieve
   
   
Jan 24 16:56:39 thebe-postfix dovecot: master: Error: service(auth):
   
   
command startup failed, throttling for 2 secs
   
   
Jan 24 16:56:39 thebe-postfix dovecot: auth: Fatal: master:
   
   
service(auth): child 11078 killed with signal 11 (core dumped)
   
   
Jan 24 16:56:39 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   

   
   
telnet IP 143
   
   
..
   
   
Escape character is '^]'.
   
   
* OK Waiting for authentication process to respond..
   
   
* BYE Disconnected: Auth process broken
   
   
Connection closed by foreign host.
   
   

   
   

   
   
Jan 24 16:56:48 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:56:56 thebe-postfix dovecot: master: Error: service(auth):
   
   
command startup failed, throttling for 16 secs
   
   
Jan 24 16:56:56 thebe-postfix dovecot: auth: Fatal: master:
   
   
service(auth): child 11082 killed with signal 11 (core dumped)
   
   
an 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:57:07 thebe-postfix dovecot: imap-login: Warning: Auth process
   
   
not responding, delayed sending initial response (greeting): user=<>,
   
   
rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured, session=
   
   
Jan 24 16:57:12 thebe-postfix dovecot: master: Error: service(auth):
   
   
command startup failed, throttling for 32 secs
   
   
Jan 24 16:57:12 thebe-postfix dovecot: auth: Fatal: master:
   
   
service(auth): child 11084 killed with signal 11 (core dumped)
   
   
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:57:12 thebe-postfix dovecot: imap-login: Disconnected: Auth
   
   
process broken (disconnected before auth was ready, waited 15 secs):
   
   
user=<>, rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured,
   
   
session=
   
   
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   

   
   
core:
   
   

   
   
gdb --args /usr/local/dovecot/libexec/dovecot/imap-login
   
   
/var/run/dovecot/core
   
   
Starting program: /usr/local/dovecot-2.2.36/libexec/dovecot/imap-login
   
   
/var/run/dovecot/core
   
   
[Thread debugging using libthread_db enabled]
   
   
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
   
   
process 11878 is executing new program:
   
   
/usr/local/dovecot-2.2.36/bin/doveconf
   
   
process 11878 is executing new program:
   
   
/usr/local/dovecot-2.2.36/libexec/dovecot/imap-login
   
   
[Thread debugging using libthread_db enabled]
   
   
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
   
   
Fatal: settings_check(ssl) failed: ssl_verify_client_cert set, but
   
   
ssl_ca not
   
   
[Inferior 1 (process 11878) exited with code 0131]
   
   

   
   

   
   
F

Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Maciej Milaszewski IQ PL
Hi
Thenx but maby problem is in ssl or core file and gdb was incorrectly used


# 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.24 (124e06aa)
# OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid

Jan 24 16:56:38 thebe-postfix dovecot: master: Dovecot v2.2.36
(1f10bfa63) starting up for imap, pop3, lmtp, sieve
Jan 24 16:56:39 thebe-postfix dovecot: master: Error: service(auth):
command startup failed, throttling for 2 secs
Jan 24 16:56:39 thebe-postfix dovecot: auth: Fatal: master:
service(auth): child 11078 killed with signal 11 (core dumped)
Jan 24 16:56:39 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly

telnet IP 143
..
Escape character is '^]'.
* OK Waiting for authentication process to respond..
* BYE Disconnected: Auth process broken
Connection closed by foreign host.


Jan 24 16:56:48 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:56:56 thebe-postfix dovecot: master: Error: service(auth):
command startup failed, throttling for 16 secs
Jan 24 16:56:56 thebe-postfix dovecot: auth: Fatal: master:
service(auth): child 11082 killed with signal 11 (core dumped)
an 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:56:56 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:57:07 thebe-postfix dovecot: imap-login: Warning: Auth process
not responding, delayed sending initial response (greeting): user=<>,
rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured, session=
Jan 24 16:57:12 thebe-postfix dovecot: master: Error: service(auth):
command startup failed, throttling for 32 secs
Jan 24 16:57:12 thebe-postfix dovecot: auth: Fatal: master:
service(auth): child 11084 killed with signal 11 (core dumped)
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:57:12 thebe-postfix dovecot: imap-login: Disconnected: Auth
process broken (disconnected before auth was ready, waited 15 secs):
user=<>, rip=46.xxx.xxx.xxx, lip=46.xxx.xxx.xxx, secured,
session=
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 16:57:12 thebe-postfix dovecot: director: Error: Auth server
disconnected unexpectedly

core:

gdb --args /usr/local/dovecot/libexec/dovecot/imap-login
/var/run/dovecot/core
Starting program: /usr/local/dovecot-2.2.36/libexec/dovecot/imap-login
/var/run/dovecot/core
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 11878 is executing new program:
/usr/local/dovecot-2.2.36/bin/doveconf
process 11878 is executing new program:
/usr/local/dovecot-2.2.36/libexec/dovecot/imap-login
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Fatal: settings_check(ssl) failed: ssl_verify_client_cert set, but
ssl_ca not
[Inferior 1 (process 11878) exited with code 0131]


Fatal: settings_check(ssl) failed: ssl_verify_client_cert set, but
ssl_ca not


If this true why works fine in debian 8.x ?



> Hi!
>
> Can you get backtrace from the core file?
>
> https://dovecot.org/bugreport.html
>
> Aki
>> On 24 January 2019 at 17:10 Maciej Milaszewski IQ PL <
>> maciej.milaszew...@iq.pl > wrote:
>>
>>
>> Hi
>> Thenx for replay.
>>
>> Finaly for a test in my lab
>>
>> I upgrate to latest 2.2.36 and os debian 10
>> In this machine is dovecot director
>>
>> But if i tested via telnet
>>
>> root@postfix:~# telnet 46.xxx.xxx.xxx 143
>> Trying 46.xxx.xxx.xxx...
>> Connected to 46.xxx.xxx.xxx.
>> Escape character is '^]'.
>> * BYE Disconnected: Auth process broken
>> Connection closed by foreign host.
>>
>> In log:
>> Jan 24 16:02:07 postfix dovecot: master: Dovecot v2.2.36 (1f10bfa63)
>> starting up for imap, pop3, lmtp, sieve
>> Jan 24 16:02:07 postfix dovecot: master: Error: service(auth): command
>> startup failed, throttling for 2 secs
>> Jan 24 16:02:07 postfix dovecot: auth: Fatal: master: service(auth):
>> child 10443 killed with signal 11 (core dumped)
>> Jan 24 16:02:07 postfix dovecot: director: Error: Auth server
>> disconnected unexpectedly
>>
>>
>> in strace:
>>
>> ioctl(3, FIONBIO, [1])  = 0
>> setsockopt(3, SOL_SOCKET

Re: Discard mail with from date older than xxxx

2019-01-24 Thread Per Jessen

Trever L. Adams wrote:

On 1/24/19 12:15 AM, Per Jessen wrote:

Trever L. Adams wrote:


I know that sieve doesn't do math. The file would be created
externally.

Based on examples in section 4.4 of
https://tools.ietf.org/html/rfc5260#section-4

I figured something like this would work.

if date :value "le" :originalzone "date" "date" "2018-10-25" {
fileinto "SPAM";
stop;
}

However, I get the following.

spam: line 41: error: unknown tagged argument ':value' for the date
test (reported only once at first occurrence).
spam: error: validation failed.
sievec(root): Fatal: failed to compile sieve script 'spam.sieve'

Does anyone have any advice on how to get this working?

Hi Trever

here is a snippet I use occasionally:

if allof(
currentdate :zone "+0200" :value "ge" "iso8601" "2017-09-04T00:00:00+02:00",
currentdate :zone "+0200" :value "le" "iso8601" "2017-09-06T18:09:00+02:00"
)


HTH
Per



Please, correct me if I am wrong. This looks at the system clock. I need
to look at the date in the email (Date header). 


Sorry, I misunderstood.

I rely on spamassasssin to deal with spam.


/Per



Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Maciej Milaszewski IQ PL
Hi
Thenx for replay.

Finaly for a test in my lab

I upgrate to latest 2.2.36 and os debian 10
In this machine is dovecot director

But if i tested via telnet

root@postfix:~# telnet 46.xxx.xxx.xxx 143
Trying 46.xxx.xxx.xxx...
Connected to 46.xxx.xxx.xxx.
Escape character is '^]'.
* BYE Disconnected: Auth process broken
Connection closed by foreign host.

In log:
Jan 24 16:02:07 postfix dovecot: master: Dovecot v2.2.36 (1f10bfa63)
starting up for imap, pop3, lmtp, sieve
Jan 24 16:02:07 postfix dovecot: master: Error: service(auth): command
startup failed, throttling for 2 secs
Jan 24 16:02:07 postfix dovecot: auth: Fatal: master: service(auth):
child 10443 killed with signal 11 (core dumped)
Jan 24 16:02:07 postfix dovecot: director: Error: Auth server
disconnected unexpectedly


in strace:

ioctl(3, FIONBIO, [1])  = 0
setsockopt(3, SOL_SOCKET, SO_OOBINLINE, [1], 4) = 0
select(4, [0 3], [], [3], {tv_sec=0, tv_usec=0}) = 0 (Timeout)
select(4, [0 3], [], [3], NULL) = 1 (in [3])
recvfrom(3, "* BYE Disconnected: Auth process"..., 8191, 0, NULL, NULL) = 41
select(4, [0 3], [1], [3], {tv_sec=0, tv_usec=0}) = 2 (in [3], out [1],
left {tv_sec=0, tv_usec=0})
write(1, "* BYE Disconnected: Auth process"..., 40* BYE Disconnected:
Auth process broken
) = 40
recvfrom(3, "", 8151, 0, NULL, NULL)    = 0
..
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo
...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, FIONBIO, [0])  = 0
ioctl(1, FIONBIO, [0])  = 0
write(2, "Connection closed by foreign hos"..., 35Connection closed by
foreign host.
) = 35
close(-1)   = -1 EBADF (Bad file descriptor)
exit_group(1)   = ?
+++ exited with 1 +++




Second machine (backend with dovecot clinet) is old debian (8.11) and
2.2.32 | ( and tested 2.2.36)

telnet 10.0.0.24 143
Trying 10.0.0.24...
Connected to 10.0.0.24.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE AUTH=PLAIN AUTH=LOGIN] Imap ready.

and works fine

In productions i have debian 8.11 and 9.x all workings fine (this same
configurations etc)

Where i found solutions  etc ?

On 23.01.2019 08:35, Aki Tuomi via dovecot wrote:
> Maybe you should try 2.2.36?
>
> Aki
>
> On 22.1.2019 16.47, Maciej Milaszewski IQ PL wrote:
>> Hi
>> I have little problem with debian10 and dovecot 2.2.33.2
>>
>> ps -ax
>> 21815 ?    S  0:00 dovecot/pop3-login director
>> 21816 ?    S  0:00 dovecot/pop3-login director
>> 21817 ?    S  0:00 dovecot/pop3-login director
>> 21818 ?    S  0:00 dovecot/pop3-login director
>> 21819 ?    S  0:00 dovecot/pop3-login director
>> 21821 ?    S  0:00 dovecot/pop3-login director
>> 21822 ?    S  0:00 dovecot/pop3-login director
>>
>> But if I testes via telnet like this:
>>
>> telnet 46.xxx.xxx.113 143
>> Trying 46.xxx.xxx.113...
>> Connected to 46.xxx.xxx.113.
>> Escape character is '^]'.
>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Imap ready.
>> ^]
>> telnet> q
>> Connection closed.
>>
>> and ps:
>> 21808 ?    S  0:00 dovecot/imap-login  
>> ???
>> 21826 ?    S  0:00 dovecot/imap-login  
>> ?
>>
>> strace:
>> strace -p 21808
>> strace: Process 21808 attached
>> gettimeofday({tv_sec=1548168193, tv_usec=419420}, NULL) = 0
>> epoll_wait(14,
>>
>> doveconf:
>> doveconf -n |head -n 4
>> # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
>> # Pigeonhole version 0.4.8 (0c4ae064f307+)
>> # OS: Linux 4.19.0-1-amd64 x86_64 Debian buster/sid
>> auth_cache_negative_ttl = 5 mins
>>
>>
>>
>> Probably dovecot not closed correctly imap-login and this same for
>> imap-pop3. Any idea ?
>>
>>




Re: debian10+dovecot-2.2.33.2

2019-01-24 Thread Aki Tuomi


 
 
  
   Hi!
  
  
   
  
  
   Can you get backtrace from the core file?
  
  
   
  
  
   https://dovecot.org/bugreport.html
   
  
  
   
  
  
   Aki
  
  
   
On 24 January 2019 at 17:10 Maciej Milaszewski IQ PL <
maciej.milaszew...@iq.pl> wrote:
   
   

   
   

   
   
Hi
   
   
Thenx for replay.
   
   

   
   
Finaly for a test in my lab
   
   

   
   
I upgrate to latest 2.2.36 and os debian 10
   
   
In this machine is dovecot director
   
   

   
   
But if i tested via telnet
   
   

   
   
root@postfix:~# telnet 46.xxx.xxx.xxx 143
   
   
Trying 46.xxx.xxx.xxx...
   
   
Connected to 46.xxx.xxx.xxx.
   
   
Escape character is '^]'.
   
   
* BYE Disconnected: Auth process broken
   
   
Connection closed by foreign host.
   
   

   
   
In log:
   
   
Jan 24 16:02:07 postfix dovecot: master: Dovecot v2.2.36 (1f10bfa63)
   
   
starting up for imap, pop3, lmtp, sieve
   
   
Jan 24 16:02:07 postfix dovecot: master: Error: service(auth): command
   
   
startup failed, throttling for 2 secs
   
   
Jan 24 16:02:07 postfix dovecot: auth: Fatal: master: service(auth):
   
   
child 10443 killed with signal 11 (core dumped)
   
   
Jan 24 16:02:07 postfix dovecot: director: Error: Auth server
   
   
disconnected unexpectedly
   
   

   
   

   
   
in strace:
   
   

   
   
ioctl(3, FIONBIO, [1])  = 0
   
   
setsockopt(3, SOL_SOCKET, SO_OOBINLINE, [1], 4) = 0
   
   
select(4, [0 3], [], [3], {tv_sec=0, tv_usec=0}) = 0 (Timeout)
   
   
select(4, [0 3], [], [3], NULL) = 1 (in [3])
   
   
recvfrom(3, "* BYE Disconnected: Auth process"..., 8191, 0, NULL, NULL) = 41
   
   
select(4, [0 3], [1], [3], {tv_sec=0, tv_usec=0}) = 2 (in [3], out [1],
   
   
left {tv_sec=0, tv_usec=0})
   
   
write(1, "* BYE Disconnected: Auth process"..., 40* BYE Disconnected:
   
   
Auth process broken
   
   
) = 40
   
   
recvfrom(3, "", 8151, 0, NULL, NULL)    = 0
   
   
..
   
   
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
   
   
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo
   
   
...}) = 0
   
   
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
   
   
ioctl(0, FIONBIO, [0])  = 0
   
   
ioctl(1, FIONBIO, [0])  = 0
   
   
write(2, "Connection closed by foreign hos"..., 35Connection closed by
   
   
foreign host.
   
   
) = 35
   
   
close(-1)   = -1 EBADF (Bad file descriptor)
   
   
exit_group(1)   = ?
   
   
+++ exited with 1 +++
   
   

   
   

   
   

   
   

   
   
Second machine (backend with dovecot clinet) is old debian (8.11) and
   
   
2.2.32 | ( and tested 2.2.36)
   
   

   
   
telnet 10.0.0.24 143
   
   
Trying 10.0.0.24...
   
   
Connected to 10.0.0.24.
   
   
Escape character is '^]'.
   
   
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
   
   
IDLE AUTH=PLAIN AUTH=LOGIN] Imap ready.
   
   

   
   
and works fine
   
   

   
   
In productions i have debian 8.11 and 9.x all workings fine (this same
   
   
configurations etc)
   
   

   
   
Where i found solutions  etc ?
   
   

   
   
On 23.01.2019 08:35, Aki Tuomi via dovecot wrote:
   
   

 Maybe you should try 2.2.36?

   
   

 Aki

   
   

 On 22.1.2019 16.47, Maciej Milaszewski IQ PL wrote:


 
  Hi
 
 
  I have little problem with debian10 and dovecot 2.2.33.2
 

   
   
>> ps -ax
   
   
>> 21815 ?    S  0:00 dovecot/pop3-login director
   
   
>> 21816 ?    S  0:00 dovecot/pop3-login director
   
   
>> 21817 ?    S  0:00 dovecot/pop3-login director
   
   
>> 21818 ?    S  0:00 dovecot/pop3-login director
   
   
>> 21819 ?    S  0:00 dovecot/pop3-login director
   
   
>> 21821 ?    S  0:00 dovecot/pop3-login director
   
   
>> 21822 ?    S  0:00 dovecot/pop3-login director
   
   
>>
   
   
>> But if I testes via telnet like this:
   
   
>>
   
   
>> telnet 46.xxx.xxx.113 143
   
   
>> Trying 46.xxx.xxx.113...
   
   
>> Connected to 46.xxx.xxx.113.
   
   
>> Escape character is '^]'.
   
   
>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
   
   
>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Imap ready.
   
   
>> ^]
   
   
>> telnet> q
   
   
>> Connection closed.
   
   
>>
   
   
>> and ps:
   
   
>> 21808 ?    S  0:00 dovecot/imap-login  
   
   
>> 

Re: [FTS Xapian] RC release

2019-01-24 Thread Matt Anton via dovecot
On 24 Jan 2019, at 14:35, Joan Moreau via dovecot wrote:

> Hi,

Hi Joan,

> FTS Xapian matches my targets for the plugins (replacing deprecated
> fts-squat in a production environment)
> https://github.com/grosjo/fts-xapian
> Please do not hesitate to add "issues" on github, if the case happen
> Hope it helps
> JM

I've been following the recent huge thread about Solr/Xapian as I planned to 
move from old fts-squat that still works ok on 2.3.4 but marked as deprecated 
and really appreciate your effort along with others contributors who helped you 
to make Xapian available as a dovecot fas plugin, thanks!

-- 
matt [at] lv223.org
GPG key ID: 7D91A8CA


signature.asc
Description: OpenPGP digital signature


[FTS Xapian] RC release

2019-01-24 Thread Joan Moreau via dovecot
Hi, 


FTS Xapian matches my targets for the plugins (replacing deprecated
fts-squat in a production environment) 

https://github.com/grosjo/fts-xapian 

Please do not hesitate to add "issues" on github, if the case happen 

Hope it helps 


JM

Re: Discard mail with from date older than xxxx

2019-01-24 Thread Trever L. Adams
On 1/24/19 6:01 AM, Trever L. Adams wrote:
> On 1/24/19 12:15 AM, Per Jessen wrote:
>> Trever L. Adams wrote:
>>
>>> I know that sieve doesn't do math. The file would be created
>>> externally.
>>>
>>> Based on examples in section 4.4 of
>>> https://tools.ietf.org/html/rfc5260#section-4
>>>
>>> I figured something like this would work.
>>>
>>> if date :value "le" :originalzone "date" "date" "2018-10-25" {
>>> fileinto "SPAM";
>>> stop;
>>> }
>>>
>>> However, I get the following.
>>>
>>> spam: line 41: error: unknown tagged argument ':value' for the date
>>> test (reported only once at first occurrence).
>>> spam: error: validation failed.
>>> sievec(root): Fatal: failed to compile sieve script 'spam.sieve'
>>>
>>> Does anyone have any advice on how to get this working?
>> Hi Trever
>>
>> here is a snippet I use occasionally:
>>
>> if allof(
>> currentdate :zone "+0200" :value "ge" "iso8601" "2017-09-04T00:00:00+02:00",
>> currentdate :zone "+0200" :value "le" "iso8601" "2017-09-06T18:09:00+02:00"
>> )
>>
>>
>> HTH
>> Per
>
> Please, correct me if I am wrong. This looks at the system clock. I need
> to look at the date in the email (Date header). I am trying to catch
> spam that hides 6-9 months in the past (in the last week I have had two
> from August 2018 show up... obviously forged header, but...).
>
> Thanks.
>
> Trever
>
>
Thank you Per. My problem was I wasn't requiring relational. With it,
this works:

if date :originalzone :value "le" "date" "date" "2018-10-26" {
    fileinto "SPAM";
    stop;
}

I am sorry for the noise. Obviously, anyone using the above snippet will
need something to modify the date on a regular basis so it is say 90
days in the past or what not.

Thank you again.

Trever





signature.asc
Description: OpenPGP digital signature


Re: Discard mail with from date older than xxxx

2019-01-24 Thread Trever L. Adams
On 1/24/19 12:15 AM, Per Jessen wrote:
> Trever L. Adams wrote:
>
>> I know that sieve doesn't do math. The file would be created
>> externally.
>>
>> Based on examples in section 4.4 of
>> https://tools.ietf.org/html/rfc5260#section-4
>>
>> I figured something like this would work.
>>
>> if date :value "le" :originalzone "date" "date" "2018-10-25" {
>> fileinto "SPAM";
>> stop;
>> }
>>
>> However, I get the following.
>>
>> spam: line 41: error: unknown tagged argument ':value' for the date
>> test (reported only once at first occurrence).
>> spam: error: validation failed.
>> sievec(root): Fatal: failed to compile sieve script 'spam.sieve'
>>
>> Does anyone have any advice on how to get this working?
> Hi Trever
>
> here is a snippet I use occasionally:
>
> if allof(
> currentdate :zone "+0200" :value "ge" "iso8601" "2017-09-04T00:00:00+02:00",
> currentdate :zone "+0200" :value "le" "iso8601" "2017-09-06T18:09:00+02:00"
> )
>
>
> HTH
> Per


Please, correct me if I am wrong. This looks at the system clock. I need
to look at the date in the email (Date header). I am trying to catch
spam that hides 6-9 months in the past (in the last week I have had two
from August 2018 show up... obviously forged header, but...).

Thanks.

Trever




signature.asc
Description: OpenPGP digital signature


Re: problem in setting up proxy

2019-01-24 Thread Ted
Hello,

Thanks for the advice, I have made that change now but the server is
still doing the same fail with no logs thing it was before.

# 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.16 (fed8554)
# OS: Linux 4.9.0-8-amd64 x86_64 Debian 9.6
auth_debug = yes
auth_mechanisms = plain login
auth_verbose = yes
disable_plaintext_auth = no
login_greeting = Welcome to easyMail.
mail_debug = yes
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_plugins = " mail_log notify"
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 index ihave duplicate mime foreverypart extracttext
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  args = nopassword=y proxy=y host=10.5.10.121
  driver = static
  name = static
}
plugin {
  sieve = file:~/sieve;active=~/.dovecot.sieve
}
protocols = imap pop3
service auth {
  unix_listener auth-master {
    mode = 0600
    user = vmail
  }
}
ssl = no
verbose_proctitle = yes
verbose_ssl = yes
protocol imap {
  mail_plugins = " mail_log notify"
}

Anything else you can see I could try?

Thank you
Ted
easyDNS Technologies
On 2019-01-23 10:12 a.m., Sami Ketola wrote:
>
>> On 23 Jan 2019, at 16.33, Ted  wrote:
>>
>> Hello,
>>
>> Absolutely, thanks, here it is:
>>
>> passdb {
>>   args = nopassword=y
>>   default_fields = proxy=y host=10.5.10.121
>>   driver = static
>>   name = static
>> }
> at least change this to:
>
> passdb {
>   driver = static
>   name = static
>   args = nopassword=y  proxy=y host=10.5.10.121
> }
>
> but not entirely sure if there is something else.
>
> Sami