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.
Recently moved to a new server. Moved the alias file over from the old server. everytime something is sent to one of the aliases it returns a 550 error, user unknown, even returns the 550 error from the .forward file if that is utilized. There is sendmail and posfix on this machine with alias files sitting in both, don't know if that has anything to do with it or not. I've even turned off the firewall thinking that might be a problem. I have gone over the users and groups, I have read through the postfixconfig file and made changes to that and restarted sendmail every time. I'm clueless.
Ok, thanks, I think this is exactly what I need to clarify, because the person that set up the server isn't around.
Postfix is sitting there but must not be running because when I do a postfix command service postfix restart I get an error, so I know sendmail is running because I can see it when I do jobs -l, but I wasn't sure how the two interfaced if at all. so it must be the mail config file that I need to edit, is that right ?and so what is the best way to handle this? Can anyone help me??
and yes, I have run new aliases after all changes.
Personally, I'd drop sendmail since you aren't really needing to use it over Postfix, and bring up postfix. Once that's done, I think you'll have a much better time, not only that but it's been noted as being more secure out of the box, as well as giving you a performance gain to boot.
Ok, it doesn't matter to me really, I know how to turn off sendmail, but how do I turn on Postfix? I'm assuming it uses the same users and the only difference is the alias file which I can change in the main.cf file
I've just been assuming... Which distro are you running? I was thinking Redhat, if so, what release. The reason I was thinking RH was because they have both Postfix and Sendmail as mail server options and you can switch back and forth, since you were talking about both like they were interelated, I figured RH.
Mandrake normally comes default with Postfix. However, that's beside the point now.
Let's fire up a terminal as root and type:
And it should prompt for some discs to get it installed. Once it's done, it's just a matter of setting up the /etc/postfix/main.cf to your needs, setting up the /etc/postfix/aliases to your desires, and:
And you are on your way
I followed the directives and turned sendmail off, installed postfix moved the alias file over and reloaded postfix with no errors and I did the postalias thing, in the order outlined in MasterC's last post.
when I did newaliases /etc/postfix/aliases it complained the "no recipient needed for newaliases" so I just did newlaliases and then it didn't complain.
when I went into pine and tried to send a test message I got an error "421 smtp greeting failure"
And also when I went into the Mandrake Control Center it said postfix wasn't running even though I had just started the service from the terminal window. so I started it through the Control Center just to be sure, then went back to pine and tried to send a message and got the "421 smtp greeting failure" again
what does that mean, what is broken and where do i fix it?????
Ok, after you start postfix (or attempt to) look at 2 things:
To see if it's running (or alternatively:
ps aux )
And then at your logs to see any errors. If top or ps shows it's running, and you don't find any errors in your logs, then try another mail program to see if it's just the client (not the server) giving you issues.