[nycbug-talk] CLI mailing from FreeBSD 6.0 Release Question

Kevin Reiter tux
Wed Mar 1 22:09:08 EST 2006


Hey all,

I'm trying to script an automagic e-mail alert thingy, and it works 
except when actually sending the e-mail.  Here's the part of the script 
that kicks off the e-mail:

mutt -s "Home IP Update" alerts at unixfun.net < temp_ip.log

I then check my e-mail, and nada.  When I check the current procs, I see 
this (and it runs until I kill it):

kevin at chronos$ ps wax | grep unixfun.net
78000  ??  Ss     0:00.00 sendmail: ./k2228Lt9077998 mx.unixfun.net.: 
user open (sendmail)

When I check /var/log/maillog, I see this:

Mar  1 22:01:29 chronos sm-mta[78102]: k221Q93t043799: 
to=<alerts at unixfun.net>, ctladdr=<kevin at chronos.unixfun.net> 
(1001/1001), delay=01:35:20, xdelay=00:00:00, mailer=esmtp, pri=390508, 
relay=mx.unixfun.net., dsn=4.0.0, stat=Deferred: Operation timed out 
with mx.unixfun.net.
Mar  1 22:01:29 chronos sm-mta[78102]: k221LZJc043754: 
to=<alerts at unixfun.net>, ctladdr=<kevin at chronos.unixfun.net> 
(1001/1001), delay=01:39:54, xdelay=00:00:00, mailer=esmtp, pri=390508, 
relay=mx.unixfun.net., dsn=4.0.0, stat=Deferred: Operation timed out 
with mx.unixfun.net.

I was originally using the built-in "mail" command:

cat temp_ip.log | mail -v -s "Home IP Update" alerts at unixfun.net

but that wasn't working either.

This box is only running the standard (non-configured) sendmail.

Is there a setting I need to configure somewhere for the outgoing mail 
server (using either mutt or mail)?

Thanks,
Kev





More information about the talk mailing list