> 
> 
> Hi All,
> 
> Could someone please point me to the right software package to use. I want to
> have multiple users on a workstation share a single mail account from an ISP.  I
> understand how to make each user be able to log into the one account and
> retrieve mail, but the other users are unable to gain access to the mail that
> someone else down loaded. I would like on repository for all the downloaded mail
> so that each user could see all the mail.
> 
> Any help would be appreciated.
> 
> Stuart
>  
> 
> 


What you could do is make a user that does nothing but gets your email for
the server, (for the moment lets call him mailman) write a script as that
user to download the mail from your isp mail server.  Put this user that
does nothing but get mail in a 'non-stanard'  user group say ispmail (call
it what ever you want).  Make a script that downloads the mail from your
isp run as mailman.  At this point you could make it into a crontab and/or
a at job.

Put all the users that need to share this account into ispmail group.
Make an alias for your email client to use /var/spool/mail/mailman as
there mail file.  If csh it would be

 alias elm 'elm -f /var/spool/mail/mailman'

Put ath alias in all the users that need access to this in thier ~/.cshrc
file so it automatic makes the alias when they login.

Make sure to make /var/spool/mail/mailman group read/writeable

Make sure your email client is configure with the proper return address,
and sends it to your isp mail server and it should work fine.

One problem I see is if you make the script to download email, group
executeable, and someone else from the ispmail group runs the script it
will not store the mail file in /var/spool/mail/mailman but in there mail
file, and it would break alot of things.  So in this setup the script
would have to be run as mailman, unless this setup was config in a
differant way.  Have mailman make a crontab that runs this script whenever
you need to check it, is the only work around I could see, or login as
mailman and run it really quick like.


Make sure you run this by your local guru to make sure everything is on 
the up and up.  I'm not sure if this would be the best way to do something
like this.  It is also a security risk, make sure you trust everyone in
the ispmail group, other than that it will work with some tweaking.

Hope that helps

Reply via email to