|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
mailx to external email address
Hi, How can I use "mailx" command to send message to an email address like this? Code:
echo "This email body" | mailx -s "my subject" "email@hostname.com" There may be some setup required in sendmail or postfix?? OS = Snow Leopard 10.6 Last edited by pludi; 07-12-2011 at 08:19 AM.. Reason: update |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Set up a "smart host" in sendmail (usually the same machine as the outbound server in your graphical email client.)
If you do not want to use a smart host, then you will need a static ip, dns and reverse dns for the domain that you are using. |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
I was able to get the sendmail kind of working.
Using the instructions on this site: http://yoavgivati.com/2009/10/let-po...-snow-leopard/ I can send mail from OS X. Now instead of arriving into the inbox, the email goes into the junk mailbox. Could be because gmail is catching it as spam for some reason. What do you suggest to get around this issue? |
|
#4
|
||||
|
||||
|
Check all the header records in the mail that arrives in junk. You may find the reason that it is marked junk.
Try sending to a Windows POP client (Outlook Express, Thunderbird) and see if it also goes to junk. |
| Sponsored Links | |
|
|
#5
|
||||
|
||||
|
I did try to a different address and it went through ok. Thanks.
|
| Sponsored Links | ||
|
![]() |
| Tags |
| email, mailx, sendmail |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to verify email address using mailx command ? | rak007 | UNIX for Dummies Questions & Answers | 1 | 06-11-2009 07:17 AM |
| how to know if the mailx command really sends the mail to the email address? | sheenshine | Shell Programming and Scripting | 3 | 09-17-2008 08:34 AM |
| mailx- can we change the from address in the email that is sent out. | radhika | UNIX for Dummies Questions & Answers | 5 | 09-21-2005 07:37 AM |
| Send email where # is in the email address - Using Unix | jingi1234 | UNIX for Dummies Questions & Answers | 1 | 05-23-2005 11:23 AM |
| Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win) | Vetrivela | UNIX for Advanced & Expert Users | 2 | 02-15-2005 09:43 AM |
|
|