{"id":296,"date":"2017-12-02T08:00:02","date_gmt":"2017-12-01T23:00:02","guid":{"rendered":"http:\/\/www.itc109.com\/knowledge\/?p=296"},"modified":"2021-09-30T09:00:02","modified_gmt":"2021-09-30T00:00:02","slug":"linux-smtp-server-postfix","status":"publish","type":"post","link":"https:\/\/www.itc109.com\/knowledge\/linux\/linux-smtp-server-postfix","title":{"rendered":"Postfix &#8211; SMTP\u30b5\u30fc\u30d0\u30fc\u306e\u5c0e\u5165"},"content":{"rendered":"<h4><strong>\u6982\u8981<\/strong><\/h4>\n<hr \/>\n<p>Postfix\u3092\u5229\u7528\u3057\u305fSMTP\u30ea\u30ec\u30fc\u30b5\u30fc\u30d0\u30fc\u306e\u5c0e\u5165\u3067\u65ec\u306b\u3064\u3044\u3066\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u203bAWS SES\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/www.itc109.com\/knowledge\/aws\/aws-ses\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044<\/p>\n<p>&nbsp;<\/p>\n<h4><strong>\u624b\u9806<\/strong><\/h4>\n<hr \/>\n<ul>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>\u74b0\u5883\u8a2d\u5b9a<\/li>\n<li>\u9001\u4fe1\u30c6\u30b9\u30c8<\/li>\n<li>\u30ed\u30b0\u78ba\u8a8d<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h5><strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/h5>\n<hr \/>\n<p><strong>1.postfix\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nyum -y install postfix\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:priorities, update-motd, upgrade-helper\r\namzn-main                                                | 2.1 kB     00:00\r\namzn-updates                                             | 2.5 kB     00:00\r\n\u4f9d\u5b58\u6027\u306e\u89e3\u6c7a\u3092\u3057\u3066\u3044\u307e\u3059\r\n--> \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\r\n---> \u30d1\u30c3\u30b1\u30fc\u30b8 postfix.x86_64 2:2.6.6-2.15.amzn1 \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n--> \u4f9d\u5b58\u6027\u306e\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059: postgresql-libs \u306e\u30d1\u30c3\u30b1\u30fc\u30b8: 2:postfix-2.6.6-2.15.amzn1.x86_64\r\n--> \u4f9d\u5b58\u6027\u306e\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059: mysql-libs \u306e\u30d1\u30c3\u30b1\u30fc\u30b8: 2:postfix-2.6.6-2.15.amzn1.x86_64\r\n--> \u4f9d\u5b58\u6027\u306e\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059: libmysqlclient.so.18(libmysqlclient_16)(64bit) \u306e \u30d1\u30c3\u30b1\u30fc\u30b8: 2:postfix-2.6.6-2.15.amzn1.x86_64\r\n--> \u4f9d\u5b58\u6027\u306e\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059: libpq.so.5()(64bit) \u306e\u30d1\u30c3\u30b1\u30fc\u30b8: 2:postfix-2.6.6-2.15.amzn1.x86_64\r\n--> \u4f9d\u5b58\u6027\u306e\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059: libmysqlclient.so.18()(64bit) \u306e\u30d1\u30c3\u30b1\u30fc\u30b8: 2:postfix-2.6.6-2.15.amzn1.x86_64\r\n--> \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\r\n---> \u30d1\u30c3\u30b1\u30fc\u30b8 mysql55-libs.x86_64 0:5.5.57-1.18.amzn1 \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n---> \u30d1\u30c3\u30b1\u30fc\u30b8 postgresql92-libs.x86_64 0:9.2.22-1.61.amzn1 \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n--> \u4f9d\u5b58\u6027\u89e3\u6c7a\u3092\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002\r\n\r\n\u4f9d\u5b58\u6027\u3092\u89e3\u6c7a\u3057\u307e\u3057\u305f\r\n\r\n================================================================================\r\n Package               \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc\r\n                                  \u30d0\u30fc\u30b8\u30e7\u30f3                \u30ea\u30dd\u30b8\u30c8\u30ea\u30fc   \u5bb9\u91cf\r\n================================================================================\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d:\r\n postfix               x86_64     2:2.6.6-2.15.amzn1        amzn-main     4.1 M\r\n\u4f9d\u5b58\u6027\u95a2\u9023\u3067\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u307e\u3059:\r\n mysql55-libs          x86_64     5.5.57-1.18.amzn1         amzn-main     816 k\r\n postgresql92-libs     x86_64     9.2.22-1.61.amzn1         amzn-main     262 k\r\n\r\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u8981\u7d04\r\n================================================================================\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb  1 \u30d1\u30c3\u30b1\u30fc\u30b8 (+2 \u500b\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u30d1\u30c3\u30b1\u30fc\u30b8)\r\n\r\n\u7dcf\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5bb9\u91cf: 5.2 M\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5bb9\u91cf: 13 M\r\nDownloading packages:\r\n(1\/3): mysql55-libs-5.5.57-1.18.amzn1.x86_64.rpm           | 816 kB   00:00\r\n(2\/3): postgresql92-libs-9.2.22-1.61.amzn1.x86_64.rpm      | 262 kB   00:00\r\n(3\/3): postfix-2.6.6-2.15.amzn1.x86_64.rpm                 | 4.1 MB   00:00\r\n--------------------------------------------------------------------------------\r\n\u5408\u8a08                                               8.5 MB\/s | 5.2 MB  00:00\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n  \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d          : mysql55-libs-5.5.57-1.18.amzn1.x86_64           1\/3\r\n  \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d          : postgresql92-libs-9.2.22-1.61.amzn1.x86_64      2\/3\r\n  \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d          : 2:postfix-2.6.6-2.15.amzn1.x86_64               3\/3\r\n  \u691c\u8a3c\u4e2d                  : postgresql92-libs-9.2.22-1.61.amzn1.x86_64      1\/3\r\n  \u691c\u8a3c\u4e2d                  : 2:postfix-2.6.6-2.15.amzn1.x86_64               2\/3\r\n  \u691c\u8a3c\u4e2d                  : mysql55-libs-5.5.57-1.18.amzn1.x86_64           3\/3\r\n\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:\r\n  postfix.x86_64 2:2.6.6-2.15.amzn1\r\n\r\n\u4f9d\u5b58\u6027\u95a2\u9023\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f:\r\n  mysql55-libs.x86_64 0:5.5.57-1.18.amzn1\r\n  postgresql92-libs.x86_64 0:9.2.22-1.61.amzn1\r\n\r\n\u5b8c\u4e86\u3057\u307e\u3057\u305f!\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>2.\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306e\u78ba\u8a8d<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\npostconf | grep mail_version\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\nmail_version = 2.6.6\r\nmilter_macro_v = $mail_name $mail_version\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>3.\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8ffd\u52a0<\/strong><br \/>\n\u300ccyrus-sasl-plain\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059<br \/>\n\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nyum install -y cyrus-sasl-plain\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:priorities, update-motd, upgrade-helper\r\n\u30d1\u30c3\u30b1\u30fc\u30b8 cyrus-sasl-plain-2.1.23-13.16.amzn1.x86_64 \u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u304b\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\r\n\u4f55\u3082\u3057\u307e\u305b\u3093\r\n<\/pre>\n<p>\u203b\u57f7\u7b46\u6642\u306eAmazon Linux\u74b0\u5883\u3067\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<h5><strong>\u74b0\u5883\u8a2d\u5b9a<\/strong><\/h5>\n<hr \/>\n<p><strong>1.\u300cmain.cf\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nvi \/etc\/postfix\/main.cf\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\n# of all parameters. For the syntax, and for a complete parameter\r\n# list, see the postconf(5) manual page (command: \"man 5 postconf\").\r\n#\r\n\r\n....\u7701\u7565\r\n\r\n# readme_directory: The location of the Postfix README files.\r\n#\r\nreadme_directory = \/usr\/share\/doc\/postfix-2.6.6\/README_FILES\r\n<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306b\u6b21\u306e\u5024\u3092\u8ffd\u52a0\u3057\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nrelayhost = email-smtp.us-west-2.amazonaws.com:587\r\nsmtp_sasl_auth_enable = yes\r\nsmtp_sasl_security_options = noanonymous\r\nsmtp_sasl_password_maps = hash:\/etc\/postfix\/sasl_passwd\r\nsmtp_use_tls = yes\r\nsmtp_tls_security_level = encrypt\r\nsmtp_tls_note_starttls_offer = yes\r\nsmtp_tls_CAfile = \/etc\/ssl\/certs\/ca-bundle.crt\r\nsmtp_tls_loglevel = 1\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>2.\u300cmaster.cf\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nvi \/etc\/postfix\/master.cf\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<p><br \/>\n#<br \/>\n# Postfix master process configuration file.  For details on the format<br \/>\n# of the file, see the master(5) manual page (command: &#8220;man 5 master&#8221;).<br \/>\n#<br \/>\n# Do not forget to execute &#8220;postfix reload&#8221; after editing this file.<br \/>\n#<br \/>\n# ==========================================================================<br \/>\n# service type  private unpriv  chroot  wakeup  maxproc command + args<br \/>\n#               (yes)   (yes)   (yes)   (never) (100)<br \/>\n# ==========================================================================<br \/>\nsmtp      inet  n       &#8211;       n       &#8211;       &#8211;       smtpd<\/p>\n<p>&#8230;.\u7701\u7565<\/p>\n<p>smtp      unix  &#8211;       &#8211;       n       &#8211;       &#8211;       smtp<br \/>\n# When relaying mail as backup MX, disable fallback_relay to avoid MX loops<br \/>\nrelay     unix  &#8211;       &#8211;       n       &#8211;       &#8211;       smtp<br \/>\n       -o smtp_fallback_relay=<br \/>\n#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5<br \/>\nshowq     unix  n       &#8211;       n       &#8211;       &#8211;       showq<\/p>\n<p>&#8230;.\u4ee5\u4e0b\u7701\u7565<\/p>\n<p>\u6b21\u306e\u5024\u306b\u4fee\u6b63\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p><br \/>\nrelay     unix  &#8211;       &#8211;       n       &#8211;       &#8211;       smtp<br \/>\n#       -o smtp_fallback_relay=<br \/>\n#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3.\u300csasl_passwd\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nvi \/etc\/postfix\/sasl_passwd\r\n<\/pre>\n<p>\u65b0\u898f\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre>\r\n\u203b\"\/etc\/postfix\/sasl_passwd\" [New File]\r\n<\/pre>\n<p>\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u306b\u6b21\u306e\u5024\u3092\u8ffd\u52a0\u3057\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nemail-smtp.us-west-2.amazonaws.com:587 [Smtp Username]: [Smtp Password]\r\n<\/pre>\n<p><span style=\"color: #ff0000;\">\u203bIAM\u3067\u4f5c\u6210\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u306e[Smtp Username][Smtp Password]\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong>4.SMTP \u8a8d\u8a3c\u60c5\u5831\u3092\u542b\u3080 hashmap \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\npostmap hash:\/etc\/postfix\/sasl_passwd\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\n#\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>5.\u6240\u6709\u8005\u3092\u30eb\u30fc\u30c8\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nsudo chown root:root \/etc\/postfix\/sasl_passwd \/etc\/postfix\/sasl_passwd.db\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\n#\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>6.\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u5236\u9650\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nsudo chmod 0600 \/etc\/postfix\/sasl_passwd \/etc\/postfix\/sasl_passwd.db\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\n#\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>7.Postfix\u306bCA\u8a3c\u660e\u66f8\u306e\u5834\u6240\u3092\u8a8d\u8b58\u3055\u305b\u307e\u3059\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nsudo postconf -e 'smtp_tls_CAfile = \/etc\/ssl\/certs\/ca-bundle.crt'\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\n#\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>8.OS\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u7684\u306b\u30b5\u30fc\u30d3\u30b9\u3082\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nchkconfig postfix on\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\n#\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>9.\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/strong><\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n\/etc\/rc.d\/init.d\/postfix start\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\npostfix \u3092\u8d77\u52d5\u4e2d:                                          [  OK  ]\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h5><strong>\u9001\u4fe1\u30c6\u30b9\u30c8<\/strong><\/h5>\n<hr \/>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nsendmail -f mail@example.com mail@example.com\r\nFrom: mail@example.com\r\nSubject: Postfix Send Mail Test - Server01\r\nThis email was sent through Amazon SES!\r\n.\r\n<\/pre>\n<p>\u203bmail@example.com\u3092\u4fee\u6b63\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h5><strong>\u30ed\u30b0\u306e\u78ba\u8a8d<\/strong><\/h5>\n<hr \/>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\ntail -n10 \/vat\/log\/maillog\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre>\r\nJan 01 00:00:00 ip-xxx-xxx-xxx-xxx postfix\/smtp[11161]: 0010360A01: to=<mail@example.com>, relay=email-smtp.us-west-2.amazonaws.com[xxx.xxx.xxx.xxx]:587, delay=1.8, delays=0.05\/0.03\/1\/0.7, dsn=2.0.0, status=sent (250 Ok 010101500aca038e-00a6ffe9-5177-4626-bbae-e00022bec011-000000)\r\n<\/pre>\n<p>\u300cstatus=sent\u300d\u3068\u306a\u3063\u3066\u3044\u308c\u3070\u9001\u4fe1\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u7279\u5b9a\u306e\u30ed\u30b0\u306e\u307f\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\uff09\u76f4\u8fd110\u4ef6\u306e\u30ed\u30b0\u304b\u3089\u9001\u4fe1\u304c\u6210\u529f\u3057\u3066\u3044\u308b\u30ed\u30b0\u3092\u8868\u793a\u3002<\/p>\n<pre>\r\ntail -n10 \/vat\/log\/maillog | grep status=sent\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 Postfix\u3092\u5229\u7528\u3057\u305fSMTP\u30ea\u30ec\u30fc\u30b5\u30fc\u30d0\u30fc\u306e\u5c0e\u5165\u3067\u65ec\u306b\u3064\u3044\u3066\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002 \u203bAWS SES\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044 &nbsp; \u624b\u9806 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u74b0\u5883\u8a2d\u5b9a \u9001\u4fe1\u30c6\u30b9\u30c8 \u30ed\u30b0\u78ba\u8a8d &#038;nbs&#8230;<\/p>\n","protected":false},"author":3,"featured_media":45,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3],"tags":[63,53],"class_list":["post-296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-postfix","tag-smtp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.itc109.com\/knowledge\/wp-content\/uploads\/sites\/2\/logo\/logo-linux.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pacZwp-4M","_links":{"self":[{"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/posts\/296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/comments?post=296"}],"version-history":[{"count":10,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/posts\/296\/revisions"}],"predecessor-version":[{"id":1783,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/posts\/296\/revisions\/1783"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/media\/45"}],"wp:attachment":[{"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/media?parent=296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/categories?post=296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/tags?post=296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}