Fetcgmail problem

Discussion in 'HOWTO-Related Questions' started by Vcepelin, Mar 15, 2009.

  1. Vcepelin

    Vcepelin New Member

    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
     
  2. dipeshmehta

    dipeshmehta New Member

    you can use nofetchall option with poll.

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

    Dipesh
     
  3. Vcepelin

    Vcepelin New Member

    ok but can i use bot keep and nofetchall
     
  4. dipeshmehta

    dipeshmehta New Member

    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
     
  5. Vcepelin

    Vcepelin New Member

    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 ?
     
  6. falko

    falko Super Moderator

    What's in your fetchmailrc?
     
  7. Vcepelin

    Vcepelin New Member

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

    that's it ...
     
  8. falko

    falko Super Moderator

    Add nofetchall to it.
     
  9. Vcepelin

    Vcepelin New Member

    it still fetches all the mail ...
     
  10. falko

    falko Super Moderator

    Did you restart fetchmail?

    What's the output of
    Code:
    updatedb
    locate fetchmailrc
    ?
     
  11. Vcepelin

    Vcepelin New Member

    output:
    /home/myuser/.fetchmailrc
    /home/myuser/.fetchmailrc~
    /usr/lib/YaST2/servers_non_y2/ag_fetchmailrc
    /usr/share/doc/packages/yast2-mail/fetchmailrc.txt
     
    Last edited: Mar 20, 2009
  12. falko

    falko Super Moderator

    What's in /home/myuser/.fetchmailrc?
    Is there a file /etc/fetchmailrc?
     
  13. Vcepelin

    Vcepelin New Member

    no file in /etc/fetchmailrc
    in /home/myuser/.fetchmailrc

    poll my.mail.server
    proto pop3
    user "myusername@mydomain"
    pass "password"
    is mylocaluser
    keep
    no fetchall

    P.S. thx for the replys man :)
     
  14. falko

    falko Super Moderator

    It must be "nofetchall" (one word), not "no fetchall".
     
  15. Vcepelin

    Vcepelin New Member

    man it still fetches all no mater new or old ...
     
  16. falko

    falko Super Moderator

    What's in /home/myuser/.fetchmailrc now?
     
  17. dipeshmehta

    dipeshmehta New Member

    Hello Falko,

    I came know to about similar problem at one of client's setup. There fetchmail is running in daemon mode, with system wide config at /etc/fetchmailrc and no per user config.

    There is similar problem, all mails are fetched every time. So, I came to understand that there may be some issues at ISP side, i.e. if ISP's servers are running some older version of softwares, then this might happen. The similar setup is running fine with other ISPs but just this ISP.

    Dipesh
     
  18. Vcepelin

    Vcepelin New Member

    so my problem is with se ISP or the e-mail service provider
     
    Last edited: Apr 2, 2009
  19. falko

    falko Super Moderator

    The company where you host your email account.
     

Share This Page