[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MailServer



<< I want to run a mailserver on my OpenBSD 3.0 stable box, i noticed that
the sendmail on Openbsd has been compiled  now to only accept mail
locally and not from the world.  What am I to use for a mailserver to
accept mail from out side world? smptd? smtpfwdd? >>

Firstly, it hasn't been "compiled" not to accept mail from the outside
world.  The daemon options in /etc/rc.conf have been set that way.

Secondly, to answer your question - you can use replacements, but
personally, I prefer Sendmail, and I don't have any experience with the
replacements.  Try going into /etc/rc.conf, scrolling down to:

sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"

And changing it to something like:

sendmail_flags="-bd -q30m"  (Personally, I use just -bd and process the
queue manually, but either will work.)

Then, reboot, or simply kill -9 your current sendmail daemon and restart it
with "sendmail -bd -q30m".

That will get the daemon options right, but you're going to have to do your
homework on the subject of sendmail configuration.  It isn't a drop-in MTA.
I highly recommend reading all the way through http://www.sendmail.org/faq/.

-Telent