If any of you old timers see any errors in my suggestions, please point
them out. I am fairly new myself, and my two mailservers have been
running fine for 6+ months with this setup, but I still have a LOT to learn.
David B. wrote:
sorry to bother, can anyone suggest a definitive book I should buy on
how to set up Sendmail on Openbsd 3.8?
I didn't need a book.
What I did was:
logged in as root...
1)
/etc/inetd.conf
uncomment both pop3 lines
...so you can retrieve email from your Desktop machine, with Thunderbird
or any other POP3-type email reader.
restart inet.d
kill -HUP `cat /var/run/inetd.pid`
...then make sure pop3 is present in /etc/services
2)
/etc/rc.conf
confirm that '-bd' is before -q30m on sendmail flags line
then, change 'localhost.cf' to 'sendmail.cf'
...this permits sendmail to send and receive on the Internet, instead of
just on your local machine.
then, use the command
# crontab -u root -e
to open root's crontab file, and comment out the sendmail line '/30** etc.
3)
/etc/mail/virtusertable
add some email users accounts... but first, you have to create actual
user accounts, in /home, if they do not already exist:
[EMAIL PROTECTED] user1
[EMAIL PROTECTED] crazyname
...then rebuild the database with the command included in the comments
in the virtusertable.
4)
/etc/mail/aliases
If you want to receive email for root, and the other machine identities,
on one of your accounts from the virtusertable, add that user to the
aliases file, so that root, etc., email will be retrieved along with
user1 or crazyname's email... nice for seeing your various logs, every
morning.
5)
/etc/mail/local-host-names
Unless you are accepting email for other machines, IIRC, you should not
have to add anything to this file.
They don't seem to explain how to "name" the server either. My URL will
be quikadz.com, and I can turn on port 25 in my firewall (smoothwall)
and forward it to the internal IP, but how do I tell the server it's
supposed to accept the email for quikadz.com?
You name your machine when you are installing the operating system, by
giving it a Fully Qualified Domain Name, like webserver.robertwittig.net
In order to do this, you must have already purchased the domain name.
Also, you will have to then go to your Registrar (GoDaddy, Network
Solutions, etc), and configure the mail settings, so that they point to
the machine, like:
Priority Host Goes To TTL
0 @ webserver.robertwittig.net 3600
...but with your machine name.
anyway, so I don't waste anyone's time asking a bunch of beginner
questions back and forth, any suggestions on a book to buy would help
tremendously.
I do own the O'Reilly book 'Sendmail', but that book really is for
sendmail hackers... people who mess with the internal stuff that
sendmail does, which is far more complicated than what is required to
just set the application up to send and receive email.
--
-wittig http://www.robertwittig.com/
. http://robertwittig.net/