「NBSMTP」の版間の差分
表示
削除された内容 追加された内容
Kusanaginoturugi (トーク | 投稿記録) honnyaku |
Kusanaginoturugi (トーク | 投稿記録) →Installation: 飜訳 |
||
| 7行目: | 7行目: | ||
nbSMTP は軽量の SMTP クライアントです。 STDIN からメッセージを受け取り、リレーホストに送信するだけです。リレーホストは完全な SMTP サーバーであることを意図しており、実際にメッセージを送信します。 |
nbSMTP は軽量の SMTP クライアントです。 STDIN からメッセージを受け取り、リレーホストに送信するだけです。リレーホストは完全な SMTP サーバーであることを意図しており、実際にメッセージを送信します。 |
||
== |
== インストール == |
||
{{AUR|nbsmtp}} パッケージをインストールします。 |
|||
== Forward to a Gmail Mail Server == |
== Forward to a Gmail Mail Server == |
||
2022年11月9日 (水) 19:13時点における版
nbSMTP MAN ページから:
nbSMTP は軽量の SMTP クライアントです。 STDIN からメッセージを受け取り、リレーホストに送信するだけです。リレーホストは完全な SMTP サーバーであることを意図しており、実際にメッセージを送信します。
インストール
nbsmtpAUR パッケージをインストールします。
Forward to a Gmail Mail Server
To configure nbSMTP, you will have to edit its configuration file (~/.nbsmtprc) and enter your account settings:
~/.nbsmtprc
relayhost=smtp.gmail.com port=587 use_starttls=True fromaddr=myusername@gmail.com auth_user=myusername@gmail.com auth_pass=myultrasecretpassword
Be careful with permissions on this file, it is recommendable to run this:
chmod 600 ~/.nbsmtprc
To test the configuration, create a file (testemail):
testemail
To: myusername@gmail.com From: myusername@gmail.com Subject: nbsmtp test hello email world
and then run:
/usr/bin/nbsmtp < testemail