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

Re: Sending Email from script



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mace, Nathan wrote:
> I didn't know about logcheck, I think it will do exactly what I need.
> However I can't get it to send email either.

It appears your mailer is not configured properly. If you don't know how
to configure your mailer properly, the simplest solution is probably
just to install and configure exim4 as proposed by Jon.

mail user@example.com

from the command line should prompt you for a subject and the text. End
the mail by a single dot "." on a line by its own.

Check if that mail arrives at its destination.
Check /var/log/exim4/ for whatever happens to your mail.

No program will be able to send any mail, as long as mail is not
properly configured on your system.

HTH,

Johannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGn2DYC1NzPRl9qEURArz2AJ0SkKHKubsp1hRuYY+DM0Lt/nEkjwCfXJiu
BI6B1o8JG63MtnYui0BcoSI=
=oHoF
-----END PGP SIGNATURE-----



Reply to: