Re: permissions for quota-status

2019-04-14 Thread Aki Tuomi via dovecot


 
 
  
   
  
  
   
On 14 April 2019 16:17 Andreas Meyer via dovecot <
dovecot@dovecot.org> wrote:
   
   

   
   

   
   
Hello!
   
   

   
   
doveconf --version 2.2.36
   
   

   
   
I want to move to a new server with dovecot but get an error
   
   
Error: service(quota-status): listen(*, 12340) failed: Permission denied
   
   

   
   
when I define
   
   

   
   
service quota-status {
   
   
executable = quota-status -p postfix
   
   
inet_listener {
   
   
port = 12340
   
   
}
   
   
client_limit = 1
   
   
}
   
   

   
   
private]# ll
   
   
insgesamt 0
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 anvil
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 bounce
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 defer
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 discard
   
   
srw---. 1 postfix postfix 0 14. Apr 15:08 dovecot-lmtp
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 error
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 lmtp
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 local
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 proxymap
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 proxywrite
   
   
srw-rw. 1 postfix postfix 0 14. Apr 14:58 quota-status
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 relay
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 retry
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 rewrite
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 scache
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 smtp
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 tlsmgr
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 trace
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 verify
   
   
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 virtual
   
   

   
   
Don't know what's wrong. Can someone help?
   
   

   
   
Kind regards
   
   

   
   
Andreas
   
   
--
   
   
PGP-Fingerprint: D392 5D21 0299 63D7 5BAE 4562 1E56 B2EA 81A2 59F1
   
  
  
   
  
  
   Check /var/log/audit/audit.log - selinux is probably the culprit.
  
  
   ---
Aki Tuomi
   
 



permissions for quota-status

2019-04-14 Thread Andreas Meyer via dovecot
Hello!

doveconf --version 2.2.36

I want to move to a new server with dovecot but get an error
Error: service(quota-status): listen(*, 12340) failed: Permission denied

when I define

service quota-status {
executable = quota-status -p postfix
inet_listener {
port = 12340
}
client_limit = 1
}

private]# ll
insgesamt 0
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 anvil
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 bounce
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 defer
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 discard
srw---. 1 postfix postfix 0 14. Apr 15:08 dovecot-lmtp
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 error
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 lmtp
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 local
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 proxymap
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 proxywrite
srw-rw. 1 postfix postfix 0 14. Apr 14:58 quota-status
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 relay
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 retry
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 rewrite
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 scache
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 smtp
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 tlsmgr
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 trace
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 verify
srw-rw-rw-. 1 postfix postfix 0 14. Apr 15:05 virtual

Don't know what's wrong. Can someone help?

Kind regards

  Andreas
-- 
PGP-Fingerprint: D392 5D21 0299 63D7 5BAE 4562 1E56 B2EA 81A2 59F1


pgpKO0kF7L5_K.pgp
Description: Digitale Signatur von OpenPGP