Solved

how to use fetchmail with IMAPS ?

Posted on 2008-10-12
5
1,012 Views
Last Modified: 2013-12-06
I want to get my corp IMAP mails using fetchmail to local machine and want to access all my mails using mail client(thunderbird) by local machine,
How can I make my local machine IMAP server and get all my corp mails from corp IMAP mail server using fetchmail.

Later I want to access all my mails from my laptop(using thuderbird).

I want a setup as follows.

corp mail IMAP server <=> local IMAP server(using fetchmail to get my mails <=> access mails from my laptop using thunderbird and give local IMAP server IP in thunderbird

how can I achieve this scenario ?
0
Comment
Question by:beer9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 22699034
Thunderbird can hold all the messages intact on client, just look around map options. No interim server needed.
Fetchmail basically injects mail into using /usr/bin/sendmail, your picture thus misses postfix/exim/sendmail - MTA

Actually try thunderbirds options first - result looks more straightforward.
0
 

Author Comment

by:beer9
ID: 22720120
what is thunderbird 'map' option ? i couldn't find it in account-settings.
0
 
LVL 62

Expert Comment

by:gheist
ID: 22729175
Mistyped. I mean IMAP account options regarding offline storage on local machine.
0
 

Author Comment

by:beer9
ID: 22787050
actually why I need to above mentioned setup because my mail has space limit.

So  I want to fetch(do not leave copy of mail at corp mail server) all the mails and then using local mail server I will read my mails and will keep in sync.

Please let me know if there is other better way to achieve this.
0
 
LVL 62

Accepted Solution

by:
gheist earned 250 total points
ID: 22789259
POP3 has option to delete messages from server after month or so.
That relies on UIDL working correctly on server (Exchange is incorrect in regard)

fetchmail's --ssl option does imaps, stls and whatever crypto needed.
-S shows smtp host to send to ( 127.0.0.1 would suffice with default installed exim/postfix/sendmail whatever)
--smttpname user@host -> whom to send mail

Its all in fetchmails manual page.

Let me recommend very lightweight dovecot pop3 for your local system.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question