I have strange thing,
I found that some mails sends by logcheck are delayed.
After some digging I found that:
--8<---------------cut here---------------start------------->8---
echo bla |sudo -u logcheck mail root
--8<---------------cut here---------------end--------------->8---
makes this error:
--8<---------------cut here---------------start------------->8---
2022-06-06 20:30:26.225 [517397] 1nyHUg-002Ab7-5a <= logcheck@??? U=logcheck P=local S=432 M8S=0 RT=0.040s id*=E1nyHUg-002Ab7-5a@??? from <logcheck@???> for root
2022-06-06 20:30:26.247 [517398] 1nyHUg-002Ab7-5a == kjonca@??? <root@???> R=dovecot T=dovecot_pipe defer (0) DT=0.004s: Failed to create child process for dovecot_pipe transport: Resource temporarily unavailable
--8<---------------cut here---------------end--------------->8---
and message ends in queue, and then is delivered later.
relevant records from /etc/aliases
root: kjonca
logcheck: root
When I try:
--8<---------------cut here---------------start------------->8---
echo bla |sudo mail root
--8<---------------cut here---------------end--------------->8---
there is no such error.
When I configure to deliver without pipe - everything works.
So I believe something is misconfigured (suid/ownership/groups?) but I
do not know how to debug it.
Any ideas what to check?
Kj
--
http://wolnelektury.pl/wesprzyj/teraz/