OpneBSD 5.3 sendmail question


Thread Tools Search this Thread
# 1  
Old 08-26-2013
OpneBSD 5.3 sendmail question

I have a basic OpenBSD 5.3 system installed as 64 bit on an old Sun Blade 100. Yes, it does work fine! It has XFCE, R, Firefox 3.6, nano installed. I have to say that 5.3 is much better than 5.0 or 5.1, and R works very well on it. Anyway, onto the main question. Could someone provide me with a clear, concise, simple, and I do mean simple example of how to setup sendmail, so that I could use a text based mailer, like Pine 4.64, which I compiled for the system, so I can email from this box to my gmail or other accounts, and so on? This box is purely for my own use, not used as a multi-user system, or mail server. I do have a registered domain name, so once I get the basic sendmail working, I might try using register.com to point the IP to my home box, and email to it as a further experiment. I have had this box since 2001, and I used to use Solaris 9 on it. In those days, I did all these things like use sendmail, etc. but OpenBSD seems harder to configure, although I have to say that in general, OpenBSD is a great system and the basic OS install was unbelievably easy.

Last edited by RichardET; 08-26-2013 at 01:01 PM..
# 2  
Old 08-31-2013
smtpd might be better

Depending on your needs, you might want to try using smtpd instead of sendmail. It's included in the OpenBSD base, and at least to me, seems much simpler than sendmail. The smtpd man page has instructions on how to convert from sendmail; and then the the man page for smtpd.conf has instructions on how to set things up.

To give you an idea of how much easier the configuration is than sendmail, here's my smtpd.conf:

listen on lo0

table aliases db:/etc/mail/aliases.db
table secrets db:/etc/mail/secrets.db

accept for local alias <aliases> deliver to mbox
accept for any relay via smtps+auth://mysmarthost@smarthost.example.com:465 auth <secrets>

Or, in other words: only accept mail locally, deliver local mail, and forward any non-local mail to the smarthost for delivery.
This User Gave Thanks to carsonc For This Post:
RichardET (08-31-2013)
# 3  
Old 08-31-2013
Thanks for the advice; I was able to send mail from my OpenBSD VM on my laptop; will enable on my Sparc when I get back to town after the weekend.
For me, the thread is closed!

Last edited by RichardET; 09-01-2013 at 12:39 AM.. Reason: to add that thread should be closed.

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
sendmail config question amozofer UNIX for Advanced & Expert Users 2 03-31-2011 06:26 AM
Sendmail command options question Amit86 UNIX for Dummies Questions & Answers 4 07-22-2010 08:43 AM
HPUx sendmail Question makaveli HP-UX 7 05-21-2009 04:36 AM
Question about Sendmail Options hcliff UNIX for Dummies Questions & Answers 1 01-27-2009 11:44 AM
Question regarding sendmail and exchange 5.5 John Racela UNIX for Dummies Questions & Answers 2 04-25-2008 11:03 PM
sendmail question Hugues Solaris 0 04-18-2007 03:59 PM
Sendmail Question KenLynch Solaris 1 01-17-2007 08:41 AM
Sendmail Question KenLynch Solaris 2 01-16-2007 08:07 AM
Sendmail question GLJ@USC UNIX for Dummies Questions & Answers 4 09-28-2006 09:13 AM
Solaris 9 Sendmail Question GLJ@USC UNIX for Dummies Questions & Answers 5 09-13-2006 10:22 AM
Sendmail Config Question callingrohit Solaris 5 08-29-2006 09:01 AM
Sendmail question Jake513 UNIX for Dummies Questions & Answers 2 02-13-2006 10:03 AM
Sendmail user question skotapal UNIX for Advanced & Expert Users 0 10-31-2005 11:47 AM
Sendmail question Malbeuf UNIX for Advanced & Expert Users 5 09-05-2002 12:52 PM
Sendmail question Dan Savarino UNIX for Dummies Questions & Answers 2 04-19-2002 12:08 PM