Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sendmail

1 view
Skip to first unread message

David B.

unread,
Jul 27, 2006, 12:53:08 AM7/27/06
to
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

STeve Andre'

unread,
Jul 27, 2006, 2:47:53 AM7/27/06
to

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'

Bachman Kharazmi

unread,
Jul 27, 2006, 5:11:15 AM7/27/06
to
http://www.pingwales.co.uk/2005/06/03/OpenBSD-mail-server-config.html
/bkw

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

Martin Schröder

unread,
Jul 27, 2006, 6:58:10 AM7/27/06
to
2006/7/27, David B. <inc...@hotmail.com>:

> sorry to bother, can anyone suggest a definitive book I should buy on how to
> set up Sendmail on Openbsd 3.8?

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

Robert C Wittig

unread,
Jul 27, 2006, 8:44:56 AM7/27/06
to
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:

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/

knitti

unread,
Jul 27, 2006, 8:56:04 AM7/27/06
to
On 7/27/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.

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

Andrew Dalgleish

unread,
Jul 27, 2006, 9:46:23 AM7/27/06
to
On Wed, Jul 26, 2006 at 10:43:38PM -0600, 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?

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

Nick Shank

unread,
Jul 27, 2006, 4:52:52 PM7/27/06
to
Matthias Kilian wrote:

> On Thu, Jul 27, 2006 at 12:52:15PM +0200, Martin Schrvder wrote:
>
>> 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
>>
>
> Or just /usr/share/doc/smm/08.sendmailop/op.me
>
>
So far as I know, sendmail is just an MTA, so, you're user accounts are
just regular users (or users with only mail access), and mail is stored
by either you're popd or imapd. But I'm not a mail admin, and this
advice should be taken w/ a grain of salt...
Nick

Matthias Kilian

unread,
Jul 27, 2006, 4:56:34 PM7/27/06
to

Didier Wiroth

unread,
Jul 27, 2006, 5:24:21 PM7/27/06
to
Hello,
I'm a novice too and I have the following book:

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>>

0 new messages