Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
You are touching a very broad domain here...
What OS is running your server ?
If it's linux/bsd:
What program is used as SMTP server ?
postfix, qmail, sendmail... ?
Do you use LDAP ?
Do you use a virtual user table map, and stored into a db or a file ?
Do you use physical system accounts ?
Do you use aliases ?
What program is used as POP/IMAP server ?
VpopMail, cyrus, dovecot, uw-imap, tpop3d ... ?
It's really way more complicated than you might think, and you probably want to speak with the guy handling your mail server configuration to know what is used and how it's configured before doing anything in PHP.
Just for your information, I needed 2 full days to configure my mail server the way I wanted it; with postfix and dovecot with spam/antivirus checking, imap ssl access and SMTP sending on SSL with authentification.
I setted up an LDAP directory (I needed 2 days too to set up this, but could not make it work with a self signed certificate), but had not the courage to go again through all the configuration of the server to make it use LDAP accounts.
I now use several deactivated shell account, with a series of alias to them.
__________________
Only a biker knows why a dog sticks his head out the window.
|