LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-26-2004, 08:51 PM   #1
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
Setting up Sendmail


I've got some questions about Sendmail. I know there is a ton of information out there, but I'm not too swift on the uptake, so if anyone can help me out, I'd appreciate it.

I have installed Slackware 9.1. I upgraded to -current via swaret. I made sure that /etc/rc.d/rc.sendmail is executable. I fire up Pine and start testing things out. I'm in a user account, so for "To:" I put "root". When I press enter, Pine completes the address as "root@slakbox.localhost". So far so good. I create a message and send it. I su and fire up Pine. Check my INBOX, and, sure enough, I got the message. I reply to the message, quit Pine, and logout. Now, as a user, I fire up Pine again, and there's my reply. Everything is looking golden.

Now, I decide to do a little more testing. Still in Pine as a user, I send a message to my hotmail account. Crank up the web browser, and sure enough, I got mail!!! Beautiful. Only thing is, the sender is shilo@slakbox.localhost. Not really a problem, since that's who sent it. Replying to that message, though, as I'm sure you have figured, doesn't do anything.

Now I have myself an account with dyndns.org. Makes it real easy to ssh over to my computer from work. I'm thinking, though, that there is a way to make it so my email address can be username@myaddress.dyndns.org. Am I thinking right here? That way, I have my own free email server. When I've messed around with Apache, I could easily set it up so that http://myaddress.dyndns.org would open up a web page I created on my computer.

What do I have to change to make it work the way I'm thinking? if my expalination isn't clear, let me know and I will try to re-phrase.

TIA,

Shilo
 
Old 04-26-2004, 09:19 PM   #2
cynicjoe
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Rep: Reputation: 0
>I'm thinking, though, that there is a way to make it so my email address can be >username@myaddress.dyndns.org.

In order for you to receive mail to your current IP address from other e-mail servers(hotmail...) you would have to have a DNS entry somewhere that the e-mail server would be able to use to find the IP address of your mail server. This is called an MX record. Not sure if this is possible with a dynamic IP but hey dyndns.org might offer something like that.


Joe--
 
Old 04-26-2004, 09:43 PM   #3
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 49
Quote:
but hey dyndns.org might offer something like that
I believe they do. https://www.dyndns.org/support/kb/mxrecords.html . I'm just not too sharp on figuring this out. Anyone know what I'm talking about/trying to do here and can put it in layman's terms for me. I'd really appreciate it.

Thanks again,

Shilo
 
Old 04-26-2004, 10:53 PM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 49
Anyway, I keep reading around and it turns out that this is all I have to do.

I've got myself an account with dyndns.org. I've got a router that supports updates to my account at dyndns.org. That means that if I want to find my computer, I just use myaddress.dyndns.org instead of an ip address. I've got Sendmail. All I had to do was:

1) Open up port 25 on my router. Of coarse, that meant forwarding it to my computer, but I figure that's a given.

2) Run netconfig. I changed my hostname to "username" (That's the same as I have it set up on dyndns.org) and I change my domain name to "dyndns.org".

3) Restart Sendmail.

BLAM, works like a charm.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian and setting up sendmail IRISH Debian 1 09-06-2005 01:32 PM
setting up sendmail dranobob Linux - Newbie 2 09-06-2005 09:34 AM
Setting up Sendmail ngwasuma Linux - Software 0 01-16-2005 05:35 AM
Setting up Sendmail AndrewMac Linux - Newbie 4 06-20-2004 01:32 AM
Setting up sendmail maddskillz Linux - Newbie 6 10-31-2003 08:46 AM


All times are GMT -5. The time now is 06:48 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration