LoginSignup
1
4

More than 5 years have passed since last update.

mail コマンド 送信認証設定

Posted at

カレントに 「.mailrc」を作成
# cd ~
# vi .mailrc


set smtp=smtp://mail.testcom.net:587
set smtp-auth=login
set smtp-auth-user=user001@testcom.net
set smtp-auth-password=your pasword
set from=user001@testcom.net


テストメール送信
# mail -s "Test mail Sending" userhoge@sendtest.net

1
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
4