Linux - NewbieThis 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
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.
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.
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.
# 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"??
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
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..
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?
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!!!
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.