Hiya.

I have a few noob questions about mail on OpenBSD.
I'm not sure where to start so I'll blurt them out.

What is "mail"?
In the past I have used:
dmesg | mail -s "dmesg" my.acco...@gmail
This get's me a copy of dmesg on gmail and allows me to forward it to
the boffins.
That's all fine. However, if I disable Sendmail (sendmail_flags=NO)
the mail command does not work.
Is mail a front end to sendmail?
What is the connection between them?
I considered that "mail" might be a shortcut to Sendmail but it
doesn't appear to be from my understanding of mailer.conf. Further
there are two separate man pages.
Is it similar to the way syslogd (Sendmail) is different from logger (mail)?

There are other types of mail program as well I think.
Software that fetches mail from an external server.
Software that acts as a client to Sendmail.
Is that correct?

As I understand it OpenSMTPD is a possible non-production replacement
for Sendmail.
Does OpenSMTPD require mail?
An overview of how mail works on OpenBSD might help me with this.

I want to understand the underlying concepts but to be more specific I
want to understand how "messages" (e.g. system logging - daily
insecurity output, etcetera) gets to my mailbox.
Also what do I need to be able to send an occasional message out.
So if explaining everything is difficult, how it affects those
circumstances would be great.

I'm looking forward to getting further along the path.

Best wishes.
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to