LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-08-2011, 09:04 PM   #1
richard_wu0313
LQ Newbie
 
Registered: May 2011
Posts: 10

Rep: Reputation: 0
how to send mail in sled system by "mail"


hi there,
i want to send some txt eamil to other, but other people couldn't receive any email. i used following commands.
echo "1111111111" | mail -s "test" aaa@hotmail.com -- -f bbb@hotmail.com

i also checked service "postfix" was running.

any help would be appreciated! thanks!
 
Old 11-09-2011, 05:16 AM   #2
War3zWad|0
Member
 
Registered: Sep 2011
Location: Houston, TX
Distribution: openSuSE, Fedora, CentOS, Debian,, and others
Posts: 84

Rep: Reputation: Disabled
sending mail to the Major providers

Well lets start this conversation off with 3 simple questions.

1) Do you have a Static IP Address or DCHP IP Address from your ISP?

2) Do you have a rPTR for your IP Address pointing to your Domain Name?

3) Do you have SMTP Authentication turned on?

Now before you answer any of these questions, I am also going to point out that it is best to post the headers of your returned or "Bounced" emails so that a person can provide you with a better answer or resolutions to your current issue. With that said I now want you to answer the first question that I asked...

1) If you answer DHCP to this question then, it is safe to say that you most likely will not be able to send e-mail to the Major hosting providers and anyone who uses any of the major RBLs.
1) If you answer Static then you can move to question 2

2) If you answer NO to this question or you don't know what a rPTR is then again you are most likely never going to be able to send e-mail to any of the major providers and again anyone who uses any of the major RBLs.
2) If you answer Yes, you do have a rPTR setup on your IP Address that does not have your ISPs name in it, then you will need to provide the Headers of the returned E-mails so that someone can help you

3) I ask this as many service providers are now checking to ensure that the mail server that is connecting to them is not an open relay.
3) If you do have authentication turned on the provide some log files, or the headers of the bounced emails

As the following if very vague:
----------------------------------------
hi there,
i want to send some txt eamil to other, but other people couldn't receive any email. i used following commands.
echo "1111111111" | mail -s "test" aaa@hotmail.com -- -f bbb@hotmail.com
----------------------------------------

does not give enough details to what might be causing the problem.

Things you need to include when asking for assistance are, the Linux Distro you are using, the Mail service you are running (i.e. Postfix, dovecot, courier, sendmail, qmail, exim....) also you should provide any log entries that might correspond to the problem you are having. You can usually get the info you need by using tail on the mail server log file.

Again, need more info to help you.....
 
Old 11-09-2011, 06:49 PM   #3
richard_wu0313
LQ Newbie
 
Registered: May 2011
Posts: 10

Original Poster
Rep: Reputation: 0
thanks for detail help. i have fixed this issue. i appended some info at the end of file /etc/mail.rc
set from=xxxx smtp=xxxxx.hotmail.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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to send mail by command "sendmail" in Ubuntu viktor2000 Linux - Software 2 09-24-2011 02:24 AM
"mail" cmd can't send mail to outside MX bret Linux - General 1 09-13-2006 04:05 PM
Shel script mail send ("/" in mail address) problem anaid Linux - Networking 3 08-23-2005 07:41 AM
I get a "relaying denied" message when I try to send mail from a remote computer robmainella Linux - Software 4 09-09-2003 10:39 AM

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

All times are GMT -5. The time now is 11:45 PM.

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