• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

create mail addresses htrough php

D

dzaal

Guest
was wondering if anyone has experience in creating software which allows users to create mail addresses (redirects) on a website automaticly.

sure it possible using some mysql db commands, but how to make it compatible with plesk?

using freebsd plesk 7.5 reloaded

thanx in advance
 
There used to be Creation Utilities that came along with PSA to do that sort of stuff. These might be part of the SDK now.
 
Try:

/usr/local/psa/bin/mail.sh --help

That'll show you all the options for mail.sh ... you can then link a PHP script to that to process this for you.
 
Cracky,
That doesn't work from php for security resons,
on a server that is setup for multiple users with php in savemode.

If that would work then you login into your
ftpaccount make php script and it is possible
forexample to delete a mailbox from
somebody's else account that should be very bad
security.
 
But, not if you are the only one with sites hosted. If you are the only one, why not bump down the security a bit?
 
Back
Top