How to recieve mail without third party mail server
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
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.
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...
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.