Bug #13320
postfix does not deliver /usr/lib/sendmail link
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Description
Hi all,
see also https://www.illumos.org/issues/8407 (this should be fixed, but I cannot verify it 100%):
:; pkg list postfix NAME (PUBLISHER) VERSION IFO service/network/smtp/postfix 3.3.2-2020.0.1.1 i--
BUT, something is broken:
:; pkg contents postfix | grep -E "usr/lib.*sendmail" usr/lib/postfix/sendmail usr/lib/sendmail :; pfexec pkg fix postfix No updates necessary for this image. :; ls -al /usr/lib/postfix/sendmail /usr/lib/sendmail ls: cannot access '/usr/lib/sendmail': No such file or directory -r-xr-xr-x 1 root bin 411K Jun 15 14:29 /usr/lib/postfix/sendmail :; pkg mediator mta MEDIATOR VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION mta local 3.1.6 local postfix
atq job fails with:
> CMD: 1605765600.a > predrag_zecevic 14649 a Thu Nov 19 07:00:00 2020 < predrag_zecevic 14649 a Thu Nov 19 07:00:00 2020 rc=1 exec of "/usr/lib/sendmail" failed: No such file or directory
I am doing something wrong?
Regards.
Related issues
Updated by Predrag Zečević 3 months ago
Forgot to add,
postfix works because:
:; grep sendmail /etc/postfix/main.cf | grep -v ^# sendmail_path = /usr/lib/postfix/sendmail newaliases_path = /usr/lib/postfix/sendmail mailq_path = /usr/lib/postfix/sendmail
Updated by Aurélien Larcher 20 days ago
You have set the mediator version to 3.1.6 which does not exist, therefore the symlink does not exist.
Updated by Predrag Zečević 18 days ago
Thanks Aurélien!
Fixed by issuing
:; pfexec pkg unset-mediator mta :; pfexec pkg set-mediator -I postfix mta
and now:
:; pkg mediator mta MEDIATOR VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION mta system local postfix
Tested and all works.