[NBLUG/talk] How to set FROM field in script-generated email?
    Dave Sisley 
    dsisley at sonic.net
       
    Tue Nov  6 10:28:58 PST 2007
    
    
  
Sadly, I have to punt!  I googled quite a bit this morning and 
configuring Sendmail to do what I want has proved more difficult than I 
can deal with right now.
Looking at my options, the most efficient move time-wise is to rewrite 
my script so that I can send it from another machine (with a real, 
functional mail server).  The bummer is that this problem arose from a 
single email recipient, but it hightlighted a bigger issue:  ISPs are 
(rightfully) tightening up what they will accept as incoming email.
Thanks for all the helpful tips - I at least understand the problem 
better, if not the solution.
-dave.
Dave Sisley wrote:
> Hey:
>
> I use a couple of scripts to send out some emails, using mutt in the 
> shell script.  I'd never noticed that the FROM field was blank in these 
> emails.
>
> One recipient has a mail.com address, and that email would not go 
> through.  I added 'export EMAIL=myaddress at work' to my .bash_profile and 
> tried sending an email (from a script) to my sonic address.  It was 
> blocked -  "(reason: 554 5.7.1 localhost.localdomain isn't valid for 
> HELO/EHLO, please fix your server.)".  Sonic won't accept my email, 
> either, since I don't have a real domain name for my box.
>
> Is there some way around this?  I'd rather just keep running this script 
> from my own machine, but could push it out to a mail server that we 
> keep.  Thanks in advance!
>
> -dave.
>
>   
-- 
Dave Sisley
dsisley at sonic.net
roth-sisley.net
    
    
More information about the talk
mailing list