Dear forum members,
I am trying to configure NetBSD to send and receive e-mails. I read the chapter 26 e-mail of the NetBSD guide, but this does not really bring me forward. I am using NetBSD 4.0 as a desktop without X. All distribution sets are installed except X.
I tried to follow the steps, but when I had to do
as described in Chapter 26, it just complained that the hostname is empty. How do I set the hostname? I have no idea, I tried various things (which I don't remember, sorry), finally I set in rc.conf
I am in an internal network of my dormitory, so that's why this address is used. It is a dhcp-connection, and internet otherwise works (tried with lynx). I always get the same address when I connect, so it is really 10.0.0.217. Then the postmap command seemed to work, but now I am getting:
dhclient: send_packet: Host is down
I tried the example
but I get nowhere anything (I am quite sure I did it correctly, I tried many times):
No mail for myusername
OK, so what do I have to do in order to set up e-mail? I want to know the STEPS!
So far, I understand it as follows; if anything is wrong, please correct me:
in /etc/rc.conf add:
in /etc/postfix/generic write:
in /etc/postfix/main.cf add:
relayhost = mail.mymailprovider.net
smtp_generic_maps = hash:/etc/postfix/generic
(then configure mutt & fetchmail)
Is this ALL, or do I have to do anything ELSE? Thank you in advance for your kind help.