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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
; generated by /sbin/dhclient-script
service postfix start [ok]
Aug 26 10:32:22 domain postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 26 10:32:24 domain postfix/local: fatal: open database /etc/postfix/aliases.db: No such file or directory
Aug 26 10:32:25 domain postfix/master: warning: process /usr/libexec/postfix/local pid 5384 exit status 1
Aug 26 10:32:25 domain postfix/master: warning: /usr/libexec/postfix/local: bad command startup -- throttling
when I try to send local email using mail user, maillog shows:
Aug 26 10:49:47 domain postfix/qmgr: D6E1B2A0AD: from=<email@example.com>, size=319, nrcpt=1 (queue active)
Aug 26 10:49:47 domain postfix/qmgr: 2D66029D49: from=<root@localhost>, size=287, nrcpt=1 (queue active)
Aug 26 10:49:47 domain postfix/qmgr: AC46B29D4A: from=<root@localhost>, size=273, nrcpt=1 (queue active)
Aug 26 10:49:47 domain postfix/qmgr: 372DE2A0A8: from=<firstname.lastname@example.org>, size=303, nrcpt=1 (queue active)
Aug 26 10:49:47 domain postfix/qmgr: 920982A0BC: from=<email@example.com>, size=280, nrcpt=1 (queue active)
Aug 26 10:49:48 domain postfix/pickup: 5DF7229CB3: uid=0 from=<root>
Aug 26 10:49:48 domain postfix/cleanup: 5DF7229CB3: message-id=<20100826054948.5DF7229CB3@example.com>
and when I telnet localhost 25, it hangs with this message:
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Thanks for the reply. Yeh I managed to run it successfully and now can query using telnet as well.
My questions now:
1. How to send outbound email now? Because on the present settings I am unable to do so.
2. How to create virtual emails and domains? If possible, send me a url which has described setup of email server without mysql authentication.
For the second query read this tutorial.
As far as sending goes, you will need to have a proper dns settings and MX records for the domain pointing to your server. Else the sending of messages will fail with bounced back messages from the destination server. To use external server as relay for sending, search LQ. There is one very big discussion on the same.
Glad you got that part fixed. Now for the configuration of a 'full blown' mail server, there are various ways, all depending on your choice of software packages you prefer. Here are some links to two pretty complete guides and a site where you'll find lots of howtos, easy to follow, almost copy/paste to obtain what you want. Don't worry too much about the distros used, that's easily changed to your distro if you know your way around the one you use.
I would personally go for LDAP. You can have multiple servers authenticating with LDAP for multiple resources shared over a network. For learning firewalls on linux, you could start with netfilter.org.
You're welcome! I cannot tell you which one is the 'better' one. In my belief they both have advantages depending on the use. I only setup with MySQL and that works perfect for me. Never suffered slowness in MySQL access but then again I'm not using it on a large scale.
Here at LQ exists a great Security References thread which I think would be a great starting point if you're serious about security. In that thread you'll find lot's of links to Linux firewall howtos also so I suggest you start your reading there.