LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-11-2009, 03:42 AM   #16
sv452
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Rep: Reputation: 0

can a mod please delete this

Last edited by sv452; 09-11-2009 at 03:50 AM. Reason: duplicate
 
Old 09-11-2009, 03:49 AM   #17
sv452
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Rep: Reputation: 0
can a mod please delete this

Last edited by sv452; 09-11-2009 at 03:50 AM. Reason: duplicate
 
Old 09-11-2009, 08:15 AM   #18
bjmakond
LQ Newbie
 
Registered: Jun 2009
Posts: 15

Original Poster
Rep: Reputation: 0
OK here is how u setup fetchmail:

step 1.
Create a file in /root called .fetchmailrc
Command: vi /root/.fetchmailrc

Step 2
Edit the file by putting the following lines:

set daemon 120 {it will query for messages every 2 minutes}
set logfile /var/log/maillog
poll hq.mydomain.com proto pop3

user "someone" with pass "password" is "someone" here
user "someone1" with pass "password" is "someone1" here

{and so on..... till you define all your users}
Step 3.
Save the changes in the file

Step 4.
Edit /etc/rc.local
command: vi /etc/rc.local

put the following lines:

touch /var/lock/subsys/local
/usr/bin/fetchmail -f /root/.fetchmailrc
sleep 1


Step 5.
save the file

Step 6.
edit /etc/hosts
command: vi /etc/hosts
add the following:

xxx.xxx.xxx.xxx hq.mydomain.com mail {xxx.xxx.xxx.xxx is the primary server ip address}

Step 7.
Start fetchmail
Command: /usr/bin/fetchmail -f /root/.fetchmailrc


YOU ARE GOOD TO GO!!!!!!!!! GOOD LUCK. ANY PROBLEMS, DONT HESITATE!!! BYE!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up an email server for another branch bjmakond Linux - Newbie 5 06-15-2009 06:47 AM
How to monitor web server, FTP server, Mail server and database server vodka33us Programming 1 06-16-2008 04:20 AM
Synchronize 'Linux Office Suite' with Microsoft Exchange server (Outlook mail...) frenchn00b General 1 12-17-2007 10:09 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Postfix relaying mail to internal mail server tradecraft1 Linux - Networking 2 10-28-2003 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration