Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


OpneBSD 5.3 sendmail question


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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  
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:

Code:
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:
# 3  
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.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
sendmail question
Hugues
Hello all, On my solaris 9 I have this process running smmsp 29138 1 0 Apr 17 ? 0:00 /usr/lib/sendmail -Ac -q15m root 29137 1 0 Apr 17 ? 0:00 /usr/lib/sendmail -q15m if i use the command /usr/bin/mconnect connecting to host localhost (127.0.0.1), port...... Solaris
0
Solaris
Sendmail Question
KenLynch
Yes Folks, Quick question. Is it possible to send multiple attachments with sendmail and if so how? Thinking here in terms of sending multiple .pdf files as attachments. I can do it with one but how do I do it for multiples. Slainte,... Solaris
1
Solaris
Sendmail Question
KenLynch
Hi Guys, Quick question re sendmail and mail queues. If the sendmail deamon is stopped i.e. set up to execute and stop at certain intervals from crontab, and the sendmail command is invoked the mail is queued in the clientmqueue directory. Then the next time sendmail is executed the mails...... Solaris
2
Solaris
Sendmail question
GLJ@USC
Hello to all, I configured sendmail on a solaris 9 system the same as another server that the one I configured will replace. I transferred all the required files from the original system to the new one as well ar the /var/mail directory. The sendmail daemon is running however when I try to...... UNIX for Dummies Questions & Answers
4
UNIX for Dummies Questions & Answers
Sendmail question
Malbeuf
How would I configure sendmail so that the INTERN group can only send email locally to xyz.com, while the EXTERN group can send email anywhere. Thanks for your help!... UNIX for Advanced & Expert Users
5
UNIX for Advanced & Expert Users

Featured Tech Videos