Project

General

Profile

Actions

Bug #13320

closed

postfix does not deliver /usr/lib/sendmail link

Added by Predrag Zečević over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
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

Related to OpenIndiana Distribution - Bug #8407: /hipster postfix problemsResolved2017-06-17

Actions
Actions #1

Updated by Predrag Zečević over 2 years 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

Actions #2

Updated by Predrag Zečević over 2 years ago

  • Related to Bug #8407: /hipster postfix problems added
Actions #3

Updated by Aurélien Larcher over 2 years ago

You have set the mediator version to 3.1.6 which does not exist, therefore the symlink does not exist.

Actions #4

Updated by Aurélien Larcher over 2 years ago

  • Status changed from New to Closed
Actions #5

Updated by Predrag Zečević over 2 years 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.

Actions #6

Updated by Aurélien Larcher over 2 years ago

  • Status changed from Closed to Resolved

Alright! Righty'o!

Actions

Also available in: Atom PDF