0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Gmailからの操作で(DigitalOceanの)Ubuntu 20.04のExim4から送信

Last updated at Posted at 2022-03-15

この記事は

「GmailをSMTPサーバにする」のではなく「自分のSMTPサーバをGmailから操作する」話です。
事前に以下の記事から、Apache2、Certbot、Exim4、SPF、DKIM、SMTP認証などの設定が必要です。

Gmailの設定

設定アイコン > すべての設定を表示 > アカウントとインポート > 名前 > 他のメールアドレスと追加

メールアドレスに使用するメールアドレスを入力
「エイリアスとして扱います」のチェックを外す
次のステップ

SMTPサーバーに自分のサーバのドメインを入力
ポートに587を選択
ユーザー名とパスワードに、設定したEximユーザ名とパスワードを入力
TLSを使用したセキュリティで保護された接続を選択
設定を保存

設定したアドレスに届く確認コードを入力

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?