From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0256158083 for ; Sat, 31 Aug 2024 22:42:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92123E2AD8; Sat, 31 Aug 2024 22:42:10 +0000 (UTC) Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3309EE2ACE for ; Sat, 31 Aug 2024 22:42:10 +0000 (UTC) Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-e1a74ee4c75so2151466276.3 for ; Sat, 31 Aug 2024 15:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725144129; x=1725748929; darn=lists.gentoo.org; h=in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:to:subject:from:to:cc:subject:date:message-id:reply-to; bh=yz2vkd7LE/xJdbB9zozORXrJp3WkVD5HZvkvB6TOxJY=; b=Svfiq9Qha42g38jqcc6UEZu7zOXLaxnl+iOYYQhYbQHrmw7i+XnkdtOCzyOUGgRoDk NG5sUCK/NoOq3j/lVG60GPXWH3/B2qh0+/OZG+D2B6Jw952hSopthaO421BrJkGZd0Sz 2QnCIsDH/1k7JATg0GsnmnIfZwrn9/VHxwnpeD1fZ32t5lqYNRMjvGYwMcuAbaHY1+5k XnsA6mh6KZkcE8X74lotvkfsktAHA6D2X7PxojtF0X3aF+sjE9ahDupVQFEMZRAo9AGD wCZ7zJoYksiq4/niqZfu7Htzq/0vpCqvG+4P5o2+WjHFz3MSvdFIc+xrDJx6rHevi3qL QZfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725144129; x=1725748929; h=in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:to:subject:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=yz2vkd7LE/xJdbB9zozORXrJp3WkVD5HZvkvB6TOxJY=; b=k6uEJKpWLAIK75jDE+N8586SFXlJ1HI+neiCIUEGgfJQOnA6zHhlKy7XjQZOZ/5QM1 fOFNUtKG8c7egFa/RQ8XDOfxMLwZsndHF/Jbc8nSnEELUPaewSLWq4MsTUkJdRJ3SDat 3HcoP4cTk+47EsdIcMt6ogrz/KhLxlbS0N2zaFSzywJBZsquWAdcLaQaDc1mqHEfZbQc vYWbcE5PcmjJxJPyqXALS93uMELf4fdxdhqWUCiBm2lIDRdltffzncfjQcZy6Lc885Yl kTsd9fgtRV/taooqgL0w3vedyGyboZ+mDbPH59OAKmjLQdZmle0fFTq2oMfTs8LRq/GH F/Eg== X-Gm-Message-State: AOJu0YxnClSBu4/9BoWjoEHndPJWaGfRxguvxFQfC0r3ME2fKdzPJDTH 7viX7lpM7G3HgDJxYsHdIoydAIg8jq86b5Aq7ByDjFJlSZcvQQTs X-Google-Smtp-Source: AGHT+IG5edMtdPjNl7e7+pCrV9jVbPmMyL396jac5CFDkHlls0jPQkhw2MSbmkDCz/I/SMKkIXYiuA== X-Received: by 2002:a05:690c:660b:b0:63b:aaf1:b8c1 with SMTP id 00721157ae682-6d4112901a9mr74267477b3.37.1725144129202; Sat, 31 Aug 2024 15:42:09 -0700 (PDT) Received: from [10.8.8.2] ([45.134.140.24]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6d2d61983b9sm11315037b3.133.2024.08.31.15.42.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 31 Aug 2024 15:42:08 -0700 (PDT) Subject: Re: [gentoo-user] How to setup internal email sending To: gentoo-user@lists.gentoo.org References: <3310292.aeNJFYEL58@rogueboard> <1999822.usQuhbGJ8B@rogueboard> <2b6f740b-dc25-a940-3e3c-a8dbc4b27fa7@gmail.com> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AW IQQSG1h01ruv/WNXc3Q3RqOgiQH1GwUCYVJy8gAKCRA3RqOgiQH1G+waEACeTZCt77jnRAmQ AV7otKuZekDWiLi3Eig8tj5ZJiCN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:08 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------AF6F21AB76BD0FFD93D3CEB3" X-Archives-Salt: b2fb0bc0-a2bc-44ba-b49c-566dd8893ae8 X-Archives-Hash: 85a53795ea5b8c626626666fbf4a8dca This is a multi-part message in MIME format. --------------AF6F21AB76BD0FFD93D3CEB3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Frank Steinmetzger wrote: > Am Sat, Aug 31, 2024 at 01:57:25PM -0500 schrieb Dale: > >>>>>> I expect any MTA would do the task of sending emails - but since you've >>>>>> installed s-nail check the configuration examples offered here: >>>>>> >>>>>> https://wiki.archlinux.org/title/S-nail >>> Thank you. I will look into this wiki. >>> >>>>> email seems to be one of the more complicated things to manage in linux. >>> That's why I avoided it so far. :) >>> >>> >> I set this up on my old machine and transferred it over to my new rig.  >> I use mail-mta/ssmtp and it works fine.  I haven't tested it yet on new >> rig but worked on old rig.  Only thing that uses it is SMART for hard >> drives, that I know of anyway.  This is my config file, less comments.  >> /etc/ssmtp/ssmtp.conf >> >> root=postmaster >> >> root=rdalek1967@gmail.com  #Change to your preferred email address >> >> […] >> >> Hope that helps.   Someone else may add to this.  Or correct things.  > Well, the OP wants to have local delivery, not delivery via SMTP to an > external server. That means the mail is generated by the local service (like > ZED or smartd), reaches the MTA and that—without any network traffic—puts > the mail directly into a local folder, where it can be viewed with a reader > like mutt, or trigger a “you have mail” notification at logon. > > I use dma for that. I can’t remember anymore whether I had to set up > anything specific, but my /etc/dma/dma.conf is completely vanilla and has > all lines commented out. When I do something like > > echo hi | mutt root -s testmail > echo hi | mutt frank -s testmail > > I get a new mail in /var/spool/mail/root and /var/spool/mail/frank, > respectively. > Oh, that kind of local.  I never tried that.  Although I would like one day to set up my own email thing so I can use whatever client I want.  Sounds complicated so that's a while off.  Dale :-)  :-)  --------------AF6F21AB76BD0FFD93D3CEB3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Frank Steinmetzger wrote:
Am Sat, Aug 31, 2024 at 01:57:25PM -0500 schrieb Dale:

I expect any MTA would do the task of sending emails - but since you've
installed s-nail check the configuration examples offered here:

https://wiki.archlinux.org/title/S-nail
Thank you. I will look into this wiki.

 email seems to be one of the more complicated things to manage in linux.
That's why I avoided it so far. :)


I set this up on my old machine and transferred it over to my new rig. 
I use mail-mta/ssmtp and it works fine.  I haven't tested it yet on new
rig but worked on old rig.  Only thing that uses it is SMART for hard
drives, that I know of anyway.  This is my config file, less comments. 
/etc/ssmtp/ssmtp.conf

root=postmaster

root=rdalek1967@gmail.com  #Change to your preferred email address

[…]

Hope that helps.   Someone else may add to this.  Or correct things. 
Well, the OP wants to have local delivery, not delivery via SMTP to an 
external server. That means the mail is generated by the local service (like 
ZED or smartd), reaches the MTA and that—without any network traffic—puts 
the mail directly into a local folder, where it can be viewed with a reader 
like mutt, or trigger a “you have mail” notification at logon.

I use dma for that. I can’t remember anymore whether I had to set up 
anything specific, but my /etc/dma/dma.conf is completely vanilla and has 
all lines commented out. When I do something like

echo hi | mutt root -s testmail
echo hi | mutt frank -s testmail

I get a new mail in /var/spool/mail/root and /var/spool/mail/frank, 
respectively.


Oh, that kind of local.  I never tried that.  Although I would like one day to set up my own email thing so I can use whatever client I want.  Sounds complicated so that's a while off. 

Dale

:-)  :-) 
--------------AF6F21AB76BD0FFD93D3CEB3--