I can send but cannot receive mail with unix?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers I can send but cannot receive mail with unix?
# 1  
I can send but cannot receive mail with unix?

Hi all,

First post!
I have just discovered that I can use unix to send mail to a mail address. I normally use entourage for my mail.
This unix mail is very intriguing to me, but something is not working... I tried the search, but could not find the answer...

This works:
(in terminal)
mail myname@mycompany.be
subject: test
test
ctrl-d

That arrive fine in entourage, but the sender is myname@somethingstrange-computer.local

This does not work:
(in entourage)
send mail to myname@somethingstrange-computer.local

This works:
(in terminal)
mail myname@somethingstrange-computer.local
subject: test
test
ctrl-d

That arrives fine in terminal.

Is there any possibility to send mail from any mail address to the unix mail? How can I determine the correct mail address for the unix mail? All myname@mycompany.be go to entourage and myname@somethingstrange-computer.local doesn't seem to work...

Or am I missing something?

All help is appreciated.

bjorn
# 2  
Where to begin??

First, any email system must know how to find a computer named "somethingstrange-computer.local". Since this isn't an official DNS name, it might be a little confused. If the UNIX computer you are using is named "somethingstrange-computer.local" and you send it to this address, it generally has no problem figuring out that you simply want to send it to the local user "myname". However, another computer won't know how to contact this computer. So you can try emailing to your computer's fixed IP address, if it has one: myname@10.1.1.2 or if not, get a service called "dynamic DNS" so that your computer's IP address is always associated with a domain name, and simply mail to myname@dynamic-dns-service.net (for instance).

Note: it might still not be that easy; your UNIX computer might have a built in firewall or the email "service" might not be configured to receive external emails.
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #781
Difficulty: Medium
At 17, Bill Gates formed a venture with Steve Ballmer called Traf-O-Data to make traffic counters based on the Intel 8008 processor.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Send mail from UNIX

Hi, I am executing the below commands, i didnt get any error and send mail not recevied by respective user. Please help cat a.txt | mailx -s "config" xxx@abc.com (4 Replies)
Discussion started by: sugumar
4 Replies

2. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

3. Shell Programming and Scripting

send mail through Unix

Hi Can any one please help me how to send mail through unix. (3 Replies)
Discussion started by: parthmittal2007
3 Replies

4. Shell Programming and Scripting

UNIX Script to query Active Directory: give cn (NT login name) and receive mail (Email address)

Hi folks I need to write UNIX script (with ldapsearch) to query Active Directory. Input is NT login name and output is Email address. Attached a screenshot of Sysinternals "AD Explorer". I need to do the same in CLI. http://i.imgur.com/4s6FB.png I am absolute LDAP/ldapsearch noob. (0 Replies)
Discussion started by: slashdotweenie
0 Replies

5. Shell Programming and Scripting

send mail from unix

Hi all, I'm trying to send a mail from Unix to my company domain. It doesn't show me any error but i dnt even receive mail in my inbox. I'm using mailx -s "sub" name@company_domain.com <file.txt I have few contents in the file which should be sent as message body of the mail NOT... (3 Replies)
Discussion started by: bankimmehta
3 Replies

6. Shell Programming and Scripting

I could not receive the mail sent from the unix server using 'mailx'

Hi All, I have sent a mail to my gmail id using the below command. echo " " | mailx -s "sub" myid@gmail.com I didn't get any error notification. But still I didn't receive that mail still.. please help me to learn how to send mail to other provider (Yahoo/gmail) from unix server.... (1 Reply)
Discussion started by: little_wonder
1 Replies

7. UNIX for Dummies Questions & Answers

Receive e-mail on unix box

Hi, I am not sure if it is a good question or not. Is there a unix utility which can be configured with exchange server and then receive e-mails? Thanks! (4 Replies)
Discussion started by: DejaVu
4 Replies

8. Solaris

send mail from UNIX

Hi We have configured the mail server in our unix box. Still while trying to send mail it goes to dead letter. We issued the command as mailx -s "Hello" someone@somewhere.com Note: Is that required to reboot the server once the send mail is configured in the server. OS Version :... (5 Replies)
Discussion started by: prashanth_gs
5 Replies

9. UNIX for Dummies Questions & Answers

I am not able to send mail form unix to other mail accounts.

Using Mailx command i.e mailx -s "subject" chinni@hotmail.com < \tmp\chin this command executed sucessfully but not able to receive the mail in chinni@hotmail.com please help. (1 Reply)
Discussion started by: chinnigd
1 Replies

10. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies

Featured Tech Videos