Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mail retrieval question

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
jlturriff



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

PostPosted: Mon Jun 11, 2012 5:25 am    Post subject: Mail retrieval question Reply with quote

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
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Mon Jun 11, 2012 10:17 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
wyliecoyoteuk
LXF regular


Joined: Sun Apr 10, 2005 11:41 pm
Posts: 3422
Location: Birmingham, UK

PostPosted: Mon Jun 11, 2012 12:38 pm    Post subject: Reply with quote

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

*************** ************
Back to top
View user's profile Send private message
johnhudson
LXF regular


Joined: Wed Aug 03, 2005 2:37 pm
Posts: 857

PostPosted: Mon Jun 11, 2012 11:04 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Tue Jun 12, 2012 12:21 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast