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@xxxxxxxxxxxxxxxx
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@xxxxxxxx <nathan@xxxxxxxxxxxxxxxxxxxxx): Unroutable address

Where nathan@xxxxxxxxxxxxxxxxxxxxx is the username and host name of the
linux server.


If it matters, myaddress@xxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, July 19, 2007 9:02 AM
To: debian-user@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxx

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@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact
listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: question about my .muttrc and mutt
    ... answered a question wrongly during setup of exim. ... exim setup from the old system, the new started sending email ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: question about my .muttrc and mutt [solved]
    ... answered a question wrongly during setup of exim. ... exim setup from the old system, the new started sending email ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Cannot get exim4 listenning on port 587
    ... Sidney Lambe wrote: ... In the case of sending email, all most people want to do is ... I'd have possibly advised against involving exim at all. ... and they had a specific requirement to get exim working on a new ...
    (comp.os.linux.misc)
  • Re: calling vbs scripts from a scheduled task doesnt work all the time
    ... - sending email via Outlook automation (reason: ... - accessing files via UNC paths (reason: any UNC reference is treated as ... To determine why a specific script fails to work as expected as a ...
    (microsoft.public.scripting.wsh)
  • Re: need help with this send mail script
    ... > You can only have one value for the sender (eg the sending email address ... > need to use a configuration object to specify which server you want to ... The purpose of this script is to check if the Exchange ...
    (microsoft.public.exchange2000.development)