A simple PHP wrapper for OpenBSD smtpd service to use in your web apps - PHP: <=8.1, GPL

Capitan Cloud 4e3963cd16 Update README.md 1 год назад
Private af1bdcc612 Add files via upload 1 год назад
Public 314c19ac0e Add files via upload 1 год назад
LICENSE d29ec24183 Initial commit 2 лет назад
README.md 4e3963cd16 Update README.md 1 год назад

README.md

PHPBSDRelay

Welcome to PHPBSDRelay

PHPSBDRelay is a simple PHP wrapper for OpenBSD smtpd service to use it as smtp relay for your web apps

To install the PHPBSDRelay proceed with the following steps:

  1. Create the user _PHPBSDRelay by running the script Private/shell/create_user.sh
  2. Configure your PHPBSDRelay web app appropriately to use PHP-FPM
  3. Use the sample Private/conf/PHPBSDRelay.conf for PHP-FPM at your discrection,
    adding it in /etc/php-fpm.d/ or any cons repo in your system

Attention:
>> Remember to change the logic by which you generate the variable $SALT in index.php <<

Consume it (from PHP) like that:

yourhostname.com/?bsdha=&bsdto=posta@elettronica.lol&bsdsu=hello&bsdbo=Hello%20from%20Github!