On Sun, Jun 23, 2024 at 06:06:40PM +0000, Дилян Палаузов wrote:
> «sendmail -v myself@domain» however hangs.
Of course it does, it is waiting to read the message headers and body
from standard input as expected.
> until I press Ctrl+C. This is Postfix 3.4.13. On Postfix 2.11 the
> same command works. As far I see, there is no close(0), so read(0, …
> expect data from standard input.
>
> Can you tell me why does «sendmail -v address» hang?
Because you haven't provided a message to send, and standard input is
attached to a terminal. If you do not want to send a message:
$ [email protected]
$ recipients=([email protected] [email protected])
$ sendmail -f "$sender" -bv "${recipients[@]}"
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]