Link to home
Start Free TrialLog in
Avatar of Chris S
Chris SFlag for India

asked on

3 questions

1. HOw to add virtual pop3 accounts  or mail boxes
(ie)
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


chris..
Avatar of Reinier
Reinier

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...
Avatar of Chris S

ASKER

can you please be more specific
2. to change user password within a batch script you would like to use 'chpasswd'
ASKER CERTIFIED SOLUTION
Avatar of marko020397
marko020397

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial