HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Fetcgmail problem (http://www.howtoforge.com/forums/showthread.php?t=32481)

Vcepelin 15th March 2009 20:56

Fetcgmail problem
 
hi again
i was wondering how can i set my fetchmail
not to fetch all the mail
but the mail that is new
discarding the mail that was already been fetched

dipeshmehta 16th March 2009 05:46

you can use nofetchall option with poll.

Btw, it is the default option if nothing else like fetchall or keep is specified.

Dipesh

Vcepelin 16th March 2009 07:35

ok but can i use bot keep and nofetchall

dipeshmehta 16th March 2009 09:33

Quote:

Originally Posted by Vcepelin (Post 175462)
ok but can i use bot keep and nofetchall

yes ofcourse, you can use keep for not to delete messages from server, and alongwith you can use nofetchall to fetch only newer messages

for more details about options see man page, man pages are our friends in need

Vcepelin 16th March 2009 10:22

so i have a problem :(
i have the nofetchall parameter
but it stil fetches all the mail
(if i use the default settings without the nofetchall
parameter i stil fetches all)
im using pop3 as protocol
any ideas waht can i do ?

falko 16th March 2009 13:53

What's in your fetchmailrc?

Vcepelin 17th March 2009 14:37

poll mail.example.com
proto pop3
user "myuser@mydomain.com"
pass "password"
is myuser
keep

that's it ...

falko 18th March 2009 18:54

Add nofetchall to it.

Vcepelin 19th March 2009 11:56

it still fetches all the mail ...

falko 20th March 2009 13:06

Did you restart fetchmail?

What's the output of
Code:

updatedb
locate fetchmailrc

?


All times are GMT +2. The time now is 09:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.