How can I setup an Email server

Taking care of your Linux box.

How can I setup an Email server

Postby bhatti » Tue Dec 30, 2008 1:15 pm

How can I setup an Email server which sync the emails with webmail server and will serve locally. what should be the best postfix or fetch mail or Dovecot please suggest.
bhatti
Cadet
 
Posts: 11
Joined: Sat Jun 10, 2006 12:41 pm

Postby lambda » Tue Dec 30, 2008 3:32 pm

sync emails with webmail server? do you want email messages downloaded from webmail? or do you want to setup an ordinary mail server with a webmail interface?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby bhatti » Tue Dec 30, 2008 4:23 pm

lambda wrote:sync emails with webmail server? do you want email messages downloaded from webmail? or do you want to setup an ordinary mail server with a webmail interface?


Sir,
There is an webmail server working properly i just want to download the email for all clients on a local server and then the users can access their emails localy using LAN
bhatti
Cadet
 
Posts: 11
Joined: Sat Jun 10, 2006 12:41 pm

Postby lambda » Tue Dec 30, 2008 4:37 pm

there is no standard system for downloading emails off webmail. which webmail system are they using? does their mail server support pop or imap? there are tools to download via pop or imap.

there is a difference between "sync" and "download". what do you want to do?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby source_code » Tue Dec 30, 2008 7:01 pm

Mr. bhatti,
i think your question requires that you clearify the concepts of email serving first. How mailservers work. How emails are sent and recieved. It will make a lot more sense to you once you understand the complete functionality of mailservers.
Your question seems more like a mail syncing scenario. Please explain further....
"Any intelligent fool can make things bigger and more complex... it takes a touch of genius - and a lot of courage - to move in the opposite direction."-Albert Einstein
source_code
Lance Naik
 
Posts: 23
Joined: Sun Aug 31, 2008 4:54 am
Website: http://sourcecode.ath.cx:88
Location: Pensacola, Florida

How can i do

Postby bhatti » Thu Jan 01, 2009 11:44 am

I want to add a local mail server at my LAN so that people who need to read, reply to email need not go on-line they can just log in to their account on local server. That server will take care of fetching and sending mail to online server.
bhatti
Cadet
 
Posts: 11
Joined: Sat Jun 10, 2006 12:41 pm

Postby x2oxen » Fri Jan 02, 2009 12:50 pm

Make sure your email server has pop/imap access and then for windows you can use mdaemon or in linux you can use fetchmail or getmail for accomplishing your task. basically you want to create a virtual pop.. is it that wat you need?
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
x2oxen
Major General
 
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Website: http://usmanpk.com
WLM: x2oxen@hotmail.com
Yahoo Messenger: x2oxen
Location: Faisalabad

Postby irfanbhatti » Tue Jan 06, 2009 5:19 pm

i think Mr.Bhatti wants a mail server that sync mails from a online mail server (that is hosted some where else in the world ) and deliver mail to LAN users but don't delete mails from Online server but if user delete any mail it also delete from online server

did i am understand correctly Mr. Bhatti

Thanks

Irfan
Muhammad Irfan
03335246272
irfanbhatti
Havaldaar
 
Posts: 145
Joined: Fri Jun 03, 2005 12:19 pm
Yahoo Messenger: capricorn201_4u
Location: Rawalpindi Islamabad

Re:

Postby LinuxFreaK » Fri Jan 09, 2009 10:28 am

Dear irfanbhatti,
Salam,

irfanbhatti wrote:i think Mr.Bhatti wants a mail server that sync mails from a online mail server (that is hosted some where else in the world ) and deliver mail to LAN users but don't delete mails from Online server but if user delete any mail it also delete from online server


In this case he can use fetchmail with locally configured mail server with webmail interface which can use dovecot as POP/IMAP.

FYI, http://www.redhat.com/magazine/025nov06 ... index.html

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

How can I setup an Email server

Postby bhatti » Sat Jan 17, 2009 7:31 am

Dear Sir, (Farrukh Ahmed)

can you help me out in this. actually i want to setup an email server which act as copy of existing email server.

Existing email server is hosted somewhere on the web and people using it. Now the duplicate server is required on local LAN and the functions should be that it should bring all the emails for all the users from the server hosted somewhere on the web and send all the email of LAN users to that online email server.

kindly tell me some hints
is there any way to sync these to servers.
How this internal server will send and receive all the emails from online server
what are the pre requisit for this
any other helpful suggestions

Regards
bhatti
Cadet
 
Posts: 11
Joined: Sat Jun 10, 2006 12:41 pm

Postby mudasir » Sat Jan 17, 2009 11:36 pm

AOA,

Dear in your case fetch mail is perfect with dovecot as farrukh bhai said.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
mudasir
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai

Postby lambda » Sun Jan 18, 2009 12:00 am

if only he'd explain what he means by sync. does he mean: changes made to the local server are copied to the remote? if so, fetchmail/getmail/whatever can't help him.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby mudasir » Sun Jan 18, 2009 2:41 am

AOA,

Dear Lambda bhai,

By SYNC he means that changes made to "EXTERNAL SERVER" should be updated on "LOCAL SERVER".

For this fetchmail is good.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
mudasir
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai

Postby lambda » Sun Jan 18, 2009 1:58 pm

if a message is deleted from the webmail server by a user who checked his email from home, how will fetchmail delete it from the local server automatically?

it can't. that's the difference between sync and download.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby x2oxen » Sun Jan 18, 2009 10:39 pm

Good Question! Next Question Please :P

-k — Causes Fetchmail to leave the messages on the remote email server after downloading them. This option overrides the default behavior of deleting messages after downloading them.
Muhammad Usman

+92-321-6640501

Chemonics International

http://usmanpk.com
x2oxen
Major General
 
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Website: http://usmanpk.com
WLM: x2oxen@hotmail.com
Yahoo Messenger: x2oxen
Location: Faisalabad


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron