How to setup getmail to download just some emails of an account...

Discussion in 'Server Operation' started by voltron81, Dec 2, 2009.

  1. voltron81

    voltron81 New Member

    Hi to everybody.
    In a local mailserver I've configured getmail to fetch emails from the main mailserver.
    The problem is that the local mailserver has a very slow connection, so I want to be able to check in the main mailserver the emails received from michele@michele.com(I think I'll check with a POP3 connection) and after I want to deceide which email I want to donwload and which one not.
    With a POP3 connection to the main mailserver I should be able to read the ID of emails.
    So there is a way in getmail to download just an email with that ID?

    Thanks
    Michele
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    To be honest, I don't know. Did you take a look at the getmail man page?
    Code:
    man getmail
     
  3. voltron81

    voltron81 New Member

    Hi Falko,
    I had a look at the manual of getmail, but I didn't find anything that is matching to what I need.
    Googleling a bit, I've found that there is getmail_fetch that can be used in a script to fetch the emails, but at the moment I've not find a command that can say to getmail to get just the email with the ID ABCD1234.

    Any idea?

    Thanks
    Michele
     
  4. voltron81

    voltron81 New Member

    It's look like fetchmail have an option --uidl, but I can not find the same option in getmail also...
    I really don't want to come back to fetchmail...

    :eek:
     

Share This Page