betabug... Sascha Welter

home english | home deutsch | Site Map | Sascha | Kontakt | Pro | Weblog | Wiki

09 June 2005

Now, if sendmail isn't easy

That's what I call a smart host

As reported (in German) about my trouble with Cablecom in Switzerland, I am switching my sendmail to using a smarthost setup, which will route outgoing mail through my provider. It's kind of sad and a defeat for the free Internet, but what gives?

Sendmail configuration is often rumoured to be hard. I've already played around with it some times and I've read the bat book (the sendmail book from O'Reilly) a couple of times. Plus I had already grokked the concept of smarthost. So it was pretty easy. To my well kept m4 configuration file I just added one line:

define(`SMART_HOST', `smtp:mail.tbwil.ch')dnl

Then I regenerated the cf file with

make conffilename.cf
copyed the resulting file to /etc/mail/ (where it is linked to become sendmail.cf) and then I restarted sendmail:
kill -HUP `head -1 /var/run/sendmail.pid`
A few checks confirmed that mail is indeed flowing. So, after all, sendmail is easy.


Posted by betabug at 17:15 | Comments (0) | Trackbacks (0)
ch athens
Life in Athens (Greece) for a foreigner from the other side of the mountains. And with an interest in digital life and the feeling of change in a big city. Multilingual English - German - Greek.
Main blog page
Recent Entries
Splish splash I was taking a vacation (08/18 11:40)
Ferienzeit (07/29 17:09)
Backyard Adventure (07/08 08:18)
Danakos Climbing Gym (06/26 18:40)
Best of
Some of the most sought after posts, judging from access logs and search engine queries.

Apple & Macintosh:
Security & Privacy:
Misc technical:
Athens for tourists and visitors:
Life in general:
<< New Recycling Program in the City of Athens | Main | Battery Recycling in Greece >>
Comments
There are no comments.
Trackbacks
You can trackback to: http://betabug.ch/blogs/ch-athens/120/tbping
There are no trackbacks.
Leave a comment