May. 1st, 2009

chhotii: (Default)
cron sends me mail, more reliably than any friend I've ever had. cron will send me e-mail every "0,10,20,30,40,50 * * * *" or even more often than that if I ask (but I'm not so needy that I'm asking for THAT much e-mail).

If I'm sitting at my desk in Boston, I can type Mail in a terminal window to read these sweet missives. Theoretically I could be anywhere and be at my desk through VPN and VNC, but that seems like over-kill. I'd like to just forward that e-mail to the e-mail that I usually read from home. So I put a file named .forward in my home directory, and sendmail dutifully makes the e-mail vanish from here. (Or something makes it vanish. I assume it's sendmail.) But it doesn't know who our local SMTP server is. Mail.app knows, but it's not telling sendmail. Why should it share? It assumes that sendmail is for geeks, whereas I must be a Macintosh user, not a geek, right? So as long as the .forward is there, mail must be just clogging up somewhere.

So, like, I'm casting around for how to tell sendmail who the SMTP server is. 90% of the web hits on this topic are directed at a Linux audience. 9% are about setting up your own machine as the SMTP server, which is so not what I want, and 9% list big books from O'Rielly on the subject of sendmail that I could buy. Surely this is so small and simple that I don't need to buy a book or be an expert on sendmail.

I'm sure the Apple Way would be to have my shellscripts call some Apple Script to, in turn, tell Mail.app to send mail for me. But, ugh. No way. Ick. Not going to use some GUI thing when I know the unix tools are just under the hood here to get things done much more efficiently.

Profile

chhotii: (Default)
chhotii

July 2023

S M T W T F S
      1
2345678
9101112131415
16 171819202122
23 242526272829
3031     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 11th, 2025 01:06 am
Powered by Dreamwidth Studios