On Mon, 4 Jun 2007, Douglas Allan Tutty wrote:

Hello,

I'm totally new to OBSD and have it installed on my 486 which acts
basically like a slim client allowing me to ssh in to my main box.

OBSD comes with sendmail which I have never knowingly used before and
while it works as-is for local mail delivery, I thought I'd set it up to
send non-local mail to my main box as a smarthost.

However, sendmail is a very steep and tall learning curve.  I'm coming
from Debian (which no longer installes with 32 MB ram) so I'm used to
exim.  I know that exim is GPL.  I'm wondering if there are other
BSD-licensed MTAs.

Hmmm, actually, I don't believe sendmail has a "steep and tall learning curve". ;-) It's just that you don't grok it yet.

You're almost there since you know you want to use a smarthost. For example copy /usr/share/sendmail/cf/openbsd-localhost.mc to another file /usr/share/sendmail/cf/BobFoo-localhost-SMART_HOST.mc, define dnl define(`SMART_HOST', `MYMAINBOX-FQDN')dnl ,build a new .cf file, BobFoo-localhost-SMART_HOST.cf . Move the new file to /etc/mail , add
sendmail_flags="-L sm-mta -C/etc/mail/BobFoo-localhost-SMART_HOST.cf -bd  -q30m"
to /etc/rc.conf.local restart sendmail and VOILA!

It's not hard at all and you will also get the satisfaction of leaning new and wonderful SysAdmin skills.

For what it's worth, this is the quick and dirty example of how to get this done, other people may just tell you to install exim.

g.day

Reply via email to