Koozali.org: home of the SME Server

accessing mail with pine

thorsten greiner

accessing mail with pine
« on: May 07, 2001, 11:12:24 PM »
hi there...

i'd like to access my fetched mail with pine directly from the console. but in fact, all mail is handled by admin and though i turned off the control-console i can't access mail with pine...

i'd like to have all fetched mail forwarded to a useraccount of my choice and be able to log in to the console, start pine and get my mail...

anyone experienced with that?!

thanx in advance

Dan Brown

Re: accessing mail with pine
« Reply #1 on: May 08, 2001, 03:34:15 AM »
What on earth do you mean by "all mail is handled by admin"?  Are you using fetchmail?  If so, just use the "is" statement in .fetchmailrc, like this:

poll mail.earthlink.net protocol pop3:
user remoteusername is localusername@hostname.domain
password remoteuserpassword;

Graeme Robinson

Re: accessing mail with pine
« Reply #2 on: May 08, 2001, 05:02:48 AM »
I think you mean that you want to login to the server using an account other than root/admin and use pine to check email?  E-Smith specifically disables user logins to the server I'm afraid so if you want to use pine on the server to check email you should use the console to redirect mail from the relevent users to the root account.

Charlie Brady

Re: accessing mail with pine
« Reply #3 on: May 08, 2001, 05:16:26 AM »
Graeme Robinson wrote:
 
> E-Smith specifically disables user logins to the
> server I'm afraid so if you want to use pine on the server to
> check email you should use the console to redirect mail from
> the relevent users to the root account.

No, that's not the recommended approach. The really paranoid would never use pine as root - have you audited the code? No, see:

http://www.e-smith.org/faq.php3#8q3

Any user can use pine on the console, or by ssh, if the admin has changed their shell for them. IIRC, pine is already configured correctly to use imap to access the INBOX.

Regards

Charlie

thorsten greiner

Re: accessing mail with pine
« Reply #4 on: May 08, 2001, 11:25:23 AM »
hi...

dan: yes... it's fetchmail... :) thanx for the hint with the 'is' statement
graeme: hmm... using root for normal tasks isn't that cool...
charlie: thanx... that should help :)

thorsten

Gordon Rowell

Re: accessing mail with pine
« Reply #5 on: May 08, 2001, 11:32:51 AM »
Charlie Brady wrote:
>
> Graeme Robinson wrote:
>  
> > E-Smith specifically disables user logins to the
> > server I'm afraid so if you want to use pine on the server to
> > check email you should use the console to redirect mail from
> > the relevent users to the root account.
>
> No, that's not the recommended approach.
> [...]

And it will not work - qmail never delivers mail to "root".

Gordon

thorsten greiner

Re: accessing mail with pine
« Reply #6 on: May 08, 2001, 12:08:05 PM »
well....

i did chsh and got a login for my normal user... but pine still doesn't do it...
maybe a uts-error... got any idea?

thanx....

John Powell

Re: accessing mail with pine
« Reply #7 on: May 08, 2001, 12:59:13 PM »
Perhaps a guess that you are running 4.1.1?  I also noticed it does not work there without hacking Pine config (I did get it running, but it wasn't pretty).  I seem to recall using Pine in the past and it worked (not sure which rev, it has been a while).

I did note in the release notes for 4.1.2 the following:

"2.  The console email program pine has been configured to access personal
    mailboxes using the IMAP protocol. This will allow command line
    access to mailboxes without custom configuration. Note: this feature is
    not normally accessible to users."

Not sure if this is your issue, but thought I would pass it along in case it is.

JP

thorsten greiner

Re: accessing mail with pine
« Reply #8 on: May 08, 2001, 02:09:23 PM »
yeah well...

sounds like it's my issue. only thing i need to know now is, which rpm contains the the updated conf-files?? as i updated 4.1.1 with the announced security-fixes, it doesn't work. for i haven't got a fa(s)t line i would prefer only downloading the nessecary files instead of a whole iso-image...

thorsten

thorsten greiner

Re: accessing mail with pine
« Reply #9 on: May 08, 2001, 02:16:28 PM »
got it ;))

it's in e-smith-email-4.4.0-17.noarch.rpm

bash$: rpm -Uvh e-smith-email-4.4.0-17.noarch.rpm
bash$: /sbin/e-smith/signal-event post-upgrade
bash$: /sbin/e-smith/signal-event reboot

thanx for your patience though