![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mailx Command | shahnazurs | UNIX for Advanced & Expert Users | 3 | 11-16-2007 01:31 AM |
| EXIT STATUS on mailx/sendmail | Amruta Pitkar | UNIX for Dummies Questions & Answers | 5 | 08-14-2006 02:18 AM |
| Verifying remote command status | ravikiran | HP-UX | 0 | 06-08-2006 10:36 AM |
| Status of the second to last command | goswell | Shell Programming and Scripting | 5 | 04-13-2006 03:19 PM |
| mailx command | sveera | Shell Programming and Scripting | 5 | 04-28-2005 10:18 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Success status of mailx command
Hi
I want to know if the email address in the mailx exists or not Eg: Mailx -s "Subj" hello@ab.com How do I know if the email address is a valid one??? |
|
||||
|
ping will tell you if a site is up or whois will tell you about a valid domain name.
finger username@host.com (which is frequently turned off) will tell you if the username is valid for the domain name. Like Perderabo says, mailx and sendmail don't know about username at the time email is sent. |
|
||||
|
|
|
||||
|
finger does return a status but if you read my earlier post, it is turned off on a lot of servers. So, the status you get is essentially meaningless.
If you described what your problem is, there may be another solution rather than checking usernames on every email. |
| Sponsored Links | ||
|
|