Manuel Mussini wrote:
You're right!
The mail server was not correctly configured by my system administrator! Now
it works fine!

Reading "man mail" and "man sendmail" I've not found any hint about
attaching files to the mails!
BTW I suppose it is possible! Isn't it?

I think mutt does it fairly easily.


Is there a complete documentation for these two great applications?
I think there could be other interesting tricks to learn about them! :-)

Bye...




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:owner-
[EMAIL PROTECTED] On Behalf Of Miles O'Neal
Sent: Saturday, July 14, 2007 17:16
To: Scientific Linux Users
Subject: RE: Mail from a script

Manuel Mussini said...
|Could you help me a little more to understand the syntax?
|It's not clear to me what "cat <<Z" and "Z" do!

That's covered in the man pages for the shells, but
basically it delimits a "here document".  It tells
the shell to temporarily redirect STDIN to the script
between the occurances of Z.  It says, "use this data
as if you were reading from a file".

|In addition to that ... what do I need to configure to let this work? I'm
|not able to run it on all my desktops so probably something is set
|different! I get no error but I do not receive the mail!

Are they all running the same OS?
Are they all running the same mail server software (postfix, sendmail,
whatever)?
Have you checked that the mail server is actually running on each system?
Are they config'd the same WRT the mail server?
Does other mail from those systems get through?
Is security set hte same on all desktops (iptables, SELinux, etc)?

-Miles



--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]

Please do not reply off-list

Reply via email to