David Bremner <da...@tethera.net> writes:

> "Alejandro S." <alejandro...@gmail.com> writes:
>
>> Hi David,
>>
>> I'm running stable (buster), I just tested purging and reinstalling but
>> didn't solved the problem.
>>
>> Keep in mind that if you are still using SysV init it would work ok, as the
>> responsible for creating the /var/spool/nullmailer/trigger is
>> /etc/init.d/nullmailer, but if you are using only systemd, I think that
>> init.d file is no longer used, so nobody is recreating the trigger file.
>> In this machine I have purged the sysv packages (initscripts sysv-rc
>> insserv startpar) as recommended by the installation guide [0].
>
> I'm running testing, but the same nullmailer version. I'm running
> systemd. I don't have initscripts, sysv-rc, insserv or startpar
> installed.
>
> I admit it's not clear to me how the trigger file is being created, but
> it definitely is.
>

With some help from Ansgar Burchardt, I realized/remembered that the
pipe is being created by systemd-tmpfiles in the postinst. Can you try
running (as root)

# systemd-tmpfiles --create nullmailer.conf

The error output of that is redirected to /dev/null in the postinst, but
running it interactively should help figure out what went wrong
also you might check /usr/lib/tmpfiles.d/nullmailer.conf, it should
contain

p /var/spool/nullmailer/trigger 622 mail root

Reply via email to