Took me a while of fiddling with /etc/mail/sendmail.cf on a solaris 8 host before resorting to google. I simply couldn’t get it to behave properly (tacking on the domain name on all mail sent to the smart relay host).
The trick is to use the good’ol m4 ways and create a better base config than the shipped one. This is how you do it:
cd /usr/lib/mail/cf (not so obvious imho)
cp main-v7sun.mc sendmail.mc
- Add these lines to sendmail.mc:
cp sendmail.cf /etc/mail/.
kill -HUP <the sendmail daemon PID>
make is usually found in /usr/ccs/bin/.
I’ve said it before, and I’ll say it again. I love StackOverflow. Whenever I wonder how to solve a web design or programming issue, I look there first. Most often someone else have had the same question before, so it is not often I need to write an original question of my own, which is kind of a pity, since it is very rewarding to get your question read by the highly experienced people at stackoverflow.com.
This time, working on further improving my game at apebroker.com, I was wondering how to adjust the font size of an element (with dynamic text content) so that it would be as large as possible to neatly fill a space of a certain width. One thing led to another, and I eventually came across a great post, Calculated CSS element style on the blog of Piotr Sałaciak. That’s one thing I like so much about the stack exchange, the collection of knowledge, and links to places with more information.
Another boring day at work… A cisco switch died. Apart from incidents like that, not much happens in the summer.