Re: imap-hibernate won't start

2020-03-14 Thread Aki Tuomi


 
 
  
   Hi!
  
  
   
  
  
   Did you follow https://doc.dovecot.org/configuration_manual/hibernation/ ? Especially you need the imap_hibernation_timeout.
  
  
   
  
  
   Aki
  
  
   
On 14/03/2020 02:38 Webservice <
i...@webservice.be> wrote:
   
   

   
   

   
   
I can't get imap-hibernate to fire up.
   
   

   
   
The process is not starting, and there are no clues in the logs.
   
   
I tried several users/groups, but nothing happens (although I see plenty
   
   
of IDLE imap-connections).
   
   
Even mode 0666 didn't work.
   
   

   
   

   
   
I'm on Slackware (no FreeBSD), built from source with
   
   
./configure --with-mysql
   
   
My systems runs with a virtual user, and imap-processes are run under vmail
   
   

   
   
vmail 21840 0.0 0.0 14076 2596 ? S 01:11 0:00 dovecot/imap
   
   
vmail 21842 0.0 0.0 14108 2568 ? S 01:11 0:00 dovecot/imap
   
   

   
   
I see the socket in var/run/dovecot with OK-permissions:
   
   
srw-rw 1 vmail dovecot 0 Mar 14 01:11 imap-hibernate=
   
   

   
   

   
   

   
   
Added in my config:
   
   

   
   

   
   
mail_debug = yes
   
   
verbose_proctitle=yes
   
   
service imap {
   
   
unix_listener imap-master {
   
   
user = $default_internal_user
   
   
}
   
   
}
   
   
service imap {
   
   
extra_groups = $default_internal_group
   
   
}
   
   
service imap-hibernate {
   
   
unix_listener imap-hibernate {
   
   
user = vmail
   
   
mode = 0660
   
   
group = $default_internal_group
   
   
}
   
   
}
   
   

   
   

   
   

   
   
Can someone give me a clue where it's going wrong?
   
   
Or an option so I can debug?
   
  
  
   
  
  
   ---
Aki Tuomi
   
 



Re: imap-hibernate won't start

2020-03-14 Thread Webservice
Aki

That was indeed the case!
I was stupidly mistaken that this had a positive default value.


Sorry for wasting everybody's time.


Op 14/03/20 om 08:44 schreef Aki Tuomi:
> Hi!
> 
> Did you follow https://doc.dovecot.org/configuration_manual/hibernation/
> ? Especially you need the imap_hibernation_timeout.
> 
> Aki
>> On 14/03/2020 02:38 Webservice < i...@webservice.be
>> > wrote:
>>
>>
>> I can't get imap-hibernate to fire up.
>>
>> The process is not starting, and there are no clues in the logs.
>> I tried several users/groups, but nothing happens (although I see plenty
>> of IDLE imap-connections).
>> Even mode 0666 didn't work.
>>
>>
>> I'm on Slackware (no FreeBSD), built from source with
>> ./configure --with-mysql
>> My systems runs with a virtual user, and imap-processes are run under
>> vmail
>>
>> vmail 21840 0.0 0.0 14076 2596 ? S 01:11 0:00 dovecot/imap
>> vmail 21842 0.0 0.0 14108 2568 ? S 01:11 0:00 dovecot/imap
>>
>> I see the socket in var/run/dovecot with OK-permissions:
>> srw-rw 1 vmail dovecot 0 Mar 14 01:11 imap-hibernate=
>>
>>
>>
>> Added in my config:
>>
>>
>> mail_debug = yes
>> verbose_proctitle=yes
>> service imap {
>> unix_listener imap-master {
>> user = $default_internal_user
>> }
>> }
>> service imap {
>> extra_groups = $default_internal_group
>> }
>> service imap-hibernate {
>> unix_listener imap-hibernate {
>> user = vmail
>> mode = 0660
>> group = $default_internal_group
>> }
>> }
>>
>>
>>
>> Can someone give me a clue where it's going wrong?
>> Or an option so I can debug?
> 
> ---
> Aki Tuomi
> 


Catchall with UserDB?

2020-03-14 Thread Ferenc
Hi!

I've set up Postfix with virtual users. I wanted to get Dovecot and LMTP up and 
running with
Passwd-file UserDB, which they do, but I can't figure out how to make use of a 
catch-all.

Currently, mail to j...@example.com needs Joe to be in the Passwd-file. I would 
like
any...@example.com to go to Joe's mailbox, or actually mail to @example.com 
should go to Joe. But
what do I put in the Passwd-file? 

I need this for several domains. Like @somedomain.org should go to 
j...@example.com and
@anydomain.net to j...@example.com. I've googled myself silly but I cannot find 
the it. Everybody
is hooked on a sql userdb which seems like overkill to me. With Postfix doing 
local delivery this
is rather trivial. With Dovecot LDA I got it working by using 
virtual_alias_maps and the right
parameters in master.cf. But with LMTP I'm stumped.

cheers,
Ferenc


Re: Catchall with UserDB?

2020-03-14 Thread Aki Tuomi


 
 
  
   
  
  
   
On 15/03/2020 02:32 Ferenc <
dove...@bezemkast.nl> wrote:
   
   

   
   

   
   
Hi!
   
   

   
   
I've set up Postfix with virtual users. I wanted to get Dovecot and LMTP up and running with
   
   
Passwd-file UserDB, which they do, but I can't figure out how to make use of a catch-all.
   
   

   
   
Currently, mail to 
j...@example.com needs Joe to be in the Passwd-file. I would like
   
   
any...@example.com to go to Joe's mailbox, or actually mail to @example.com should go to Joe. But
   
   
what do I put in the Passwd-file?
   
   

   
   
I need this for several domains. Like @somedomain.org should go to 
j...@example.com and
   
   
@anydomain.net to 
j...@example.com. I've googled myself silly but I cannot find the it. Everybody
   
   
is hooked on a sql userdb which seems like overkill to me. With Postfix doing local delivery this
   
   
is rather trivial. With Dovecot LDA I got it working by using virtual_alias_maps and the right
   
   
parameters in master.cf. But with LMTP I'm stumped.
   
   

   
   
cheers,
   
   
Ferenc
   
  
  
   
  
  
   You do it in postfix using virtual alias, just like before.
  
  
   ---
Aki Tuomi