LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 03-03-2015, 10:19 AM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Mail difficulty


Mail is not working.

# mail andrew_kennedy7@yahoo.com
Subject: test
testing
EOT
# /usr/sbin/sendmail: No such file or directory
"/root/dead.letter" 9/223
. . . message not sent.
 
Old 03-03-2015, 10:54 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You might have to setup 'mail' software with msmtp and use a smtp server of your email provider (recommended).

Read msmtp man page it has good examples of setting it up.

Or you can use one of postfix, exim, opensmtpd., the original sendmail(asked by your mail program).

Using these depending on your ip address may have problem in reaching the targets(blacklisting of ip addresses very much prevalent based ISP).
 
Old 03-03-2015, 02:49 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Fixit7 View Post
Mail is not working.

# mail andrew_kennedy7@yahoo.com
Subject: test
testing
EOT
# /usr/sbin/sendmail: No such file or directory
"/root/dead.letter" 9/223
. . . message not sent.
So the error clearly tells you that you don't have a sendmail program...did you install it? Did you configure a mail system (postfix/sendmail)? What kind of environment are you using (home or corporate?), and do you have a relay further upstream to use? Or are you wanting to use Yahoo or Gmail SMTP relays to send mail??? You provide next to no details about things, including version/distro of Linux, anything you've done/tried so far, or if this a new problem and it was working, or you've just now tried it. We need details before we can try to help you.
Quote:
Originally Posted by veerain
Using these depending on your ip address may have problem in reaching the targets(blacklisting of ip addresses very much prevalent based ISP).
This is misleading and partially incorrect, along with being hard to read/understand. An ISP MAY blacklist people from SMTP servers, and it MAY be based on IP address...but if the user hasn't sent any emails, the only way this would be true is if the OP got their IP address from a former spammer who WAS blacklisted. Chances are, the ISP will allow SMTP access, and has instructions on how to set it up.

Also, the email recipients won't have ANY problems receiving that email, unless (as stated), the OP is sending from either an IP or address that was ALREADY blacklisted. The targets should receive anything just fine otherwise.
 
Old 03-04-2015, 04:02 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
Using these depending on your ip address may have problem in reaching the targets(blacklisting of ip addresses very much prevalent based ISP).
Quote:
Originally Posted by TB0ne View Post
This is misleading and partially incorrect, along with being hard to read/understand. An ISP MAY blacklist people from SMTP servers, and it MAY be based on IP address...but if the user hasn't sent any emails, the only way this would be true is if the OP got their IP address from a former spammer who WAS blacklisted. Chances are, the ISP will allow SMTP access, and has instructions on how to set it up.
Quote:
Originally Posted by TB0ne View Post
Also, the email recipients won't have ANY problems receiving that email, unless (as stated), the OP is sending from either an IP or address that was ALREADY blacklisted. The targets should receive anything just fine otherwise.
I was not posting of sender's ISP at all. Many email providers gmail, yahoo, hotmail and etc usually blacklist email send directly from one of ISP's provided dynamic ip address connections. They do this as many internet users of ISP's regularly send spam messages. But if you purchase clean Ip address from ISP's then it may not be in blacklist.
 
Old 03-04-2015, 08:34 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by veerain View Post
I was not posting of sender's ISP at all. Many email providers gmail, yahoo, hotmail and etc usually blacklist email send directly from one of ISP's provided dynamic ip address connections.
Sorry, that's wrong. They do NOT blacklist ANYONE without a reason, because if they did, they'd take millions of small businesses offline with such a blanket policy. And the OP never said they had a dynamic address (or ANYTHING about their ISP or address), did they??
Quote:
They do this as many internet users of ISP's regularly send spam messages. But if you purchase clean Ip address from ISP's then it may not be in blacklist.
Sorry, that's wrong too. Many internet users send spam mail PERIOD, and many don't even know they're doing it, thanks to botnet infected PC's. And how, exactly, do you 'purchase' a clean IP address? How would ANYONE know it's 'clean'?

99% of ISP's have documentation on how to configure mail services to work with their connections....they wouldn't do this if everyone who set one up was automatically blacklisted, since that would be a total waste of everyones time.
 
Old 03-04-2015, 09:26 AM   #6
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Tbone,

My sig shows my Linux version.

After seeing how much work is involved in getting sendmail to work, I decided to stick witk seamonkey 4 sending emails.

Anyone know if any command line versions of email clients in windows work under wine?
 
Old 03-04-2015, 12:32 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Fixit7 View Post
Tbone,
My sig shows my Linux version.
Ok, but lots of folks have different versions noted in their user info/sigs, and you may have been talking about another machine. Always best to say what you're using.
Quote:
After seeing how much work is involved in getting sendmail to work, I decided to stick witk seamonkey 4 sending emails.Anyone know if any command line versions of email clients in windows work under wine?
Doing ANYTHING with wine, when there are programs for Linux that do the same thing, is unnecessary. The msmtp or mailx programs can both be used, in conjunction with your existing ISP's mail system, to do exactly what you're after.

If all you want is to send a few emails for yourself, then sendmail/postfix are overkill.
 
Old 03-04-2015, 07:46 PM   #8
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
echo "something" | mailx -s "subject" recipient@somewhere.com

yields no email in my inbox.

And no error message either.
 
Old 03-05-2015, 11:08 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Fixit7 View Post
echo "something" | mailx -s "subject" recipient@somewhere.com

yields no email in my inbox.

And no error message either.
Did you configure mailx? Set up the resource file??? Until you configure a program, you can't use it, anymore than you can just run ANY mail program without configuring it.
http://linux.die.net/man/1/mailx

The man page has information on how to use mailx with IMAP/POP3.
 
Old 03-05-2015, 11:44 AM   #10
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Okey dokey.
 
  


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
Difficulty with xinetd: ali2011 Programming 1 12-30-2011 08:47 AM
difficulty enios LinuxQuestions.org Member Intro 5 08-30-2011 11:50 PM
why is there difficulty in accesing mail sites in linux whether other sites r working sheenamj Linux - Networking 1 09-18-2009 03:32 PM
E-Mail Read Receipt E-Mail Delivery Status E-Mail tracking number. ytd Linux - Software 3 02-14-2009 04:02 AM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

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