You are not logged in.

#1 2008-02-26 13:03:39

cwjiof
Member
From: Taichung, TW
Registered: 2008-01-27
Posts: 131

[Solved] How Use FDM (Fetch and Deliver Mail) to fetch e-mail ?

I used to use offlineimap to sync from my gmail. And everything is good.

Recently, I found a lightweight program, named fdm (Fetch and Deliver Mail), when i decided to try to use fetchmail. FDM is now in the Community Repo.

The installation was fast and easy (pacman -S fdm), but i just could not fetch my gmail with it.

FDM configuration is very simple ,as follows:

set maximum-size 128M
set  delete-oversized
set lock-file "%h/Mail/LOCK"

action "inbox" maildir "%h/Mail/inbox"

account 'MyAccountName' imaps server 'imap.gmail.com' port 993 user 'UserName' pass 'PassWord' new-only

match all action "inbox"

When I run "fdm -vv fetch", I just got nothing exept:

version is: fdm 1.4, started at: Tue Feb 26 20:54:44 2008
running on: Linux 2.6.24-ARCH #1 SMP PREEMPT Sun Feb 10 15:21:33 UTC 2008 i686
user is: MyName, home is: /home/MyName
loading configuration from /home/MyName/.fdm.conf
added action "inbox": deliver=0:maildir "~/Mail/inbox" 
added account "MyAccountName": fetch=imaps server "imap.gmail.com" port 993 user "UserName" folder "INBOX"
added rule 0: matches=all actions="inbox"
configuration loaded
locking using: flock 
headers are: "to" "cc"
domains are: "MyHost" "localhost.localdomain" "\[127.0.0.1\]"
options are: delete-oversized, maximum-size=134217728, timeout=900, default-user=1000, file-umask=077, queue-high=2, queue-low=1, lock-file="/home/MyName/Mail/LOCK", strip-characters="\<>$%^&*|{}[]"'`;"
using tmp directory: /tmp
already running (/home/MyName/Mail/LOCK exists)

[~] % du ~/Mail
0       Mail/INBOX
0    Mail/inbox
0    Mail/sent
0    Mail/outbox
0    Mail/LOCK
76    Mail

Any advice and any help will be appreciated, thanks.

Last edited by cwjiof (2008-02-26 23:07:53)

Offline

#2 2008-02-26 14:47:47

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: [Solved] How Use FDM (Fetch and Deliver Mail) to fetch e-mail ?

fdm.sf.net has detailed instructions for everything. also search the forum. i seem to remember codemac had made an interesting thread about fdm


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2008-02-26 14:57:20

cwjiof
Member
From: Taichung, TW
Registered: 2008-01-27
Posts: 131

Re: [Solved] How Use FDM (Fetch and Deliver Mail) to fetch e-mail ?

Thank you, dolby. I've found the post.

Offline

#4 2008-02-26 15:14:40

cwjiof
Member
From: Taichung, TW
Registered: 2008-01-27
Posts: 131

Re: [Solved] How Use FDM (Fetch and Deliver Mail) to fetch e-mail ?

Oh, God! I've made a foolish mistake by creating a directory (~/Mail/LOCK), before running FDM.

So, I got an error:  already running (/home/MyName/Mail/LOCK exists), and stopped.

Offline

Board footer

Powered by FluxBB