On 02/25/16 17:01, Jaap Bosman wrote: > Hallo, I would like to use mail(1) for email client.
No, really, you don't. > In man mail(1) I read nothing about configure mail to send and receive > email from outside. I would like to find how to configure mail(1). Step 1: you need to read the first few chapters of the Sendmail book. You can skip all the stuff about sendmail configuration, but you don't seem to understand how mail works. And ... hopefully you realize you don't want to get involved in that side of the mail system. Just pay someone to do that for you. > I guess email addresses have to be listed somewhere? where? How? > ISP adresses and POP or whatever should be listed somewhere? No. All mail(1) does is read data from a mailbox file, and create mail for delivery to a local Mail Transport Agent. How does data get into the mailbox file? Not mail(1)'s problem. What happens after it is delivered to the MTA? Not mail(1)'s problem. A few things on an OpenBSD (or any Unix) box will generate system mail that will be dropped in mailbox files; mail(1) does a good job of helping you extract that mail to find out why it did. mail(1) also does a good job of creating mail to be delivered somewhere (not it's problem!) from scripts and such in a Unix-y way. Nick.