Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

[Software] Regression on mail command ?

$
0
0
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!

Statistics: Posted by ecliloba — 2024-07-18 13:43 — Replies 2 — Views 73



Viewing all articles
Browse latest Browse all 3423

Trending Articles