「NBSMTP」の版間の差分
ナビゲーションに移動
検索に移動
Kusanaginoturugi (トーク | 投稿記録) (英語版より転載) |
Kusanaginoturugi (トーク | 投稿記録) (アーカイブ) タグ: 新規リダイレクト |
||
| (同じ利用者による、間の4版が非表示) | |||
| 1行目: | 1行目: | ||
| − | [[ |
+ | #redirect [[ArchWiki:アーカイブ]] |
| + | [[Category:アーカイブ]] |
||
| − | [[en:NBSMTP]] |
||
| − | [[es:NBSMTP]] |
||
| − | [[zh-hans:NBSMTP]] |
||
| − | From nbSMTP manpage: |
||
| − | |||
| − | :nbSMTP is a lightweight SMTP client. It simply takes a message from STDIN and sends it to a relayhost. A relayhost is meant to be a full SMTP server and it will really send the message. |
||
| − | |||
| − | == Installation == |
||
| − | |||
| − | Install {{AUR|nbsmtp}} package. |
||
| − | |||
| − | == Forward to a Gmail Mail Server == |
||
| − | |||
| − | To configure nbSMTP, you will have to edit its configuration file ({{ic|~/.nbsmtprc}}) and enter your account settings: |
||
| − | |||
| − | {{hc|~/.nbsmtprc|2= |
||
| − | 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 ({{ic|testemail}}): |
||
| − | |||
| − | {{hc|testemail|2= |
||
| − | To: myusername@gmail.com |
||
| − | From: myusername@gmail.com |
||
| − | Subject: nbsmtp test |
||
| − | hello email world |
||
| − | }} |
||
| − | |||
| − | and then run: |
||
| − | |||
| − | /usr/bin/nbsmtp < testemail |
||
2022年11月9日 (水) 19:17時点における最新版
転送先: