From nobody Sun May 8 22:59:39 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 035371AD4377 for ; Sun, 8 May 2022 23:00:23 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KxKX62gckz4x1f for ; Sun, 8 May 2022 23:00:22 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-oi1-x22a.google.com with SMTP id w194so12257848oie.9 for ; Sun, 08 May 2022 16:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=veBU74UH04M3S3WJbg1A8/R7FMytUOHG1D6ba3zjrco=; b=Yc/r5G8E6IDjhYI2pZethhJOCn7uojT88zIHyZDmljWUZYxENQFu/yVa/wvlRLGQxX 0XpcH0a53kJtXfnK4kwhGvhrO22bpNIIx/vXK2YmLwLlPhneGZkJLGBMcMP0zzatJumS M8EWXGBhqq78BJF7dY8eWXlaPhddfC/ZhU6qN64uRQTxww8grPS1K+ogjikqsoTLhbx+ SA/wemPQZbnfIo1qjMlSEaT/USCGK+3aB97sK8aKgiOOSPrBIMZnq90lHJFZFq13BK5a dwO9Cb3vjYPCE7f3ibSwBy1i4g6icrKqxqILpszD682cmbU0DBM051ICV0gV7gT/szCv s72g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=veBU74UH04M3S3WJbg1A8/R7FMytUOHG1D6ba3zjrco=; b=RrfLHcVz8NlI9swHVm0ZGk6xCvIBschFG6yT3plGbpTTLD2pTI7EQylwI63uwGPTxq /cHbDMerY24PI2eLjvDVS4vaScx1XVr/cQLv2EjE0R6B80ZhPMRO2L352wB4f2TotIQ5 P0fTOj+TqY6ewjNJpfr9FFhX+c+rPhB/mgSWao5V2XTStJJwC3xEmbde0esnjmmkzdiN DjXXfNrPwWfKmSgb9EmYnJHmrwGSxHAlUKuZWXc+8RtOu0gU9zhSZtI5UuoO8cyK2Hur hZ0QQFbeaiYFbS+ik3LOBo1bWH5CbNEneADx8WG4it/RUlSSSRb3sESWSGDPzNx8s5zK ClpA== X-Gm-Message-State: AOAM5314qlJ2Y55VT/OkuMzO+qL4AwvEVl6KrN29SPzEksUk5Wwl6/ay unyTitWmY8EurLGNJRACUvG5bzUBV+qEnFYqiftVmKEWmd4= X-Google-Smtp-Source: ABdhPJy/hW8MF3PdsooKN+vR6FENZoRCiplIK6qMn5TZi0eSpHjndnaOlxnOI9KZSZA5yPzm8JO7F8y+5NtDZUqCUps= X-Received: by 2002:a05:6808:2203:b0:326:98a5:9333 with SMTP id bd3-20020a056808220300b0032698a59333mr5739543oib.272.1652050816162; Sun, 08 May 2022 16:00:16 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <50d6e516-1590-94b6-c3c8-61527eac912e@holgerdanske.com> In-Reply-To: <50d6e516-1590-94b6-c3c8-61527eac912e@holgerdanske.com> From: Mehmet Erol Sanliturk Date: Mon, 9 May 2022 01:59:39 +0300 Message-ID: Subject: Re: Accessing root mail messages from another LAN host via IMAP To: David Christensen Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000000c691205de880efd" X-Rspamd-Queue-Id: 4KxKX62gckz4x1f X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="Yc/r5G8E"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mesanliturk@gmail.com designates 2607:f8b0:4864:20::22a as permitted sender) smtp.mailfrom=mesanliturk@gmail.com X-Spamd-Result: default: False [-2.49 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.51)[0.509]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22a:from]; MLMMJ_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --0000000000000c691205de880efd Content-Type: text/plain; charset="UTF-8" On Mon, May 9, 2022 at 12:47 AM David Christensen wrote: > On 5/8/22 14:06, Mehmet Erol Sanliturk wrote: > > On Sun, May 8, 2022 at 11:30 PM David Christensen < > dpchrist@holgerdanske.com> > > wrote: > > > >> On 5/8/22 06:34, Arthur Chance wrote: > >>> On 08/05/2022 07:05, David Christensen wrote: > >>>> freebsd-questions: > >>>> > >>>> I have a SOHO network with a FreeBSD computer: > >>>> > >>>> 2022-05-07 22:28:10 toor@f3 ~ > >>>> # freebsd-version ; uname -a > >>>> 12.3-RELEASE-p5 > >>>> FreeBSD f3.tracy.holgerdanske.com 12.3-RELEASE-p5 FreeBSD > >>>> 12.3-RELEASE-p5 GENERIC amd64 > >>>> > >>>> > >>>> I would like to read mail for the root account on the above computer > by > >>>> using an e-mail client, IMAP, and TLS (Thunderbird) on another LAN > >>>> computer. > >>>> > >>>> How do I accomplish this goal? Are there any tutorials available on > the > >>>> WWW? > >>> > >>> Do you actually need/want the root mail to be stored on the originating > >>> machine? I have a variety of servers on my home network and they all > >>> forward all mail to a central machine using dma(1). > >> > >> > >> Thank you for the reply. > >> > >> > >> At this point, I am looking to start with the simplest solution for one > >> FreeBSD computer. > >> > >> > >> Lucas [1] describes using dma(1). A local centralized MTA has > >> operations and maintenance advantages, especially if there are many > >> local hosts. But, first I have to figure out how to build a local > >> centralized MTA (with TLS). Furthermore, centralization implies "all of > >> your eggs in one basket". As I expect that I will be breaking and > >> fixing this several times as I learn, decentralized KISS should be > easier. > >> > >> > >> David > >> > >> > >> [1] https://mwl.io/nonfiction/os#af3e > > > > > > > > > > I am asking for only learning : > > > > To enable communications between local computers , > > is it not possible to use NFS supporting communicating programs ? > > If NFS is not suitable , why ? > > > > > > With my best wishes , > > > > Mehmet Erol Sanliturk > > > https://en.wikipedia.org/wiki/Network_File_System > > "Network File System (NFS) is a distributed file system protocol > originally developed by Sun Microsystems (Sun) in 1984,[1] allowing a > user on a client computer to access files over a computer network much > like local storage is accessed. ..." > > > AIUI electronic mail uses different protocols that NFS, so they are not > compatible by default. > > > That said, the MTA on the server stores messages in a filesystem as does > the MUA on the client. I supposed you could create a filesystem in one > place for mail storage and have the client and server share it, but the > MTA and the MUA both would need to be designed for shared storage and > both would need to use the same file structures; I doubt sendmail(8) and > Thunderbird have these. And, then there is reliability and security. > > > David > Your answer is sufficiently clear to understand the problems . Thank you very much . With my best wishes , Mehmet Erol Sanliturk --0000000000000c691205de880efd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, May 9, 2022 = at 12:47 AM David Christensen <dpchrist@holgerdanske.com> wrote:
On 5/8/22 14:06, Mehmet Erol Sanliturk wrote:<= br> > On Sun, May 8, 2022 at 11:30 PM David Christensen <dpchrist@holgerdanske.com>
> wrote:
>
>> On 5/8/22 06:34, Arthur Chance wrote:
>>> On 08/05/2022 07:05, David Christensen wrote:
>>>> freebsd-questions:
>>>>
>>>> I have a SOHO network with a FreeBSD computer:
>>>>
>>>> 2022-05-07 22:28:10 toor@f3 ~
>>>> # freebsd-version ; uname -a
>>>> 12.3-RELEASE-p5
>>>> FreeBSD
f3.tracy.holgerdanske.com 12.3-RELEAS= E-p5 FreeBSD
>>>> 12.3-RELEASE-p5 GENERIC=C2=A0 amd64
>>>>
>>>>
>>>> I would like to read mail for the root account on the abov= e computer by
>>>> using an e-mail client, IMAP, and TLS (Thunderbird) on ano= ther LAN
>>>> computer.
>>>>
>>>> How do I accomplish this goal?=C2=A0 Are there any tutoria= ls available on the
>>>> WWW?
>>>
>>> Do you actually need/want the root mail to be stored on the or= iginating
>>> machine? I have a variety of servers on my home network and th= ey all
>>> forward all mail to a central machine using dma(1).
>>
>>
>> Thank you for the reply.
>>
>>
>> At this point, I am looking to start with the simplest solution fo= r one
>> FreeBSD computer.
>>
>>
>> Lucas [1] describes using dma(1).=C2=A0 A local centralized MTA ha= s
>> operations and maintenance advantages, especially if there are man= y
>> local hosts.=C2=A0 But, first I have to figure out how to build a = local
>> centralized MTA (with TLS).=C2=A0 Furthermore, centralization impl= ies "all of
>> your eggs in one basket".=C2=A0 As I expect that I will be br= eaking and
>> fixing this several times as I learn, decentralized KISS should be= easier.
>>
>>
>> David
>>
>>
>> [1] https://mwl.io/nonfiction/os#af3e
>
>
>
>
> I am asking for only learning :
>
> To enable communications between local computers ,
> is it not possible to use=C2=A0 NFS supporting communicating programs = ?
> If NFS is not suitable , why ?
>
>
> With my best wishes ,
>
> Mehmet Erol Sanliturk


https://en.wikipedia.org/wiki/Network_File_System

"Network File System (NFS) is a distributed file system protocol
originally developed by Sun Microsystems (Sun) in 1984,[1] allowing a
user on a client computer to access files over a computer network much
like local storage is accessed. ..."


AIUI electronic mail uses different protocols that NFS, so they are not compatible by default.


That said, the MTA on the server stores messages in a filesystem as does the MUA on the client.=C2=A0 I supposed you could create a filesystem in on= e
place for mail storage and have the client and server share it, but the MTA and the MUA both would need to be designed for shared storage and
both would need to use the same file structures; I doubt sendmail(8) and Thunderbird have these.=C2=A0 And, then there is reliability and security.<= br>

David



=



--0000000000000c691205de880efd--