LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2013, 04:53 PM   #1
m4rtin
Member
 
Registered: Sep 2007
Posts: 261

Rep: Reputation: 16
Question How to use e-mail address in mailx <message list>?


I would like to list all the e-mail messages from "@hotmail.com" in heirloom mailx. Or at least from certain e-mail address "example@hotmail.com". According to mailx, a <message list> consists of integers, ranges of same, or other criteria separated by spaces.

When I try to search by e-mail address, it does not find anything:

Code:
? from @hotmail.com                                                                                            
No applicable messages from {@hotmail.com}
? from example@hotmail.com
No applicable messages from {example@hotmail.com}
? from "example@hotmail.com"
No applicable messages from {example@hotmail.com}
?
How to use e-mail address in mailx <message list>? Or is there some other way to list all the messages from sender e-mail address?
 
Old 10-04-2013, 02:29 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
When I try to search by e-mail address, it does not find anything:

? from @hotmail.com
No applicable messages from {@hotmail.com}
Try the same inside parentheses
Code:
?(from @hotmail.com)
Quote:
Or is there some other way to list all the messages from sender e-mail address?
To list all the messages from a specific sender, use:
Code:
? from (from example@hotmail.com)

Last edited by bathory; 10-04-2013 at 02:48 AM. Reason: Additional info
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to send a mail in HTML format using mailx or mail or sendmail commands vishnu_knl Linux - Newbie 8 04-05-2012 10:00 AM
[SOLVED] KMail's message list - how to change message list display? rustiguzzi Linux - Newbie 1 07-21-2009 02:23 PM
Regarding mailing to a distribution list (DL) using mail/mailx command naren_0101bits Programming 0 02-06-2008 09:33 AM
mailx not found error message kaplan71 Linux - Software 2 12-10-2007 02:20 PM
Changing from address when using Mailx? humbletech99 Linux - Networking 3 12-08-2006 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration