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

Kevin Reiter tux
Thu Mar 2 01:15:24 EST 2006


Nikolai N. Fetissov wrote:
> On Wed, March 1, 2006 10:09 pm, Kevin Reiter wrote:
>> 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
>>
> 
> might it be that you are on the optonline network
> and port 25 out is blocked at the isp?

I'm trying to use mail.optonline.net as my SMTP server, which is what 
they (OptOnline) want us to use.

After some digging and a few helpful suggestions from David Lawson, I'm 
hacking my /etc/mail/freebsd.mc file to see if that does the trick.  I 
really don't feel like going through the trouble of installing 
qmail/exim/postfix just to be able to send mail once a day to myself of 
an IP address change..

Kev



More information about the talk mailing list