SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


linux:postfix_install

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
linux:postfix_install [2022/08/19 15:31] – [Setting-up Postfix] kimilinux:postfix_install [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1
行 36: 行 36:
   └─────────────────────────────────────────────────────────────────────────┘   └─────────────────────────────────────────────────────────────────────────┘
 </code> </code>
-のような選択肢が出るので、ここは''Internet site''を選択する。+のような選択肢が出るので、ここは''Local only''を選択する。
 <code txt> <code txt>
-E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are yPackage configuration 
- 
  
  ┌─────────────────────────┤ Postfix Configuration ├─────────────────────────┐  ┌─────────────────────────┤ Postfix Configuration ├─────────────────────────┐
行 72: 行 70:
 のように行う。 のように行う。
  
 +^パラメータ^デフォルト^設定値^
 +|myorigin|''$myhostname''| |
 +|mydestination|''$myhostname localhost.$mydomain localhost''| |
 +|inet_interfaces|''local-loopback''| |
 +あたりの設定が必要。
 +最終的に、外からアクセスして以下のようなレスポンスが返ってくるようになってればOK。
 +<code sh>
 +% telnet mail.global.jp 25
 +Trying XXX.XX.XX.XXX...
 +Connected to mail.global.jp.
 +Escape character is '^]'.
 +220 mail.local ESMTP Postfix (Ubuntu)
 +mail from: xyz@abc.net
 +250 2.1.0 Ok
 +rcpt to: user@mail.global.jp
 +250 2.1.5 Ok
 +data
 +354 End data with <CR><LF>.<CR><LF>
 +This mail comes from outside.
 +.
 +250 2.0.0 Ok: queued as D186F80AFD
 +quit
 +221 2.0.0 Bye
 +Connection closed by foreign host.
 +% telnet mail.global.jp 25
 +Trying XXX.XX.XX.XXX...
 +Connected to mail.global.jp.
 +Escape character is '^]'.
 +220 mail.local ESMTP Postfix (Ubuntu)
 +mail from: xyz@abc.net
 +250 2.1.0 Ok
 +rcpt to: user@somewhere.else.jp
 +454 4.7.1 <user@somewhere.else.jp>: Relay access denied
 +quit
 +221 2.0.0 Bye
 +Connection closed by foreign host.
 +
 +</code>
  
 ===== dovecot ===== ===== dovecot =====
 +インストールは''apt''一発。(Ubuntu Serverの場合)<code sh>
 +$ sudo apt install dovecot-imapd
 +</code>
 +
 +設定ファイルは''/etc/dovecot/dovecot.conf''
  
 +===== main.cfのパラメータ =====
  
 ^ 雛形 ^ 設定変更 ^ ^ 雛形 ^ 設定変更 ^
linux/postfix_install.1660890678.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki