Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
here is what i did:
add the domain to local-host-names and restarted sendmail.
after that i made user webmaster and
in /home/webmaster made a .forward file with the email address i want the mail forwarded.
i made sure to chown the .forward file to webmaster and set the permissions to 644 ...
can u guys let me know what i'm doing wrong? or what i missed? i only want mail for email@example.com to be forwarded to another account.
Corin - laughing - I figured that I would give it a shot - presuming that the worst thing that could happen was it wouldn't work - I have another question for you though regarding virtual hosts and sendmail - let me gather my info with some screen shot and then I will post it - thanks again.
I figured that I would give it a shot - presuming that the worst thing that could happen was it wouldn't work
That is usually the best way to learn how to do things!
Try it, see if it works, if not try something a little different.
And sometimes with some software packages, the documentation is either non-existent, incomplete, or so incomprehensible that the only things one can do is to keep trying different things.
Only ever change one thing at a time, making a note of what you change, or more correctly, a backup of the unchanged file, and check the results carefully, and remember that a change can do one of three things
1) make things worse
2) make no difference
3) make things better
OK - I am running RHL9 as a web server with a handful of web sites (virtual hosts). Now here is my question - when someone ssh's to my box, opens up pine and sends an email it sends as the main domain of the box, not necessarily the domain that they are associated with. For example the name of my box is car.com (not real) but I also host a web site apple.com (joe q public owns apple.com). Now when joe q public sends an email from my machine (car.com) the email is firstname.lastname@example.org not email@example.com. How do I associate certian users with certain domains? Does that make sense?
220 plain.domain.com ESMTP Sendmail 8.12.8/8.12.8; Thu, 7 Aug 2003 16:45:59 -0500
>>> EHLO plain.domain.com
250-plain.domain.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
>>> MAIL From:<firstname.lastname@example.org> SIZE=5
250 2.1.0 <email@example.com>... Sender ok
>>> RCPT To:<firstname.lastname@example.org>
250 2.1.5 <email@example.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
250 2.0.0 h77LjxbL024869 Message accepted for delivery firstname.lastname@example.org... Sent (h77LjxbL024869 Message accepted for delivery)
Closing connection to [127.0.0.1]
221 2.0.0 plain.domain closing connection