- Notifications
You must be signed in to change notification settings - Fork0
A simple PHP wrapper for OpenBSD smtpd service to use in your web apps - PHP: <=8.1, GPL
License
NotificationsYou must be signed in to change notification settings
par7133/PHPBSDRelay
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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:
- Create the user _PHPBSDRelay by running the script Private/shell/create_user.sh
- Configure your PHPBSDRelay web app appropriately to use PHP-FPM
- 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=<your_hash>&bsdto=posta@elettronica.lol&bsdsu=hello&bsdbo=Hello%20from%20Github!
About
A simple PHP wrapper for OpenBSD smtpd service to use in your web apps - PHP: <=8.1, GPL