[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Detecting the installed MTA



* Søren Boll Overgaard wrote:

> During packaging, that is, during the installation of a package, I need to
> determine which MTA is currently installed, since I need to set certain
> permissions specific to my package, so that they match with those of the
> currently running MTA.

Might be hackish, but seems to work:

dpkg -S /usr/sbin/sendmail | awk -F ':' '{print $1}'

Regards,
Sebastian

-- 
PGP-Key: http://www.withouthat.org/~sebastian/public.key
Fingerprint: A46A 753F AEDC 2C01 BE6E  F6DB 97E0 3309 9FD6 E3E6



Reply to: