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

RE: Sending Email from script



I can also access the internet via lynx on this box as well......


Nathan


-----Original Message-----
From: Mace, Nathan 
Sent: Thursday, July 19, 2007 11:43 AM
To: 'Johannes Wiedersich'; debian-user@lists.debian.org
Subject: RE: Sending Email from script

I re-configured Exim and posted the settings I selected.  The settings
for Exim don't seem to be the problem.

I followed the steps you mention below, the mail never gets delivered.

When I check the Exim logs there is always a:

myaddress@ucwv.edu <nathan@student-test.ucwv.edu): Unroutable address 

Where nathan@student-test.ucwv.edu is the username and host name of the
linux server.


If it matters, myaddress@ucwv.edu is hosted on Exchange (don't know if
that matters).  I wouldn't think it should, SMTP is SMTP.....

Nathan


-----Original Message-----
From: Johannes Wiedersich [mailto:johannes@physik.blm.tu-muenchen.de]
Sent: Thursday, July 19, 2007 9:02 AM
To: debian-user@lists.debian.org
Subject: 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-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: