Mailx and sendmail?

How to pass a parameter from mailx to sendmail? Man read nothing but
sendmail="`which mailx` --account=zbx' mailx -s 'Test'
not found, but it doesn't work.
October 8th 19 at 03:52
1 answer
October 8th 19 at 03:54
Which package belongs to mailx? If the standard bsd-mailx, then

mail [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr ... [-- sendmail-options ...]
ie the parameters after -- are passed directly to sendmail-do - mia_Muraz commented on October 8th 19 at 03:57

Find more questions by tags Sendmail