I got the following email on the servers local mail system when I tried
to email myself using the command below.

Any ideas?

Message 1:
>From MAILER-DAEMON Tue Jul 17 08:28:13 2007
Envelope-to: [EMAIL PROTECTED]
Delivery-date: Tue, 17 Jul 2007 08:28:13 -0400
X-Failed-Recipients: [EMAIL PROTECTED]
Auto-Submitted: auto-replied
From: Mail Delivery System <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Mail delivery failed: returning message to sender
Date: Tue, 17 Jul 2007 08:28:13 -0400

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [EMAIL PROTECTED]
    Mailing to remote domains not supported

------ This is a copy of the message, including all the headers. ------

Return-path: <[EMAIL PROTECTED]>
Received: from root by student-test.ucwv.edu with local (Exim 4.63)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1IAmA1-0005wB-GJ
        for [EMAIL PROTECTED]; Tue, 17 Jul 2007 08:28:13 -0400
To: [EMAIL PROTECTED]
Subject: Test email from linux
Message-Id: <[EMAIL PROTECTED]>
From: root <[EMAIL PROTECTED]>
Date: Tue, 17 Jul 2007 08:28:13 -0400


Nathan


-----Original Message-----
From: Mace, Nathan 
Sent: Wednesday, July 18, 2007 12:21 PM
To: 'Jon Dowland'
Subject: RE: Sending Email from script

I've uninstalled Sendmail and installed Exim4 and reconfigured it.
After doing that, I still can't send email.  Doing a "date | mail -s
"testing" your.address" with my email address doesn't get me anything.

Any idea what I'm going wrong?


Nathan


-----Original Message-----
From: Jon Dowland [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 11:51 AM
To: debian-user@lists.debian.org
Subject: Re: Sending Email from script

> I've installed sendmail, but I'm not having much luck getting it to 
> work.  When I attempt to send messages from the command line by doing 
> "sendmail [EMAIL PROTECTED]"
> it appears to go, but I never get the email.  Any help would be 
> appreciated.

Debian comes with exim4 by default. You will probably have had this
removed by installing sendmail. Unless you are already a sendmail guru,
I'd recommend reinstalling exim4.

You can reconfigure it using "dpkg-reconfigure exim4-config". Most of
the questions are straightforward.
There is additional information available at
<http://wiki.debian.org/PkgExim4UserFAQ>.

Exim4 and most MTAs come with a "sendmail" binary that supports the same
options as the traditional sendmail does:
however, for command line mailing, "mail" or "mail x" are best.

Try:

    date | mail -s "testing" your.address

And read /var/log/exim4/mainlog to see what happened.


--
Jon Dowland


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]

Reply via email to