LinuxQuestions.org
Review your favorite Linux distribution.
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 09-06-2002, 08:44 AM   #1
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Rep: Reputation: 30
How to recieve mail without third party mail server


I have a DSL internet connection and have registered with no-ip.com to track my dynamic ip address. I have sendmail setup and can send e-mail from my computer to the outside world, but what do I have to setup to have any e-mail sent to marsonist.servehttp.com recieved by my computer?
 
Old 09-06-2002, 08:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well what have you done so far? i sendmail listening to your external interface as well? (see notes in sendmail.mc), is the right kind of relay setup up? do you have any useful errors in /var/log/maillog?
 
Old 09-06-2002, 09:06 AM   #3
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Original Poster
Rep: Reputation: 30
shooting in the dark

I've never worked with sendmail before, so I've just been playing around with different settings. This is what I have so far:

I have steve.local (machine's internal domain) marsonist.servehttp.com and localhost listed as internal domains--- without marsonist.servehttp.com listed I wasn't able to forward local user traffic with that domain. It would just be stuck in queue.

I have my domain masquerading and outgoing domains setup so that all mail comes from marsonist.servehttp.com

I also have my spam control to allow mail from the above domain.

I've been using webmin to set it up. Maybe that's a mistake, but as a first time user of sendmail I thought it might help.

no-ip.com asks for an mx address to send the mail to, but I'm not sure what that is either.

Thanks for your quick response.

Steve
 
Old 09-06-2002, 09:21 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well your MX address is your mail server address. but before that you will need to ensure that sendmail is setup to a) listen externally and b) accept mail TO you, not just FROM you. for example in /etc/mail/access you should have something like

localhost RELAY
domain.com RELAY

"RELAY" can also be "OK" if you're only using one mailserver.
the localhost entry should already be there. then you'll need to set the right kind of relay method in /etc/mail/sendmail.mc so i'd suugest making sure

FEATURE(access_db)dnl

is in there somewhere. in order to recieve mail you also need to add your domain to the local-host-names file, and after that thigsn *should* start working, keep sending test messages and looking at maillog...
 
Old 09-06-2002, 09:44 AM   #5
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Original Poster
Rep: Reputation: 30
applying changes now

I'm making some of those changes as we speak. unfortunately I don't have a /etc/mail/sendmail.mc nor any sendmail file in that directory. I'm looking for a similarly functioning file...we'll see.

I find it interesting that not a single test mail has produced an error on either side. I can send a mail from hotmail and it just gets dropped. No error from hotmail, and now error in my logs. Slightly less than helpful.

Thanks again for the help.

Steve
 
Old 09-06-2002, 10:22 AM   #6
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Original Poster
Rep: Reputation: 30
hmmmm

It seems that sendmail.mc is named linux.mc on my system (If not then I just changed the wrong config :-) Unfortunately still no dice.I have no-ip settup with marsonist.servehttp.com as my MX. That's what I have in my local-host-names file (along with localhost and steve.local) As always no evidence of anything going wrong in my mail log or from hotmail.

Any other thoughts?

Thanks
Steve
 
Old 09-06-2002, 10:33 AM   #7
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Original Poster
Rep: Reputation: 30
oops :-)

I remembered that stopping and starting my sendmail services after such changes might help, and indeed it did.

It seems as though everything is up and working.

You're a godsend.

Thanks so much for the help.
Steve

Last edited by marsonist; 09-06-2002 at 10:35 AM.
 
Old 09-06-2002, 05:03 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
kickass! Problems like these are pretty handy really, i got sendmail working and in the process fiddled with a few dozen different things, but i couldn't have told you what they were until i reasarched it again know to actaully find out what the bits i did the were useful were!

Last edited by acid_kewpie; 09-06-2002 at 05:04 PM.
 
  


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
can send and recieve local mail, but not mail from internet Caine101022 Linux - Software 2 09-09-2005 01:35 PM
can't recieve mail newuser455 Linux - Software 1 06-25-2005 03:16 PM
Why can't my Apache/Linux server recieve e-mail? chellycat Linux - Software 5 05-16-2005 01:01 AM
Cant recieve mail mwmethe Linux - Networking 2 01-29-2004 02:42 PM
I can recieve mail (outlook) but i cant send mail hal_baumgardner Linux - Networking 4 07-13-2001 08:54 AM

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

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