I have looked all over the net for a HOWTO or an article that steps me
through how to set up a user account and password, and then how to retrieve
it (look at it on the server), but all the articles go on and on on how to
download it, compile it and install it; none of them tell me how to use it.
The articles talk about just every possible subject except how to simply
create a user/password account, and then tell you where the email is
supposed to be on the server, and then how to look at it.
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?
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.
thanks
I would suggest going to sendmail.org and looking at the pointers for
documentation ("Primary resources for learning about sendmail")
and start with that. It's all there...
--STeve Andre'
On 27/07/06, David B. <inc...@hotmail.com> wrote:
> sorry to bother, can anyone suggest a definitive book I should buy on how to
> set up Sendmail on Openbsd 3.8?
>
> I have looked all over the net for a HOWTO or an article that steps me
> through how to set up a user account and password, and then how to retrieve
> it (look at it on the server), but all the articles go on and on on how to
> download it, compile it and install it; none of them tell me how to use it.
> The articles talk about just every possible subject except how to simply
> create a user/password account, and then tell you where the email is
> supposed to be on the server, and then how to look at it.
>
> 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?
>
> 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.
>
> thanks
>
>
--
/Bachman
Start with /usr/share/sendmail/README . It's dense, but has a wealth
of information. And then there is
http://sendmail.org/doc/sendmail-current/doc/op/op.pdf
Best
Martin
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:
us...@robertwittig.com user1
craz...@robertwittig.net 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/
read and understand in this order:
man afterboot
/usr/share/sendmail/README
documentation on sendmail.org
this _will_ serve you far better than any step-through-howto
--knitti
You might want to read the O'Reilly "sendmail Cookbook" as an introduction ,
but there's no substitute for reading and understanding the docs.
Regards,
Andrew Dalgleish
O'Reilly: sendmail cookbook
Administrating, Securing & Spam-Fighting.
Craig Hunt
ISBN 0-596-00471-0I
See: http://www.oreilly.com/catalog/sendmailckbk/
I personnaly think it is a good book, it helped me a lot.
Covers: delivering and forwarding mail, relaying masquerading, routing mail, controlling spam, strong authentication (like starttls, using AUTH etc ...), etc ... it has usefull securing tips and worked well under Openbsd.
The book was written in 2003 but it is still accurate, ... in my opinion.
Kind regards,
Didier
>any suggestions on a book to buy would help
> tremendously.
> thanks>>