Unix Technical Forum

fetchmail

This is a discussion on fetchmail within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Server: Slackware 9.1 I use fetchmail to grab email from several accounts. I currently use this line in the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:11 AM
Khris Wall
 
Posts: n/a
Default fetchmail

Server: Slackware 9.1
I use fetchmail to grab email from several accounts. I currently use
this line in the .fetchmailrc file:
mda "/usr/bin/procmail -d %T"

I then IMAP in to all my email using my main PC. Currently email saved
on the server is saved as files not a directory structure. Can I change
the mda line above to force email to be saved in directories?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:13 AM
Jim
 
Posts: n/a
Default Re: fetchmail

Khris Wall wrote:

> Server: Slackware 9.1
> I use fetchmail to grab email from several accounts. I currently use
> this line in the .fetchmailrc file:
> mda "/usr/bin/procmail -d %T"
>
> I then IMAP in to all my email using my main PC. Currently email saved
> on the server is saved as files not a directory structure. Can I change
> the mda line above to force email to be saved in directories?


I'm not using procmail. But with fetchmail, the best approach is to create a
user specifically for mail service. Mine is called "mailservice". Then let
fetchmail run as that user. This overcomes the problem of fetchmail
retrieving mail only into the directory of the user who invoked it.
My .fetchmailrc looks like this:

set bouncemail
set no spambounce
set properties ""
set daemon 10
poll mail.speedfactory.net with proto POP3
timeout 30

user jimmyc
pass ******
to rebus

user irinamaslova
pass ******
to irina

The "to" line passes the mail to a mail spool belonging to that user. It
works like a champ.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:02 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com