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 am years administrator to MS servers but TOTALLY newbie to linux.
I want a little help plsss..
I have an external windows mails server and use to work with groups to get mails.
What i want to do is to setup CentOs with postfix+dovecot.
So far so good, i have setup both postfix+dovecot and have create users and groups in order to manage my internal network and users will use as pop and smtp my Centos.
But how could i retrieve mails from windows mail server first to my Centos and then to users?
To be honest, with 5 users, I'd set up Outlook or similar, connect to the Windows server, set up an imap account within Outlook on the linux box and drag and drop the messages/folders across.
Depending how messages are deliverd to the Windows machine, you should be able to use a program called fetchmail in linux to gather mail from either pop or imap mailboxes. We need more info on your setup though.
Last edited by billymayday; 11-13-2008 at 06:39 PM.
Currently i have a windows mail server where from i download 5 accounts for my 5 users.
They have approximately 200 messages per day.
Cause every user has more than 1 account to the pc, it happens different users to download same message.
So in order to reduce traffic i want to download all messages to my linux server and then to distribute these internall to my office so that i reduce traffic.
I have setup postfix + dovecot to linux server so that it can works like an internally mail server (private id) but i haven't still figure out how will i download messages from windows server to this machine and then to distribute messages to users.
Assuming you have a user "mac", and you windows server is "windows.example.com", create a .fetchmailrc in /home/mac along the lines of
proto pop3 # or imap if that's what it should be
user "firstname.lastname@example.org" # whatever the correct mail user on the Windows machine is
pass "abracadabra" # the mail password on the Windows machine
is mac here # the user on the Linux machine
This will collect mail for email@example.com from the mail server windows.example.com and pass the message on to postfix to be delivered to user mac. You can then connect to your Linux box via dovecot to retrieve the message.
I add an entry to my crontab
@reboot fetchmail -d 600 > /dev/null 2>&1
That starts fetchmail in daemon mode (-d) and polls the accounts in .fetchmailrc every 600 seconds.
Now, I have all my accounts in one .fetchmailrc, and because fetchmail complains if you run it as root, they run from my account. However, the only machine that runs fetchmail is a home server, so there aren't any password privacy issues.
I would assume that you would want to run an instance of fetchmail for each user, but I'm not 100% sure on that one.
i have done everything you said ..my only question now is if every user can have his own fetchmail file...
otherwise how could we deliver with one fetchmailk file each message to it's recpective account?