Re: redhat-list Digest, Vol 84, Issue 15



Send redhat-list mailing list submissions to
redhat-list@xxxxxxxxxx
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: redhat-list-request@xxxxxxxxxx
Sender: redhat-list-bounces@xxxxxxxxxx
Date: Fri, 18 Feb 2011 12:00:04
To: <redhat-list@xxxxxxxxxx>
Reply-To: redhat-list@xxxxxxxxxx
Subject: redhat-list Digest, Vol 84, Issue 15

Send redhat-list mailing list submissions to
redhat-list@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
https://www.redhat.com/mailman/listinfo/redhat-list
or, via email, send a message with subject or body 'help' to
redhat-list-request@xxxxxxxxxx

You can reach the person managing the list at
redhat-list-owner@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of redhat-list digest..."


Today's Topics:

1. Re: mailx & "telnet localhost 25" syntax (Cameron Simpson)
2. Can't find a file (Yong Huang)
3. Re: Can't find a file (m.roth@xxxxxxxxx)
4. Re: Can't find a file (Yong Huang)
5. Re: mailx & "telnet localhost 25" syntax (Eugene Vilensky)
6. Re: mailx & "telnet localhost 25" syntax (sunhux G)
7. Re: mailx & "telnet localhost 25" syntax (satyaakam goswami)
8. Re: mailx & "telnet localhost 25" syntax (Nigel Wade)


----------------------------------------------------------------------

Message: 1
Date: Fri, 18 Feb 2011 08:25:59 +1100
From: Cameron Simpson <cs@xxxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Subject: Re: mailx & "telnet localhost 25" syntax
Message-ID: <20110217212559.GA24039@xxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii

On 17Feb2011 22:14, sunhux G <sunhux@xxxxxxxxx> wrote:
| Also, I recall seeing someone issuing the following to send emails:
| telnet localhost 25
| HELO ...
| ..... TO:<...>
| .........
|
| What's the exact syntax/sequence of commands?

Here:

http://www.ietf.org/rfc/rfc2821.txt

Cheers,
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Our friend Trefayne is really most intuitive; you may trust that anything he
says is absolutely true. - Aylebourne



------------------------------

Message: 2
Date: Thu, 17 Feb 2011 14:24:33 -0800 (PST)
From: Yong Huang <yong321@xxxxxxxxx>
To: redhat-list@xxxxxxxxxx
Subject: Can't find a file
Message-ID: <580134.6118.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii

The file exists:
$ ls -l /site/forms/cris/help/Collection_Request_Help_files/image001.png
-rw-r--r-- 1 appmgrp users 35891 Feb 11 2010 /site/forms/cris/help/Collection_Request_Help_files/image001.png

But find doesn't find it unless the first arg (path) is exactly the directory where the file is:
$ find /site/forms/cris | grep /site/forms/cris/help/Collection_Request_Help_files/image001.png
$ find /site/forms/cris/help | grep image001.png
$ find /site/forms/cris/help/Collection_Request_Help_files | grep image001.png
/site/forms/cris/help/Collection_Request_Help_files/image001.png

From a higher leve, it finds the same name in other directories:
$ find /site/forms/cris/help -name "image001.png" -ls
$ find /site/forms/cris -name "image001.png" -ls
1093469 40 -rw-r--r-- 1 appmgrp users 35891 Feb 11 2010 /site/forms/cris/depot/crislibs/help/Collection_Request_Help_files/image001.png
...

$ find --version
GNU find version 4.1.20
$ cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
$ uname -a
Linux xxxx 2.6.9-89.29.1.ELsmp #1 SMP Fri Sep 24 05:16:39 EDT 2010 x86_64 x86_64 x86_64 G

I may be missing something obvious. But I tried -depth, -print, -maxdepth 20, to no avail. Thanks.






------------------------------

Message: 3
Date: Thu, 17 Feb 2011 17:58:18 -0500
From: m.roth@xxxxxxxxx
To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
Subject: Re: Can't find a file
Message-ID:
<827cc8df3938488b8a27963047f2812c.squirrel@xxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain;charset=iso-8859-1

Yong Huang wrote:
The file exists:
$ ls -l /site/forms/cris/help/Collection_Request_Help_files/image001.png
-rw-r--r-- 1 appmgrp users 35891 Feb 11 2010
/site/forms/cris/help/Collection_Request_Help_files/image001.png

But find doesn't find it unless the first arg (path) is exactly the
directory where the file is:
$ find /site/forms/cris | grep
/site/forms/cris/help/Collection_Request_Help_files/image001.png
$ find /site/forms/cris/help | grep image001.png
$ find /site/forms/cris/help/Collection_Request_Help_files | grep
image001.png
/site/forms/cris/help/Collection_Request_Help_files/image001.png
<snip>
Sorry, but this is rather unclear: it sure looks like it found it, from
what you posted.

What does
find /site -name image001.png -ls

give?

mark



------------------------------

Message: 4
Date: Thu, 17 Feb 2011 14:47:41 -0800 (PST)
From: Yong Huang <yong321@xxxxxxxxx>
To: redhat-list@xxxxxxxxxx
Subject: Re: Can't find a file
Message-ID: <675520.57878.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii

I may be missing something obvious. But I tried -depth,
-print, -maxdepth 20, to no avail. Thanks.

Ignore my last message. There're symbolic links. The -follow option is what I missed.






------------------------------

Message: 5
Date: Thu, 17 Feb 2011 19:21:06 -0600
From: Eugene Vilensky <evilensky@xxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Subject: Re: mailx & "telnet localhost 25" syntax
Message-ID:
<AANLkTimcN+qf7xH9hT6PN38g5GUk=80YS_HyuVAwFjoP@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Feb 17, 2011 at 8:14 AM, sunhux G <sunhux@xxxxxxxxx> wrote:
I recall seeing somewhere but I've lost the commands / syntax:

I'm on a Linux box & would like to send a mail to another Linux box
using IP address (ie in the format
remote_recipient_id@IP_address_of_remote_box).

As Cameron points out, the domain name is an SMTP requirement. Most
MTA will refuse to accept mail addressed to an IP address.



------------------------------

Message: 6
Date: Fri, 18 Feb 2011 20:02:02 +0800
From: sunhux G <sunhux@xxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Subject: Re: mailx & "telnet localhost 25" syntax
Message-ID:
<AANLkTi=wOhPD39kBsT-7Why5i1sf-WUe-riXhoLrnKBJ@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

Thunderbird client accepts IP address & the MTA's maillog has some
indication it arrives but I currently has a different problem with the MTA.


Would be good to elaborate with an example of HELO or EHLO & ... as
the link Cameron provided was quite technical

U





------------------------------

Message: 7
Date: Fri, 18 Feb 2011 17:51:10 +0530
From: satyaakam goswami <satyaakam@xxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Subject: Re: mailx & "telnet localhost 25" syntax
Message-ID:
<AANLkTikP4wv3qgzFkkkcMb7NY2yrMNAXbMi1e-0S=A1h@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Feb 18, 2011 at 5:32 PM, sunhux G <sunhux@xxxxxxxxx> wrote:

Thunderbird client accepts IP address & the MTA's maillog has some
indication it arrives but I currently has a different problem with the MTA.

Would be good to elaborate with an example of HELO or EHLO & ... as
the link Cameron provided was quite technical


that was the idea of giving that link go and dig :-)

fossevents.in


------------------------------

Message: 8
Date: Fri, 18 Feb 2011 14:04:18 +0000
From: Nigel Wade <nmw@xxxxxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Subject: Re: mailx & "telnet localhost 25" syntax
Message-ID: <4D5E7C62.2050904@xxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

On 18/02/11 12:02, sunhux G wrote:
Thunderbird client accepts IP address & the MTA's maillog has some
indication it arrives but I currently has a different problem with the MTA.


Would be good to elaborate with an example of HELO or EHLO & ... as
the link Cameron provided was quite technical



HELO <client host/IP>
MAIL FROM:sender@remote_address
RCPT TO:recipient@local_address
RCPT TO:another_recipient@local_address
<more recipients if required>
DATA
The contents of the message, including headers.
Terminate data with "." on a line on its own
..
<repeat MAIL FROM, up to and including ., for additional messages>
QUIT


--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@xxxxxxxxxxxx
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555



------------------------------

__
redhat-list mailing list
Unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

End of redhat-list Digest, Vol 84, Issue 15
*******************************************

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: specify SMTP relay server in mutt
    ... Have to remove both -a & -S in order not to get the syntax ... error but the emails never arrive: ... What Harris gave with mailx is probably what I'm looking for, ...
    (RedHat)
  • Re: Q: How to Set up A Daily E-Mail Reminder?
    ... and 'mailx' are distinct programs and only the latter supports the ... It's the same class of error as e.g. using the "export FOO=BAR" syntax ... Sysadmin, University of Freiburg, CS Dpt. ...
    (comp.unix.solaris)
  • Re: how to send mail to multiple recipients
    ... Check out the man pages for mail and mailx. ... all of the syntax and options for each command and will likely answer ... all of your questions and fulfill your wildest dreams;) ...
    (comp.unix.admin)
  • Incorporating return path in sendmail
    ... mails going out with sendmail (or -r syntax for mailx). ...
    (SunManagers)