戻る
■バーチャルメールボックスのメールを確認
※Etcetra.txt の「メールを確認する」も参照 メールの保存場所へ移動 # cd /home/virtualmail/ # ll 合計 4 drwxr-xr-x 4 mailuser mailuser 4096 11月 25 23:04 refirio.net メールを確認 # ll refirio.net/test/Maildir/ 合計 44 drwxr-xr-x 2 mailuser mailuser 4096 12月 11 15:44 cur -rw-r--r-- 1 mailuser mailuser 399 12月 11 15:44 dovecot-uidlist -rw-r--r-- 1 mailuser mailuser 8 11月 25 23:14 dovecot-uidvalidity -r--r--r-- 1 mailuser mailuser 0 11月 25 23:10 dovecot-uidvalidity.619f9968 -rw-r--r-- 1 mailuser mailuser 5056 12月 11 15:44 dovecot.index.cache -rw-r--r-- 1 mailuser mailuser 4140 12月 11 15:46 dovecot.index.log -rw-r--r-- 1 mailuser mailuser 48 11月 25 23:14 dovecot.mailbox.log drwxr-xr-x 2 mailuser mailuser 4096 12月 11 15:54 new -rw-r--r-- 1 mailuser mailuser 11 11月 25 23:14 subscriptions drwxr-xr-x 2 mailuser mailuser 4096 12月 11 15:54 tmp 新着メールがある状態 # ll refirio.net/test/Maildir/ 合計 44 drwxr-xr-x 2 mailuser mailuser 4096 12月 11 15:44 cur -rw-r--r-- 1 mailuser mailuser 399 12月 11 15:44 dovecot-uidlist -rw-r--r-- 1 mailuser mailuser 8 11月 25 23:14 dovecot-uidvalidity -r--r--r-- 1 mailuser mailuser 0 11月 25 23:10 dovecot-uidvalidity.619f9968 -rw-r--r-- 1 mailuser mailuser 5056 12月 11 15:44 dovecot.index.cache -rw-r--r-- 1 mailuser mailuser 4140 12月 11 15:46 dovecot.index.log -rw-r--r-- 1 mailuser mailuser 48 11月 25 23:14 dovecot.mailbox.log drwxr-xr-x 2 mailuser mailuser 4096 12月 11 15:54 new -rw-r--r-- 1 mailuser mailuser 11 11月 25 23:14 subscriptions drwxr-xr-x 2 mailuser mailuser 4096 12月 11 15:54 tmp # ll refirio.net/test/Maildir/new/ 合計 4 -rw------- 1 mailuser mailuser 2346 12月 11 15:54 1639205681.Vfd04I155a9cM401882.refirio.net # ll refirio.net/test/Maildir/cur/ 合計 24 -rw------- 1 mailuser mailuser 2792 11月 25 23:13 1637849600.Vfd04I155a7fM749425.refirio.net:2,RS -rw------- 1 mailuser mailuser 4056 11月 29 23:22 1638195771.Vfd04I155a64M782368.refirio.net:2,S -rw------- 1 mailuser mailuser 2804 11月 29 23:42 1638196942.Vfd04I155a95M440234.refirio.net:2,S -rw------- 1 mailuser mailuser 2789 12月 4 15:49 1638600578.Vfd04I155a90M122562.refirio.net:2,RS -rw------- 1 mailuser mailuser 3336 12月 4 18:23 1638609801.Vfd04I155a99M649171.refirio.net:2,RS -rw------- 1 mailuser mailuser 2344 12月 11 15:44 1639205090.Vfd04I155a58M173551.refirio.net:2,S 新着メールを確認 # cat refirio.net/test/Maildir/new/1639205681.Vfd04I155a9cM401882.refirio.net Return-Path: <example@gmail.com> X-Original-To: test@refirio.net Delivered-To: test@refirio.net Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mail.refirio.net (Postfix) with ESMTP id D9F85CAD9 for <test@refirio.net>; Sat, 11 Dec 2021 15:54:40 +0900 (JST) Received: by mail-lf1-f41.google.com with SMTP id t26so21825132lfk.9 for <test@refirio.net>; Fri, 10 Dec 2021 22:54:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=kVIp+Wogyi4Zcccev+7pJGCEarR9keCB1jCzsDPwgmA=; b=XtSwYkXuBm/RGtUMg1BmV2xp3C+r7nOfNdxM2pHDXafMH5V6m2ow7hOBH5PBKE9LG8 NrscLqdt3twmqpuOLa6ZAd4QLu03bsAlXBjMhhZqAZkDMsfl36pM/d+ibnUlrZSUkkz+ ePZEuEkPBXg2YZBEmrvOjfSTo37PIOWbrZRNpgLcJmLvXud+mMwK63JCTOvYHN7D+NsL OvEMRXlSkCdHFYinxTV0CU4HNLaSGDlczyT/xWQsqf4pIIysRDkfKXoG57Nkrm7H7UJY FC+j8ifgn77b38B0ff1el1bDMLbt+m86BKf9aenK44VkfidmIaLS365PdQugqfKZg1WA KIAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kVIp+Wogyi4Zcccev+7pJGCEarR9keCB1jCzsDPwgmA=; b=u7tqRDDwA8BIAZO9Tb6OMT+TkbsoUALTC9m+sba1Fdp597JmTIs4FqL/2hl43NZsLP rG/aDxTOpSJKD0ybi5FNecKB4vahjTvB+I59+iTXhUDhp3CQTMx7S1ajzzUSpqRI/CgY vQnzRaLyUe8zQScjJvdzlIGrKj6YFRI9VuTlthpZpdA4+SLbLNPSlNcYSycXM2L0SIQg ua8y5zIEgs6o/P9cCDiCX+Dwf/WJh6ouCmQE+OAA/wGhcnRNAi5sUDQLTUbA1QTanP8n bQbMEJyYr1ShU0Y82t/cOXoWw6kQ2ISBNTxnkGqJ8G7ZvoKlYx/3oRpt0VzKy4Wy/KjJ KfjA== X-Gm-Message-State: AOAM532Ce85LZVAUWbPf5eBdGfKlz0T6p0qtDYRKgvFzerUjR6Vx6JTP XF+6Klb7X3mfYz/CSXYVGPc7jjxemE2tAxoezAYnNKH3Vfc= X-Google-Smtp-Source: ABdhPJwRE6ZESquGtxGZM62QJtk9w1vvJpe/mw7HUVBA/SxUvS80swT7qSyoaqrO6P/rMNWmsEEtqIuSEzMADSkFSR4= X-Received: by 2002:ac2:44c3:: with SMTP id d3mr9021772lfm.610.1639205679066; Fri, 10 Dec 2021 22:54:39 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?5bGx6YeO5a+b5ZKM?= <example@gmail.com> Date: Sat, 11 Dec 2021 15:53:42 +0900 Message-ID: <CABiFHFMcu+=mnMzBrOLiPJoVsBbWMeXY1AdHVXrR_2r5w97s+g@mail.gmail.com> Subject: TEST MAIL 2 To: test@refirio.net Content-Type: text/plain; charset="UTF-8" This is a test message. from refirio. メーラーで受信した状態 # ll refirio.net/test/Maildir/new/ 合計 0 # ll refirio.net/test/Maildir/cur/ 合計 28 -rw------- 1 mailuser mailuser 2792 11月 25 23:13 1637849600.Vfd04I155a7fM749425.refirio.net:2,RS -rw------- 1 mailuser mailuser 4056 11月 29 23:22 1638195771.Vfd04I155a64M782368.refirio.net:2,S -rw------- 1 mailuser mailuser 2804 11月 29 23:42 1638196942.Vfd04I155a95M440234.refirio.net:2,S -rw------- 1 mailuser mailuser 2789 12月 4 15:49 1638600578.Vfd04I155a90M122562.refirio.net:2,RS -rw------- 1 mailuser mailuser 3336 12月 4 18:23 1638609801.Vfd04I155a99M649171.refirio.net:2,RS -rw------- 1 mailuser mailuser 2344 12月 11 15:44 1639205090.Vfd04I155a58M173551.refirio.net:2,S -rw------- 1 mailuser mailuser 2346 12月 11 15:54 1639205681.Vfd04I155a9cM401882.refirio.net:2, メーラーで既読にした状態 # ll refirio.net/test/Maildir/new/ 合計 0 # ll refirio.net/test/Maildir/cur/ 合計 28 -rw------- 1 mailuser mailuser 2792 11月 25 23:13 1637849600.Vfd04I155a7fM749425.refirio.net:2,RS -rw------- 1 mailuser mailuser 4056 11月 29 23:22 1638195771.Vfd04I155a64M782368.refirio.net:2,S -rw------- 1 mailuser mailuser 2804 11月 29 23:42 1638196942.Vfd04I155a95M440234.refirio.net:2,S -rw------- 1 mailuser mailuser 2789 12月 4 15:49 1638600578.Vfd04I155a90M122562.refirio.net:2,RS -rw------- 1 mailuser mailuser 3336 12月 4 18:23 1638609801.Vfd04I155a99M649171.refirio.net:2,RS -rw------- 1 mailuser mailuser 2344 12月 11 15:44 1639205090.Vfd04I155a58M173551.refirio.net:2,S -rw------- 1 mailuser mailuser 2346 12月 11 15:54 1639205681.Vfd04I155a9cM401882.refirio.net:2,S メーラーで返信にした状態 # ll refirio.net/test/Maildir/cur/ 合計 28 -rw------- 1 mailuser mailuser 2792 11月 25 23:13 1637849600.Vfd04I155a7fM749425.refirio.net:2,RS -rw------- 1 mailuser mailuser 4056 11月 29 23:22 1638195771.Vfd04I155a64M782368.refirio.net:2,S -rw------- 1 mailuser mailuser 2804 11月 29 23:42 1638196942.Vfd04I155a95M440234.refirio.net:2,S -rw------- 1 mailuser mailuser 2789 12月 4 15:49 1638600578.Vfd04I155a90M122562.refirio.net:2,RS -rw------- 1 mailuser mailuser 3336 12月 4 18:23 1638609801.Vfd04I155a99M649171.refirio.net:2,RS -rw------- 1 mailuser mailuser 2344 12月 11 15:44 1639205090.Vfd04I155a58M173551.refirio.net:2,S -rw------- 1 mailuser mailuser 2346 12月 11 15:54 1639205681.Vfd04I155a9cM401882.refirio.net:2,RS メールの内容を確認 「:2,RS」のような値も含めて指定する(指定する際はエスケープが必要) # cat refirio.net/test/Maildir/cur/1639205681.Vfd04I155a9cM401882.refirio.net\:2\,RS Return-Path: <example@gmail.com> X-Original-To: test@refirio.net Delivered-To: test@refirio.net Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mail.refirio.net (Postfix) with ESMTP id D9F85CAD9 for <test@refirio.net>; Sat, 11 Dec 2021 15:54:40 +0900 (JST) Received: by mail-lf1-f41.google.com with SMTP id t26so21825132lfk.9 for <test@refirio.net>; Fri, 10 Dec 2021 22:54:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=kVIp+Wogyi4Zcccev+7pJGCEarR9keCB1jCzsDPwgmA=; b=XtSwYkXuBm/RGtUMg1BmV2xp3C+r7nOfNdxM2pHDXafMH5V6m2ow7hOBH5PBKE9LG8 NrscLqdt3twmqpuOLa6ZAd4QLu03bsAlXBjMhhZqAZkDMsfl36pM/d+ibnUlrZSUkkz+ ePZEuEkPBXg2YZBEmrvOjfSTo37PIOWbrZRNpgLcJmLvXud+mMwK63JCTOvYHN7D+NsL OvEMRXlSkCdHFYinxTV0CU4HNLaSGDlczyT/xWQsqf4pIIysRDkfKXoG57Nkrm7H7UJY FC+j8ifgn77b38B0ff1el1bDMLbt+m86BKf9aenK44VkfidmIaLS365PdQugqfKZg1WA KIAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kVIp+Wogyi4Zcccev+7pJGCEarR9keCB1jCzsDPwgmA=; b=u7tqRDDwA8BIAZO9Tb6OMT+TkbsoUALTC9m+sba1Fdp597JmTIs4FqL/2hl43NZsLP rG/aDxTOpSJKD0ybi5FNecKB4vahjTvB+I59+iTXhUDhp3CQTMx7S1ajzzUSpqRI/CgY vQnzRaLyUe8zQScjJvdzlIGrKj6YFRI9VuTlthpZpdA4+SLbLNPSlNcYSycXM2L0SIQg ua8y5zIEgs6o/P9cCDiCX+Dwf/WJh6ouCmQE+OAA/wGhcnRNAi5sUDQLTUbA1QTanP8n bQbMEJyYr1ShU0Y82t/cOXoWw6kQ2ISBNTxnkGqJ8G7ZvoKlYx/3oRpt0VzKy4Wy/KjJ KfjA== X-Gm-Message-State: AOAM532Ce85LZVAUWbPf5eBdGfKlz0T6p0qtDYRKgvFzerUjR6Vx6JTP XF+6Klb7X3mfYz/CSXYVGPc7jjxemE2tAxoezAYnNKH3Vfc= X-Google-Smtp-Source: ABdhPJwRE6ZESquGtxGZM62QJtk9w1vvJpe/mw7HUVBA/SxUvS80swT7qSyoaqrO6P/rMNWmsEEtqIuSEzMADSkFSR4= X-Received: by 2002:ac2:44c3:: with SMTP id d3mr9021772lfm.610.1639205679066; Fri, 10 Dec 2021 22:54:39 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?5bGx6YeO5a+b5ZKM?= <example@gmail.com> Date: Sat, 11 Dec 2021 15:53:42 +0900 Message-ID: <CABiFHFMcu+=mnMzBrOLiPJoVsBbWMeXY1AdHVXrR_2r5w97s+g@mail.gmail.com> Subject: TEST MAIL 2 To: test@refirio.net Content-Type: text/plain; charset="UTF-8" This is a test message. from refirio. なおこのとき、mailコマンドでは上記のメールを確認できなかった # mail Heirloom Mail version 12.5 7/5/10. Type ? for help. "/var/spool/mail/root": 1 message > 1 example@refirio.net Sun Oct 24 18:13 17/612 "*** SECURITY information for refirio.net ***" & q Held 1 message in /var/spool/mail/root ユーザの切り替えもできなかった # su mailuser This account is currently not available. # su virtualmail su: user virtualmail does not exist