Linux based E-Mail w/ Windows Clients 10
An Anonymous Coward wrote in with this question: "I have a Linux server with 15 Windows clients. It's currently connected to the net with IP-Masqurading. Right now we have the Windows machines directly connect to the ISP to get their mail. I want to have them connect to the Linux server and then use fetchmail on the server. Each computer has it's own email account, someguy@somedomain.com I'd like to be able to have fetchmail grab all of the mail for all of the accounts and then use something like qmail to allow the Windows machines to get their mail. Whats a good way to do this? Note that I *must* be able to have email accounts with long names, about 15 characters. And I'd like it to be able to automatically add any new accounts. "
We do it (Score:1)
Main server X, gets all the email for all three parts of the company (Ontario, Pennsylvania and Arizona). It has the SPAM rejection and whatnot.
X has in
Office servers A, B and C have a cron job that uses SerialSMTP and SSH to securely transfer the mail for each server from the
Office servers A, B and C have the employee's Maildirs. There are
Everyone at offices A, B and C pops or IMAPs their mail off of local server A, B or C. Sends go to the same server, but it's configured to send it directly out to wherever it may need to go via SMTP.
Works GREAT, one spot to block SPAM, and secure. email me if you have any questions. I'll be forwarding them off to my brother, who was the genius to come up with this. We have about a 0.012% email failure per month, and they're all due to misspelled usernames.
Re:Something this company that goes through us doe (Score:1)
Re:Fetchmail, Cron and Sendmail and IMAP (Score:1)
Your first task will be to create 15 or so user accounts and passwords on the system.
Assuming you don't want them to be able to log in as root
# useradd bgates -s
# passwd bgates
Now you need to configure Fetchmail to grab the external mail account you want. Add an entries to
poll pop3.microsoft.com proto pop3
user "billg" there with password "£!nuxRoolZ" is bgates here
Now add an entry to root's cron to run fetchmail as often as you want mail polled for.
# crontab -e
and add a line like for 15 minute polling.
0-59/15 * * * *
Fetchmail should hand the mail off to your local smtp server, sendmail (or qmail if your prefer) which will deliver to the mail to local accounts.
Your users then set their mail clients to pick up either pop3 or imap off your linux box.
If you have something like RedHat 6.0 you will need the following RPMS installed to make this work
fetchmail-5.0.0-1
sendmail-8.9.3-10
imap-4.5-3
vixie-cron-3.0.1-38
and also any rpms these depend on.
Pick equivalent packages for your disto, or prepare for a long day with a bunch of tarballs.
Regards,
Rob
Run Pegasus & fetchmail or sendmail (Score:1)
Sendmail/IMAP/Pegasus/Samba is THE state-of-the-art Microsoft integration method. You can pay many $1000s and will still not get close to the performance (I run 400+ oozers off of a Pentium 166 RH5.2 server).