On Sun, 5 Dec 1999, Aalok Jain wrote:

> I have setup the Qmail 
> Now i like to fetch my mail coming to me ( dedicated domain )
> to all the users i have created in my office.
> So i had gone thru the mutidrop mode - fetchmail mannual
> but still kindof doubts remain
> presently i m using the grahical interface of fetchmail so i see some
> mutidrop mode functions . 

Do you mean fetchmailconf?  Anyway, I've found it much easier to edit the
conf file manually.

This is what my .fetchmailrc file looks like:

# Configuration created Thu Aug 19 00:10:48 1999 by fetchmailconf
set postmaster "postmaster"
set bouncemail
set properties ""
set daemon 900

poll tellis with proto pop3
user "tellis" there with password "password" is philip here smtphost
    tellis options keep

As you can see, my file is only set for one user, but it is not hard to
set it up for multiple users.

The line that says `poll tellis with proto pop3' is the server line.
Here, you specify the server to be polled.
After that, list all the mail accounts on that server from where you want
to fetch mail.

I have only a single line, but you may have multiple lines of the form:

user "<username>" there with password "<password>" is <localuser> here
    [smtphost <smtphostname>] [options [keep] [all]...]

See the manual for full list of options.

> since while reading the mannual i read there may be risk of losing my
> mails if my settings arent proper
> so can anyone guide me in setting up the mutifrop mode sincei like to
> fetch mails for the particular user to go to the particular user only. 

If you have setup <localuser> correctly, then there will be no mail lost.
Another problem I had at the beginning was with the smtphost.  I knew the
mail was coming in, but did not know where it was going then.  After
specifying the smtphost as my local machine, the mail ended up in the
right mail box.

Finally, the options, keep will not delete mail from server, all, will
fetch all mail, even read messages.  These are the most common, you may
need others, then see the man pages.


Your final server and user lines should be of the form:


poll <server2> with proto <pop3|pop2|imap|auto...>
user "<user1>" there with password "<pass1>" is <localuser1> here
user "<user2>" there with password "<pass2>" is <localuser2> here
user "<user3>" there with password "<pass3>" is <localuser3> here
:
:

poll <server2> with proto <...>
user ...


>From the man page:

You can use the noise keywords `and', `with', `has', `wants', and
`options' anywhere in an entry to make it resemble English. They're
ignored, but can make entries much easier to read at a glance. The
punctuation characters ':', ';' and ',' are also ignored.

(ESR)


I hope this helps.  I have been successful in using fetchmail to pick up
mail from vsnl, softhome and yahoo through a mail proxy that I wrote
myself in Java.

Philip


> 
> aalok
> 

Reply via email to