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

Re: where does command output go



Right.  The "mail" command likely forked "/usr/bin/sendmail", which opens a
connection to the MTA (originall good old Sendmail, but more likely now
postfix or exim, or something else.  That in turn might make a connection to a
(in this case) a local delivery agent (eg procmail or the like).  There might
be two or three (maybe four) "pipes".  The data will be in those pipes as data
buffers.

At Sun, 9 Nov 2025 15:36:12 +0100 debian-user@lists.debian.org wrote:

>
> fxkl47BF@protonmail.com (HE12025-11-09):
> > i execute
> >
> > some_long_running_command | mail billy_bob@localhost
> >
> > where is the output of the command stored while it is running before it's mailed
>
> Under the responsibility of the mail command. Probably in memory.
>
> Regards,
>

--
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller@deepsoft.com       -- Webhosting Services



Reply to: