Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd December 2009, 11:43
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default How to setup getmail to download just some emails of an account...

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
Reply With Quote
Sponsored Links
  #2  
Old 3rd December 2009, 18:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

To be honest, I don't know. Did you take a look at the getmail man page?
Code:
man getmail
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th December 2009, 12:40
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

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
Reply With Quote
  #4  
Old 8th December 2009, 13:25
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
 
Default

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

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16
Server setup for Web Purposes with custom Firewall ramangill Installation/Configuration 22 8th February 2006 23:43
Local-Only Web Host Setup demon0 Server Operation 2 25th January 2006 23:32
Debian perfect setup network problem reddogg Installation/Configuration 2 18th January 2006 23:04
Attempting The Perfect Setup (To Some Extent) PsyVision HOWTO-Related Questions 3 3rd November 2005 12:50


All times are GMT +2. The time now is 16:50.


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