LinuxQuestions.org
Visit Jeremy's Blog.
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 12-21-2010, 07:14 AM   #1
wasamzy
Member
 
Registered: Apr 2009
Location: Ghana Accra
Posts: 64

Rep: Reputation: 15
Fetchmail


Hi All,

I have fetch mail in my root directory like this:

set no bouncemail

set postmaster postmaster@dot.com.gh

set logfile /var/log/fetchmail

poll pop.teledataict.com

protocol pop3


localdomains dot.com.gh

archive dot.com.gh

no dns

envelope X-Envelope-To:

qvirtual dot.com.gh

user "maildot3@teledataict.com" there

pass "mail"

is *

here forcecr

nokeep

flush

dropdelivered

fetchall


This works perfectly as I want. But right now, what I want is, I want fetchmail to download mails for more than one or several accounts in different domains and different pop servers.

How can I improve this rc file to accomplish my task?

Regards
Emma
 
Old 12-22-2010, 12:52 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Just start with the global settings
Code:
set syslog
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
set daemon 300
Then you can add a rule for every account
Code:
poll mail.server1.com with proto POP3 user 'USER' there with password 'PASS' is user here
poll mail.server2.com with proto POP3 user 'USER' there with password 'PASS' is user here
Kind regards
 
Old 12-23-2010, 03:45 AM   #3
wasamzy
Member
 
Registered: Apr 2009
Location: Ghana Accra
Posts: 64

Original Poster
Rep: Reputation: 15
Thank you for your reply. But one thing I forgot to mention is that, I am doing this on qmail server, which have virtual domains and users but not unix type accounts. Will your settings work for them as well?

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fetchmail maceee Linux - Server 7 01-26-2009 05:51 PM
fetchmail help blizunt7 Linux - General 1 08-24-2005 11:22 PM
Fetchmail... Linux~Powered Linux - Software 3 03-02-2004 04:41 AM
Need help with fetchmail somethingorathr Linux - Newbie 2 08-20-2003 06:34 AM
Using Fetchmail! RKris Linux - Software 2 08-25-2002 05:14 AM

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

All times are GMT -5. The time now is 11:45 AM.

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