Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I installed openwebmail. But it can only send but not receive mail. I used ps -x | grep XXXXX and found both sendmail and postfix are running. Is that because the mail going to another mail server so I can't receive it ? How can I fix this problem ? Thanks.
You have to create the .fetchmailrc file yourself, it doesn't already exist. This is just an example of what I do with pop3, you may have to modify it for imap for example.
Oh and you're doing the right thing by checking your configuration by typing "fetchmail" at the prompt. Notice that I pipe all output from fetchmail to null in cron. I don't keep it. It gets deleted immediately. Mail fails enough for whatever reason that I really don't want to know about it each time:-)
Does sendmail can send but not receive email? What packages should I install to receive email ?
Sendmail only sends but don't receive mail!
You should have a POP3 server in your linux distribution like popa3d, gnu-pop3d or similar.
Otherwise you've to compile one like Courier-IMAP or similar (depending how much secure do you need)!
You need to read a good book on Sendmail or Postfix. You should *not* be running 2 MTAs at the same time, unless you have some good reason. It's great that you can send mail but it sounds like you don't even know which MTA (Mail Transport Agent) you are using!
MTAs like Sendmail and Postfix, can receive mail but you have to set up MX records to forward mail to your local domain. This usually requires a lease of MX storage for your records, kind of like a domain name lease.
What I was describing with fetchmail is for grabbing your mail off of your ISP's mailbox. This is much simpler to set up and makes the system seem as though it's using mail locally. No MX records to maintain. In this case Sendmail or Postfix use what's known as a smart host, your ISP's MX records. Sendmail/Postfix forward outgoing mail to your ISP and your ISP takes care of the routing of mail.
Do not underestimate mail. It is extremely complex. People who administer mail often do nothing else. It's a full time job!
If all you want to do is send and receive mail on your Linux system, consider Kmail, Evolution, Thunderbird, or some other well established mail client. For your web based system you'll have to pursue one of the schemes I've described.
I installed vm-pop3d-1.1.6-noarch.rpm, but I still can't receive mail. It doesn't matter with openwebamil. I use "pine" in linux to send mail to myself, but I still can't receive anything. What's wrong with the mail server ?
You fix it be doing some of the things I've suggested. Read my previous posts and take them to heart. I hate to be a hard ass here but you have no idea how much set up is needed here. Unless you use one of the mailers I've suggested, like Kmail, Thunderbird, etc. you will have substantial set up. This is going to seem like a big task for someone who doesn't understand mail. *Not* because you can't understand it, but because it takes time to get a grasp of it.
Pine has some documentation in it for how to send mail as an "alternate role". You can start there. Go to the main menu -> S for Setup -> C for Config. Now on the page are the settings for things like sending as an alternate role.
Again, guys listen up! I'm not going to go through every possible mail scenario with you. You need a plan! Start with what you want to do and people (including me) can guide you along from there. There's nothing wrong with your mail chu2654! It needs to be configured. And that's a painful exercise, believe me.
Take some time to learn a little about e-mail by reading some how-tos and books. Maybe I should have held off and posted tomorrow. I've been working too long and it's late/early ;-)