Hello,
I have come to a strange situation on debian 12 system where it can't send an email using the classical command "mail" when i need to specify a SMTP relay.
I have already used it in the past on other linux systems, so i don't understand if it is a regression on debian?
For example the command i want to use is :
mailx -v -s "test email" -S smtp=smtp://smtp.example.com -S from="sourceadress@sourcedomain.com" myaddress@mydomain.com
mailx: invalid option -- 'S'
usage: mailx [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-r from-addr] [-s subject] [--] to-addr ...
mailx [-dEIiNnv] -f [name]
mailx [-dEIiNnv] [-u user]
It seems that the "-S" argument is no longer usable, how can it be possible?
If someone can help me please, it would be great.
Thank you!
I have come to a strange situation on debian 12 system where it can't send an email using the classical command "mail" when i need to specify a SMTP relay.
I have already used it in the past on other linux systems, so i don't understand if it is a regression on debian?
For example the command i want to use is :
mailx -v -s "test email" -S smtp=smtp://smtp.example.com -S from="sourceadress@sourcedomain.com" myaddress@mydomain.com
mailx: invalid option -- 'S'
usage: mailx [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-r from-addr] [-s subject] [--] to-addr ...
mailx [-dEIiNnv] -f [name]
mailx [-dEIiNnv] [-u user]
It seems that the "-S" argument is no longer usable, how can it be possible?
If someone can help me please, it would be great.
Thank you!
Statistics: Posted by ecliloba — 2024-07-18 13:43 — Replies 2 — Views 73