|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
Disclaimer: I don't use mail(1). My preference is for the mutt package.
The mail(1) man page refers to the "Mail Reference Manual". Google searching provided a link to it here: https://docs.freebsd.org/44doc/usd/07.mail/paper.pdf
Last edited by jggimi; 12th January 2021 at 01:39 PM. Reason: typo |
|
||||
Replying again just to note that some ISPs that offer client email services also offer a "smarthost" service to permit their users to set up outbound mail servers that relay all mail through the ISP, as if the mail was sent through the ISP's email client applications.
|
|
|||
mail(1) is very old. These is info out there. Look also for tutorials for mailx and heirloom-mail.
I like using mail(1) so as an experiment I wanted to see how much I could do with it for modern mail usage. As said, mail(1) is just the reader. You need other tools to send messages to other users or to pull messages from externally hosted mailboxes. With a whole lot of external help, mail(1) could be used but it's biggest limitation is being limited to the mbox format. If you like the mail(1) interface but want something with modern features, check out the mail/s-nail package. |
|
||||
Thanks. I've read the "Mail Reference Manual" and I have a better understanding now. My main source of confusion was not knowing the difference between my user's "system" mail box and my (local) "mbox" mail box.
I was hoping to use /usr/bin/mail to send cron job output to my gmail account but, as you've both said, it's not really set up to do that. |
|
|||
Wrong tool. Use smtpd and an alias or a .forward file to redirect mail destined for the local user to gmail.
If you don't want to deal with your own mail reputation and all that, you can use smptd to connect to your ISP mail server or to gmail to send for you. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mdoc(7) documentation/ tutorial | J65nko | News | 0 | 29th August 2011 02:00 AM |
Tutorial: Installing XFCE on Gnome 4.8 | jcdenton | OpenBSD Packages and Ports | 3 | 9th May 2011 04:56 PM |
openBSD webserver tutorial | werwer | OpenBSD Packages and Ports | 2 | 29th May 2010 04:20 PM |
good vi(1) tutorial | ocicat | General software and network | 4 | 8th April 2010 04:12 AM |
Java online tutorial | 18Googol2 | Programming | 5 | 28th August 2008 03:07 AM |