[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Mail from within a script to an external address...



I'm sure this'll make your day - I cut and pasted the line that
you claimed didn't work, replaced the email address with
my own address and it worked fine.  Try

echo "Test message" |mail -v -s "Test" nestlerode usa dupont com

to see what the problem might be (verbose is -v)
sorry 'bout the one I sent ya :)

-----Original Message-----
From: redhat-list-admin redhat com
[mailto:redhat-list-admin redhat com]On Behalf Of J. Nestlerode
Sent: Wednesday, May 30, 2001 3:12 PM
To: Red Hat List
Subject: Mail from within a script to an external address...


Greetings.

This command, called from a script, works as expected and sends an
e-mail to farmer localhost:

echo "Test message" |mail -s "Test" farmer

However, this variation does not work, and I think it should:

echo "Test message" |mail -s "Test" nestlerode usa dupont com

Would this be a configuration problem somewhere?  There does not seem to
be anything amiss in /etc/mail.rc (as far as I can tell).  Other
external e-mail (pine, netscape) works fine.  Also, as a work-around, I
tried adding this alias to /etc/aliases:

farmer:	 nestlerode usa dupont com

and then running the `newaliases' command.  After that, *neither* of the
above echo commands produce an e-mail.  What am I missing?

Thanks very much for any pointers, 

Joe
nestlerode usa dupont com



_______________________________________________
Redhat-list mailing list
Redhat-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]