On 2020-12-14 15:13, jb wrote:

piler.service:
[Unit]
Description=Piler daemon
After=network.target mariadb.service

...

The systemd files look fine.

Dec 14 15:09:01 piler piler-smtp[392]: connected from 1.2.3.4:38359
on fd=6 (active connections: 1)
Dec 14 15:09:01 piler piler-smtp[392]: got on fd=6: *EHLO
www.example.org#015#012* [1]
Dec 14 15:09:01 piler piler-smtp[392]: sent on fd=6:

250-piler.example.org#015#012250-PIPELINING#015#012250-STARTTLS#015#012250-SIZE#015#012250
8BITMIME#015
Dec 14 15:09:01 piler piler-smtp[392]: got on fd=6:
*STARTTLS#015#012*
Dec 14 15:09:01 piler piler-smtp[392]: starttls request from client
Dec 14 15:09:01 piler piler-smtp[392]: sent on fd=6: 220 Ready to
start TLS#015
Dec 14 15:09:01 piler piler-smtp[392]: waiting for ssl handshake
Dec 14 15:09:01 piler piler-smtp[392]: SSL_accept() result, rc=-1,
errorcode: 2, error text: error:00000000:lib(0):func(0):reason(0)
Dec 14 15:09:01 piler piler-smtp[392]: got on fd=6: *EHLO
www.example.org#015#012* [1]
Dec 14 15:09:01 piler piler-smtp[392]: sent on fd=6:

250-piler.example.org#015#012250-PIPELINING#015#012250-SIZE#015#012250
8BITMIME#015
Dec 14 15:09:01 piler piler-smtp[392]: got on fd=6: *MAIL
FROM:<i...@example.org> SIZE=246722#015#012*
Dec 14 15:09:01 piler piler-smtp[392]: sent on fd=6: 250 Ok#015

this is only a redacted stuff for piler-smtp, and not even complete for piler-smtp. Anyway, the above entries look fine, you have received several emails via smtp.

I assume that later log entries show that piler daemon child processes have
processed these emails.


I think I found a fix when I change this line After=network.target
auditd.service piler.service in piler-smtp service it works. Can this
be true?

I don't think so. The piler daemon processes and piler-smtp run independently from each other. It seems that piler-smtp runs fine, but piler has some issues.

That's why I asked all piler related mail logs (the first 2-300 lines at max)
since the last reboot. You clearly didn't give me that.

Anyway, if your systemd modifications prove to work, then I'm happy with that.
Keep it.


Janos

Reply via email to