eccythump
04-21-2005, 10:30 AM
Hello
Using Knoppix 3.8.1 I would like to use a script to email my ISP when a particular event occurs. I am having trouble doing this.
I thought I would use mutt in command line mode, and that would invoke smail (which is running as a daemon), but I think I have something wrong in some set up somewhere - I hoped to use smail to talk with my ISPs smtp server - but it just does not work. (I used smailconfig --force to set it up - but confess may have got something wrong). If I telnet directly to port 25 on Knoppix (proferred by smail), and after the HELO business, do a MAIL FROM: - it fails as the sender is not OK - it cannot seem to resolve the (MAIL FROM) email address. I presume this must be some set up issue in my networking - but I can surf the internet and I can telnet directly to my ISPs smtp server and successfully send an email.
Anyone got any ideas. I am not particularly bothered with how I get it to work - I just want to be able to use a shell script to send an email (with binary attachments) using my isp efficiently (it has to work quickly as it needs to send many images, before the power gets switched off - so no invoking a big interpreter with a long start up time please).
Ta
eccythump
Using Knoppix 3.8.1 I would like to use a script to email my ISP when a particular event occurs. I am having trouble doing this.
I thought I would use mutt in command line mode, and that would invoke smail (which is running as a daemon), but I think I have something wrong in some set up somewhere - I hoped to use smail to talk with my ISPs smtp server - but it just does not work. (I used smailconfig --force to set it up - but confess may have got something wrong). If I telnet directly to port 25 on Knoppix (proferred by smail), and after the HELO business, do a MAIL FROM: - it fails as the sender is not OK - it cannot seem to resolve the (MAIL FROM) email address. I presume this must be some set up issue in my networking - but I can surf the internet and I can telnet directly to my ISPs smtp server and successfully send an email.
Anyone got any ideas. I am not particularly bothered with how I get it to work - I just want to be able to use a shell script to send an email (with binary attachments) using my isp efficiently (it has to work quickly as it needs to send many images, before the power gets switched off - so no invoking a big interpreter with a long start up time please).
Ta
eccythump