LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-15-2003, 07:39 PM   #1
debaire
LQ Newbie
 
Registered: May 2003
Location: Los Angeles, CA
Distribution: RHEL AS 4
Posts: 22

Rep: Reputation: 15
Can send mail out, just can't get any back...


Hi, I'm real new to Linux...I just got my box setup. I'm using SuSE 8.2 Pro. I used Yast utility to setup sendmail but I didn't something wrong. I can send mail out, but I can't get any back. Any ideas? Thanks.
 
Old 05-15-2003, 10:28 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try to test the server like this ...

telnet 127.0.0.1 25

see if it's listening. Then if it answers do this ....

ehlo name

mail from: username.domain

rcpt to: username

data

enter the message ....

Hello!

Wassup?

enter a period on a line by itself ....

.

quit


you should have sent the message to the username
 
Old 05-15-2003, 10:30 PM   #3
rohroh
LQ Newbie
 
Registered: Feb 2003
Distribution: Debian, Fedora, Solaris,FreeBSD
Posts: 3

Rep: Reputation: 0
You will need to check the syslog (or however SuSE logs failed attempts) to see if sendmail is failing cause of reverse DNS lookups. This seems to be a problem that i found with the later versions of sendmail.

Personally i have switched to postfix due to its more versatile configuration system. You are able to restrict which inbound domains you will accept as well as the outbound domains. You can even configure it so that down to a user level can be rejected or dropped etc.

If you need further help please post some of the failures in the syslog into a reply and i will see if i can help out at all.
 
Old 05-15-2003, 10:31 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I would setup fetchmail so you could fetch it as well.

# Common e-mail tools
sendmail - postfix - sends mail to local users (and internet when configured correctly)
fetchmail - gets mail from internet accounts (non-Hotmail type)
procmail - sorts and delivers into separate mailboxes
mutt - mail client that sucks less than all the others
Email the Linux Way
Suresh Ramasubramanian's email guide
The Linux Mail User HOWTO
The Linux Electronic Mail Administrator HOWTO
SquirrelMail web mail
Gotmail, a utility to download mail from Hotmail type accounts
 
Old 05-15-2003, 10:40 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
when you say get mail back are you refering to your linux box being used as a mail server that people will send your mail to?
 
Old 05-15-2003, 10:43 PM   #6
zeeone
LQ Newbie
 
Registered: Apr 2003
Location: Third Stone From The Sun
Distribution: Linux
Posts: 29

Rep: Reputation: 15
You may want to use Mazilla's email system. That way, you can surf and get email notifed at the same time. Smiple to set up once you have the browser up, just click on the mail icon and the setup profile will come up. If you have any problems, check the help file, it covers it all.
 
Old 05-15-2003, 10:48 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
We're getting a little carried away here. We need to figure out what he wants first.

There are many possibilities when it comes to receiving mail. It sounds like you want a mailserver that will allow people to send mail to you.


First you need to get the mail on the server. Then you can configure the client to retrieve it.

receive mail = mail server
retrieve mail = mail client



Last edited by DavidPhillips; 05-15-2003 at 10:51 PM.
 
Old 05-16-2003, 11:00 AM   #8
debaire
LQ Newbie
 
Registered: May 2003
Location: Los Angeles, CA
Distribution: RHEL AS 4
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for all the input

I'm not really trying to run a mail server. I'm just trying to send mail out once in awhile for notification purposes (which I can right now) and receive it if needed (which I don't really need now but would like in the future). I got this MAIL NOTIFICATION - Deferred: Connection refused by "host". Thanks.
 
Old 05-16-2003, 11:29 AM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
yes, I see

You must have a mail server to do this. It sounds like it's not running.

Is the error what you get from trying to login with telnet

If you really don't want a mail server then you must use some other mail server for someone to send you mail.

You can't really have a mail server every once in a while, someone would need to contact you first and say "Hey, I'm going to send some email to you so crank up the mail server."

Most mail servers are setup for local use only for outgoing mail. If you want to send mail through it (relay) that needs to be configured as well.

Are you running telnet locally on the server?

127.0.0.1 is a local address

Last edited by DavidPhillips; 05-16-2003 at 11:36 AM.
 
Old 05-19-2003, 07:56 PM   #10
debaire
LQ Newbie
 
Registered: May 2003
Location: Los Angeles, CA
Distribution: RHEL AS 4
Posts: 22

Original Poster
Rep: Reputation: 15
What is the mail server that's supposed to be running?
 
Old 05-19-2003, 08:03 PM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
The two most popular are sendmail and postfix. You said you configured sendmail, so I will wager you are using .......sendmail! You stated it sent mail OK, so does that mean that you configured it to use your ISP as smarthost?

I still think you want fetchmail....that is, if you are getting internet mail from an ISP.

Last edited by fancypiper; 05-19-2003 at 08:07 PM.
 
Old 05-20-2003, 12:47 PM   #12
debaire
LQ Newbie
 
Registered: May 2003
Location: Los Angeles, CA
Distribution: RHEL AS 4
Posts: 22

Original Poster
Rep: Reputation: 15
I'm at a university, I guess I need to find out from them...
 
Old 05-21-2003, 01:36 AM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
do you have an email address that someone sends mail to you at.

This would pretty much tell us if you just need to configure an email client or fetchmail to retrieve mail. Which would also mean that you do not need to receive mail on your computer.
 
Old 05-22-2003, 10:20 PM   #14
debaire
LQ Newbie
 
Registered: May 2003
Location: Los Angeles, CA
Distribution: RHEL AS 4
Posts: 22

Original Poster
Rep: Reputation: 15
I have an email address here at my university, both university wide and one just for my department.
 
Old 05-22-2003, 11:00 PM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ok, you can get the mail server info from them and setup the two accounts on your email client. Or if you want you can use fetchmail.
 
  


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
how to configure mail client to send mail out on different pppd threads vkrishn1 Linux - Newbie 0 12-29-2004 10:54 AM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
Cannot send mail with mail() command in PHP 4.3.4, Apache 2.0.48, Mandrake Linux 10 arcanum Linux - General 3 06-27-2004 06:06 PM
CGI Script runs to send mail, but mail is never sent robertwo Linux - Newbie 2 06-10-2004 09:57 AM
Open web mail OR Send mail groups linuxeagle Linux - Networking 0 05-12-2004 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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