On 2018-08-23 15:04, Niels Hofmans wrote:
> Hello guys,
> 
> In order to keep my container applications to a minimum, i'm trying to
> slim them down.
> One part of this is removing all unnecessary components.
> 
> I am running Postfix 3.3.1 on Alpine Linux 3.8 in Docker.
> Is there some way to get postfix (with start-fg) to log to the console
> -without- having a syslog-ng running?
> I see it requires /dev/log, but simply symlinking that to /dev/stdout
> doesn't seem to help.

Doesn't look like there's any easy way to achieve this. /dev/log is an
unix socket, while stdout… isn't; this would never work out.

AFAIK at minimum you'll need a wrapper that has one thread listening on
/dev/log to print messages to stdout while another waits for postfix to
exit, and terminates the wrapper so Docker's process monitoring works.
Not exactly ideal either.

> Any help is appreciated.
> Thank you.
> 
> Regards,
> Niels

-- 
Mit freundlichen Grüßen, / Best Regards,
Sven Schwedas, Systemadministrator
✉ [email protected] | ☎ +43 680 301 7167
TAO Digital   | Teil der TAO Beratungs- & Management GmbH
Lendplatz 45  | FN 213999f/Klagenfurt, FB-Gericht Villach
A8020 Graz    | https://www.tao-digital.at

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to