Guest User

Untitled

a guest
Feb 26th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. mailx -v -s "$subject" -S smtp=$smtphost -S from="$mailfrom" -S smtp-auth-user=$smtpuser
  2. -S smtp-auth-password=$smtppwd $emailto </dev/null
  3.  
  4. lrwxrwxrwx 1 root root 18 Feb 9 20:07 /etc/alternatives/mailx -> /usr/bin/bsd-mailx
  5.  
  6. bsd-mailx install
  7. fetchmail install
  8. procmail install
  9. rmail install
  10. sendmail install
  11. sendmail-base install
  12. sendmail-bin install
  13. sendmail-cf install
  14. sendmail-doc install
  15.  
  16. mailx: illegal option -- -
  17. Usage: mailx -eiIUdEFntBDNHRV~ -T FILE -u USER -h hops -r address -s SUBJECT -a FILE -q FILE -f FILE -A ACCOUNT -b USERS -c USERS -S OPTION users
  18.  
  19. mailx: invalid option -- '-'
  20. usage: mailx [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr ...
  21. [-- sendmail-options ...]
  22. mailx [-dEIiNnv] -f [name]
  23. mailx [-dEIiNnv] [-u user]
  24.  
  25. sudo update-alternatives --set mailx /usr/bin/heirloom-mailx
  26.  
  27. sudo update-alternatives --install /usr/bin/mailx mailx /usr/bin/heirloom-mailx
  28. 60 --slave /usr/bin/mail mail /usr/bin/heirloom-mailx
  29.  
  30. sudo update-alternatives --set mailx /usr/bin/heirloom-mailx
Add Comment
Please, Sign In to add comment