mail command does not report any -r option if you run it with mail --help (neither does the manpage mention it), but it's there and works. It's a bit hidden and you've to apply it in a special way.mail -s "subject" recipient@example.com -- -r "sender@example.com" -f /path/to/a/fileecho "This is the body." | mail -s "subject" recipient@example.com -- -r "sender@example.com"
Recent comments
2 days 10 hours ago
1 week 5 days ago
1 week 6 days ago
1 week 6 days ago
2 weeks 10 hours ago
2 weeks 17 hours ago
2 weeks 4 days ago
2 weeks 4 days ago
4 weeks 2 days ago
4 weeks 2 days ago