LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2003, 08:38 AM   #16
DKY
Member
 
Registered: Jul 2003
Posts: 60

Original Poster
Rep: Reputation: 15

I currently am localhost.localdomain do I just change that whole thing to one word, or do i have to change it to my hostname.mydomain.com?
 
Old 07-29-2003, 08:59 AM   #17
DKY
Member
 
Registered: Jul 2003
Posts: 60

Original Poster
Rep: Reputation: 15
k, I got it to stick finally. In case anyone else comes accross this. I had to edit two files. the /etc/sysconfig/network and the /etc/hosts. I'm not too sure if I needed to edit the hosts file, but it works.

Last edited by DKY; 07-29-2003 at 09:09 AM.
 
Old 07-29-2003, 09:33 AM   #18
DKY
Member
 
Registered: Jul 2003
Posts: 60

Original Poster
Rep: Reputation: 15
The mynetworks parameter that really confuses me. what do i put there?
 
Old 07-29-2003, 10:52 AM   #19
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Your domain name and any other domains you wanna receive mail for. This doesn't mean that you WILL recieve the mail, it simply means you'll allow it. You won't relay for spam though if you don't specify their domain, that's the nice part.

Short answer:
Your domain, your hostname and any hosts on your network or domains you wanna recieve mail for.

Cool
 
Old 07-29-2003, 11:07 AM   #20
DKY
Member
 
Registered: Jul 2003
Posts: 60

Original Poster
Rep: Reputation: 15
well, on this page here http://www.redhat.com/support/resour...OWTO/x118.html it kinda shows, and explains things, but I am extremely lost.
Quote:
# The mynetworks parameter specifies the list of networks that are
# local to this machine. The list is used by the anti-UCE software
# to distinguish local clients from strangers. See permit_mynetworks
# and smtpd_recipient_restrictions in the file sample-smtpd.cf file.
#
# The default is a list of all networks attached to the machine: a
# complete class A network (X.0.0.0/8), a complete class B network
# (X.X.0.0/16), and so on. If you want stricter control, specify a
# list of network/mask patterns, where the mask specifies the number
# of bits in the network part of a host address. You can also specify
# the absolute pathname of a pattern file instead of listing the
# patterns here.
#
#mynetworks = 168.100.189.0/28, 127.0.0.0/8
so, what I THINK this is saying is I have to put the LAN ips for my other computers, and my router? plus "/a number"??

Last edited by DKY; 07-29-2003 at 11:09 AM.
 
Old 07-29-2003, 11:12 AM   #21
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yes you do, that's for relaying If you don't your computers on your network cannot send email through you or recieve it. However... You also have to put your domain name/IP (if you have no domain) for the same reason

Cool
 
Old 07-29-2003, 11:15 AM   #22
DKY
Member
 
Registered: Jul 2003
Posts: 60

Original Poster
Rep: Reputation: 15
okay, so what's the last number for? Do I put my no-ip.com name? If so, do I put that number after it as well?
 
Old 07-29-2003, 11:26 AM   #23
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Those numbers are subnet masks, it confuses the he!! outta me honestly. I just don't bother with it most of the time, if you've got a massive network or are really curious... nah, nevermind, I'll find it for you and post up the page that has all the answers on that 'last number' brb

As for putting it after your no-ip.com bit, nope. Just for local networks, you'll see..

Cool
 
Old 07-29-2003, 11:28 AM   #24
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Wow, I'm getting good at googling things occasionally!

Here ya go:
http://xtronics.com/reference/ip-subnetmasks.htm

Please feel free to feel as enlightened yet at the same time humbled as I was when I read about it. Completely helpful yet complicated as all get out.

Cool
 
Old 07-29-2003, 11:32 AM   #25
DKY
Member
 
Registered: Jul 2003
Posts: 60

Original Poster
Rep: Reputation: 15
So, I dont need those subnet masks? in esence mine will look like so
mynetworks = 192.168.1.1, 192.168.1.2, 192.168.1.3, name.no-ip.com

does that look okay to you? since i dont know how to test this? If so, I'm gonna start this bad boy up, and see what happens. LOL
 
Old 07-29-2003, 11:37 AM   #26
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
That definitely looks decent to me, you can always include the subnets if you find it not working, but I go simple first then move up

Cool
 
Old 07-29-2003, 11:39 AM   #27
DKY
Member
 
Registered: Jul 2003
Posts: 60

Original Poster
Rep: Reputation: 15
okay, so...that's it? I'm done? Now what? How do I set up email addresses? Or, wait a minute, in order to set up email addresses i have to set up user accounts? Like, there's already a root@mydomain.com, no matter what?
 
Old 07-29-2003, 11:43 AM   #28
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Purty much. Check /etc/aliases OR /etc/postfix/aliases and read up on the man page. But basically yeah, create user accounts and you are done. To alias something like:
Spam@whatever.com
You just have to add it to the aliases file, something like
Spam: Bill
IF user Bill is a real user Then bill will recieve all mail sent to Spam. Nice actually. Then... After adding to the aliases file, you want to run:
postalias
To save the changes, you might need to specify the aliases file, but that'll all be covered in the man page and if you have questions, POST EM UP!!!

Cool
 
Old 07-29-2003, 11:47 AM   #29
DKY
Member
 
Registered: Jul 2003
Posts: 60

Original Poster
Rep: Reputation: 15
okay, so....that seems a little too far for me, I want to send and receive some email, to make sure the things working right (and i didnt screw anything up in the process) How do I go about setting up the account in something like Evolution? So, I go to add a new user, and it fills in the blank automatically. root@name.domain What's that about, I thought it would just be root@domain?? Also, on the next page it asks for "server type" is it pop?
 
Old 07-30-2003, 08:25 AM   #30
DKY
Member
 
Registered: Jul 2003
Posts: 60

Original Poster
Rep: Reputation: 15
or even in outlook express, what would be the incoming mail server, and the outgoing mail. "mail.mydomain"?

I tried mail.mydomain, and got the following error.
Quote:
The connection to the server has failed. Account: 'mail.kemp.sytes.net', Server: 'mail.kemp.sytes.net', Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E
any suggestions?

Last edited by DKY; 07-30-2003 at 08:27 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
a few questions about setting up a mail server sporkit Linux - Networking 12 04-08-2004 05:47 AM
Mail server....quick questions tisource Linux - Software 12 12-15-2003 08:29 PM
Mail server questions linuxnube Linux - Software 0 10-21-2003 11:20 AM
Questions about MySQL and Mail Server Dillweed Linux - Software 2 08-30-2003 12:46 AM
Mail server questions, MTA ?? explorer1979 Linux - General 4 11-27-2002 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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