Mail retrieval question

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Mail retrieval question

Postby jlturriff » Mon Jun 11, 2012 4:25 am

Hi,

I've been looking through your forum archive and reading man pages, but I can't find anything that explains what I want to do:

I'm using ADSL to connect to my ISP. My machine (running Kmail in KDE3 in OpenSuSE 12.1) has several user accounts, each of which has a separate ISP mailbox. I want to set it up so that when the machine connects to the ISP the mail in each mailbox will be downloaded, even when the associated local user is not logged in. (Some of the user accounts are seldom used, so mail for them can stack up a lot on the ISP side; that's what I'm trying to avoid.)

It looks like a combination of fetchmail and sendmail ought to do the trick, but none of the scenarios I've found so far address this particular need.

Can you help, please?

Leslie
jlturriff
 
Posts: 6
Joined: Sun Mar 09, 2008 1:49 am
Location: Concordia, Missouri, USA

Postby nelz » Mon Jun 11, 2012 9:17 am

sendmail is used for sending mail, so not relevant here. Fetchmail can do this for you and can be told to download mail from specific accounts for individual users, so it does exactly what you want. However, it is not the most user-friendly of programs to set up. Getmail may be a better alternative, it comes with better organised and more readable documentation, as well as example configs. Each user's .getmail directory contains a file for each account they want to download from and their crontab contains one of more lines to run these configs as often as you want.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8469
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby wyliecoyoteuk » Mon Jun 11, 2012 11:38 am

sorry, not applicable
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
User avatar
wyliecoyoteuk
LXF regular
 
Posts: 3452
Joined: Sun Apr 10, 2005 10:41 pm
Location: Birmingham, UK

Postby johnhudson » Mon Jun 11, 2012 10:04 pm

You cannot download mail to Kmail when a user is not logged in; that is a fairly obvious security precaution.

I'm not sure why you would want to download mail to other users' accounts; are you sure the ISPs are worried about the length between downloads - most allow three to six months without use before disabloing accounts.
johnhudson
LXF regular
 
Posts: 871
Joined: Wed Aug 03, 2005 1:37 pm

Postby nelz » Mon Jun 11, 2012 11:21 pm

johnhudson wrote:You cannot download mail to Kmail when a user is not logged in; that is a fairly obvious security precaution.


If KMail is set to retrieve from a local maildir, you can use getmail or fetchmail to put the mail there, ready for KMail to read when it loads up. You could also run a local mailserver and download mail for all accounts into it, but that may be overkill.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8469
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK


Return to Help!

Who is online

Users browsing this forum: No registered users and 1 guest