3 questions

1. HOw to add virtual pop3 accounts  or mail boxes
I dont want to create a new system user for each mail account?

2 . How to add system users using a script?

for eg If you use `passwd user` then the script  will expect user input .. and the script will stop so  how to overcome it ?

3 . How to find UNREAD messages from a users mailbox using PERL script

christopher sagayamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

3. The mails in the /var/spool/mail/some-user file contain a line "Status: O" when they are new and this changes to "Status: RO" when they are read.
2) You can use the newusers command.
1. you can use sendmail aliases (normally under /etc/aliases)

2. I used a C code to generate the encrypted password, and I call my C fuintion from almost eferywhere (I didn't use shadow when deploying this solution).

3. It depends on where the "mailbox" is... and the way your clients read their mail from the server...
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

christopher sagayamAuthor Commented:
can you please be more specific
2. to change user password within a batch script you would like to use 'chpasswd'
1. Use the program Cyrus IMAP.
2. Some others have answered this question.
3. unread mail is in /var/spool/mail/username. With Cyrus IMAP
    this directory changes I think, but I am sure you will bi able
    to find it.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.