LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-16-2009, 04:05 AM   #1
sharma.kashyap
Member
 
Registered: Apr 2006
Posts: 41

Rep: Reputation: 15
sending mails at server address


Hi,
I am facing an issuse with mail. I have one server with hostname as kk. I log in to the box as a kashyap user and send mail via mailx command like mailx -s test kashyap@yahoo.com. I recive the mail perfectly fine from address kashyap@kk.com. Now i want to send mail from yahoo to server... like
I am trying.. to send mail back to the address kashyap@kk.com. Whem i log in to the system and give mail -h command it does not show me the mail sent from yahoo to server also i do not get any undeliverable notice. Kindly help how can i do this and how can i see that mail in the box.

Any help would be appreciated.

thanks
 
Old 03-16-2009, 05:38 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
Check your mailserver logs to see if the mail arrives at your server. Also make sure that your mailserver is listed in the MX record of your domain:
Code:
dig mx kk.com
 
Old 03-19-2009, 12:56 AM   #3
emailbuilder88
LQ Newbie
 
Registered: May 2005
Posts: 23

Rep: Reputation: 1
To expand on bathory's post, you need to know where the DNS MX record for your domain points. If, after using "dig" to find it out you see that it does point to your server (if not, contact your domain registrar to have them help you point it there), then you need to see why mail isn't being accepted on your machine.

Try telnetting to the machine's port 25:

telnet kk.com 25

Watch out with doing this from some DSL subscriptions, as some ISPs block port 25 from your home so the inability to connect is not actually your machine in that case. Also make sure some over-zealous anti-spam/firewall suite on your PC isn't blocking it, either.

Anyway, did that connect?

You should also be watching your machine's mail log file when you are sending mail to it. On RedHat variants, that file is /var/log/maillog. You can do this to watch it in real time:

tail -f /var/log/maillog

If you don't see any activity when you try to send mail, that port is either being blocked by a firewall on the machine or you don't even have a SMTP server running in the first place.

If you need to install a SMTP server, you can use tools like apt-get or yum to install postfix or your favorite mail transfer agent.
 
Old 03-19-2009, 02:17 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Do you own/control kk.com?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem sending e-mails from K-Mail client through Exchange Server kaplan71 Linux - Software 2 12-01-2008 01:49 PM
sending old e-mails into new mail server inbox mush Linux - Newbie 2 10-02-2005 08:58 PM
Sending WAN IP address to FTP server sloik2000 Linux - Networking 2 02-08-2005 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:56 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