I want to set up ZFS Event Daemon Notifications to be sent by ZED to
my user account locally.
It is said in ZFS Gentoo Wiki (see, https://wiki.gentoo.org/wiki/ZFS#ZFS_Event_Daemon_Notifications)
that to do this I have to set my email address in /etc/zfs/zed.d/zed.rc
However, I am afraid that it is not enough as I have not set up any
email client or server in my Gentoo box.
I have read in an Arch Wiki that to do this I have to install s-nail
and have done it.
However, again, I have found no instructions on how to set up the
s-nail for this very simple task
(take the message from ZFS Event Daemon and deliver it to a folder in
my home directory).
P.S. Alternatively, I would be satisfied if ZED will just log to some
file instead of sending emails.
Please, forgive me, if this question is stupid.
On Saturday, 31 August 2024 15:10:02 BST gevisz wrote:
I want to set up ZFS Event Daemon Notifications to be sent by ZED to
my user account locally.
It is said in ZFS Gentoo Wiki (see,
https://wiki.gentoo.org/wiki/ZFS#ZFS_Event_Daemon_Notifications)
that to do this I have to set my email address in /etc/zfs/zed.d/zed.rc
However, I am afraid that it is not enough as I have not set up any
email client or server in my Gentoo box.
I have read in an Arch Wiki that to do this I have to install s-nail
and have done it.
However, again, I have found no instructions on how to set up the
s-nail for this very simple task
(take the message from ZFS Event Daemon and deliver it to a folder in
my home directory).
P.S. Alternatively, I would be satisfied if ZED will just log to some
file instead of sending emails.
Please, forgive me, if this question is stupid.
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
I did not have success making the mail client (thunderbird in my case)
read from a local mailbox so I ended up configuring the MTA (nullmailer)
to forward the messages produced by my local daemons or shell scripts to
one of the external mail servers I already used for thunderbird.
Il 31/08/24 19:09, Michael ha scritto:
On Saturday, 31 August 2024 15:10:02 BST gevisz wrote:
I want to set up ZFS Event Daemon Notifications to be sent by ZED to
my user account locally.
It is said in ZFS Gentoo Wiki (see,
https://wiki.gentoo.org/wiki/ZFS#ZFS_Event_Daemon_Notifications)
that to do this I have to set my email address in /etc/zfs/zed.d/zed.rc
However, I am afraid that it is not enough as I have not set up any
email client or server in my Gentoo box.
I have read in an Arch Wiki that to do this I have to install s-nail
and have done it.
However, again, I have found no instructions on how to set up the
s-nail for this very simple task
(take the message from ZFS Event Daemon and deliver it to a folder in
my home directory).
P.S. Alternatively, I would be satisfied if ZED will just log to some
file instead of sending emails.
Please, forgive me, if this question is stupid.
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
My understanding is that daemons (or shell scripts) do not access
directly the local mailbox, they have to go through an MTA. s-nail is a
mail client, not an MTA. The latter would be e.g. postfix, sendmail, nullmailer.
I did not have success making the mail client (thunderbird in my case)
read from a local mailbox so I ended up configuring the MTA (nullmailer)
to forward the messages produced by my local daemons or shell scripts to
one of the external mail servers I already used for thunderbird.
I'm sure there is a more linear way so I'd be interested in the answer
to this not stupid question, email seems to be one of the more
complicated things to manage in linux.
raf
On Saturday, 31 August 2024 18:37:06 BST ralfconn wrote:
I did not have success making the mail client (thunderbird in my case)
read from a local mailbox so I ended up configuring the MTA (nullmailer)
to forward the messages produced by my local daemons or shell scripts to
one of the external mail servers I already used for thunderbird.
Probably not relevant to the OP, but did you try to configure T'bird to look at a local folder where your mail was stored (you'll probably need T'bird's movemail for this):
https://support.mozilla.org/en-US/questions/1341209 https://ubuntuforums.org/showthread.php?t=1718795
I've been able to access local mail storage with mutt and with Kmail - but have not tried T'bird.
Thank you. I will look into this wiki.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
That's why I avoided it so far. :)email seems to be one of the more complicated things to manage in linux.
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.
On Saturday, 31 August 2024 18:37:06 BST ralfconn wrote:
I did not have success making the mail client (thunderbird in my case)
read from a local mailbox so I ended up configuring the MTA (nullmailer)
to forward the messages produced by my local daemons or shell scripts to
one of the external mail servers I already used for thunderbird.
Probably not relevant to the OP, but did you try to configure T'bird to look at a local folder where your mail was stored (you'll probably need T'bird's movemail for this):
https://support.mozilla.org/en-US/questions/1341209 https://ubuntuforums.org/showthread.php?t=1718795
I've been able to access local mail storage with mutt and with Kmail - but have not tried T'bird.
ralfconn wrote:
Funny, [4] suggests going back to seamonkey for movemail support. I
once was a happy seamonkey user then switched to FF/TB because SM
seemed unmaintained, but from the website it looks like it's still
alive and kicking.
raf
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1625741
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1625741#c35
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1802145
[4] https://bugzilla.mozilla.org/show_bug.cgi?id=1625741#c81
I think Seamonkey mostly gets bug fixes and updates so that it compiles
with new tools and works with newer software. I don't think it gets
much else. I am constantly running into sites that don't work right or
even load with Seamonkey but work fine with Firefox. Some may recall
the massive Firefox rewrite a few years ago. Once Firefox got the kinks worked out, it was a huge improvement. Also, add-ons were redone as
well. Seamonkey needs to do the same because there are few add-ons that work with Seamonkey now. You have to use the old add-ons, if you can
find them, to use anything and almost none of them get updated. As a example, I switched from Lastpass to Bitwarden. I have to use Lastpass
on any site I want to access that uses passwords because Bitwarden
doesn't have a up to date add-on for Seamonkey. Lastpass doesn't
either. It's still stuck on the last version since Firefox did it's
rewrite and add-on change. Yea, no security updates either. Basically, the only reason I still have Lastpass, it was already installed. If I
were to remove Lastpass, I may not be able to get it back. If it
stopped working, it would be dead. There is no update for it in
Seamonkey.
In my opinion, Seamonkey is slowly dying unless enough people step up
and update it to work like Firefox, including add-ons, and is coded in a
way that websites work like Firefox does. I mostly use it for the email part and would like to switch but I don't like Thunderbird to much.
Links is my biggest problem. If I click on a link, it wants to open a
new instance of Firefox instead of asking me which instance I want to
open in with a new tab. As I type, I have four instances of Firefox
open. Each one had a different set of add-ons installed and are used
for different tasks. When I click on a link, I just need it to open in
a new tab and ask me where to do it.
If anyone were to ask me if they should start using Seamonkey, I'd say
no. It worries me that at some point, it isn't even going to work well enough just for the email part. That is about the only part of it that really works OK. For web browsing, it's Firefox for 99% of things I do here. As it is, I have to copy links in Seamonkey email and then paste
the link in a new tab in Firefox on occasion. It's annoying.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 17:45:51 |
Calls: | 10,389 |
Files: | 14,061 |
Messages: | 6,416,953 |