andre wrote on Wed, Apr 24, 2002 at 10:10:31PM +0200 :
> could postfix make a link or something smarter to /usr/sbin/sendmail
> without it it is a bit difficult to use it with on of the kazillion email 
> programs

Try this:

[root@fiji ~]# update-alternatives --install /usr/sbin/sendmail sendmail
/usr/sbin/sendmail.postfix 10

[root@fiji ~]# update-alternatives --display sendmail
sendmail - status is auto.
 link currently points to /usr/sbin/sendmail.postfix
/usr/sbin/sendmail.postfix - priority 10
Current `best' version is /usr/sbin/sendmail.postfix.

[root@fiji ~]# vdir /usr/sbin/sendmail
lrwxrwxrwx    1 root     root           26 Apr 25 13:29
/usr/sbin/sendmail -> /etc/alternatives/sendmail
[root@fiji ~]# 

I don't think it would be a bad idea to include it in the post-install
and post-uninstall scripts either.

Blue skies...           Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-11mdk

Attachment: msg63246/pgp00000.pgp
Description: PGP signature

Reply via email to