SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


linux:postfix_install

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
linux:postfix_install [2022/08/22 16:13] – [Setting-up Postfix] kimilinux:postfix_install [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1
行 73: 行 73:
 |myorigin|''$myhostname''| | |myorigin|''$myhostname''| |
 |mydestination|''$myhostname localhost.$mydomain localhost''| | |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 =====
行 79: 行 114:
 </code> </code>
  
 +設定ファイルは''/etc/dovecot/dovecot.conf''
 +
 +===== main.cfのパラメータ =====
  
 ^ 雛形 ^ 設定変更 ^ ^ 雛形 ^ 設定変更 ^
linux/postfix_install.1661152380.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki