On Tue, 14 Jun 2005, Holly Bostick wrote:

> OK, not so much to go off on a tangent (even though I am, so I split
> this off the original thread), but this brings me to another question
> that I've been meaning to ask. I want esync to be a cron job, and mail
> me the list of new and updated packages. But I don't have a mail server
> (or maybe I do, I dunno, I've got some standard MTA anyway, afaik), and
> I have no idea how to read my local mailspool even if it's working,
> which I also don't know.
>
> I just want cron (generally) to mail any output to me via my regular
> ISP, rather than to root, via the local mailspool.

Try emerging the mailx package:

# esearch ^mailx$
[ Results for search key : ^mailx$ ]
[ Applications found : 1 ]

*  mail-client/mailx
      Latest version available: 8.1.2.20040524-r1
      Latest version installed: 8.1.2.20040524-r1
      Size of downloaded files: 126 kB
      Homepage:    http://www.debian.org
      Description: The /bin/mail program, which is used to send mail via shell 
scripts.
      License:     GPL-2



>
> Now, I found a program (email) that is supposed to let you do this, but
> I've tried twice to figure this out, and I'm lost, both in how to
> configure it, and how to configure cron to use it, definitely for the
> pre-existing standard cron jobs like updatedb and such. Or am I supposed
> to configure whatever MTA I have as a relay agent to my ISP's SMTP
> server, make an alias to my email address and just let cron do what it
> normally does (I know all the buzzwords, but what am I talking about? I
> have no idea.)?
>
> I'm sure this should be a supported and relatively simple operation, but
> it doesn't seem too well documented for the user (as opposed to for the
> server admin, who probably has a mail server all set up).
>
> Can anyone give me suggestions or instruction on how to get cron to mail
> it's output to my email address, using my ISP's outgoing server?
>
> Thanks,
> Holly
>

-- 
biff /bif/ vt.

 To notify someone of incoming mail.  From
   the BSD utility biff(1), which was in turn named after a
   friendly dog who used to chase frisbees in the halls at
   UCB while 4.2BSD was in development.  There was a legend that it
   had a habit of barking whenever the mailman came, but the author of
   biff says this is not true.  No relation to B1FF.

-- 
gentoo-user@gentoo.org mailing list

Reply via email to