Umut asked where a contact form's mail is sent from: it was the recipient address, `From` equal to `To`. That breaks as soon as the recipient is a mailbox at another provider, because most hosts only deliver mail that claims an address of their own domain, and the provider's SPF/DMARC then treats it as forged. Each form now has an optional `sender` setting, validated like the recipient; empty keeps the old behaviour, so stored forms need no migration. Delivery uses `sender ?: recipient`; the reply-to field is untouched. The administration shows the field under the recipient with a note on why it matters. The pilot launch config moves to port 8091 because 8087 was held by another session. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
64 lines
2.5 KiB
JSON
64 lines
2.5 KiB
JSON
{
|
|
"version": "0.0.1",
|
|
"configurations": [
|
|
{
|
|
"name": "kantsites",
|
|
"runtimeExecutable": "php",
|
|
"runtimeArgs": [
|
|
"-d",
|
|
"upload_max_filesize=8M",
|
|
"-d",
|
|
"post_max_size=10M",
|
|
"-d",
|
|
"memory_limit=256M",
|
|
"-S",
|
|
"127.0.0.1:8080",
|
|
"-t",
|
|
"public",
|
|
"bin/dev-router.php"
|
|
],
|
|
"port": 8080
|
|
},
|
|
{
|
|
"name": "kantsites-pilot",
|
|
"runtimeExecutable": "powershell",
|
|
"runtimeArgs": [
|
|
"-NoProfile",
|
|
"-Command",
|
|
"$env:APP_ENV='dev'; $env:DATABASE_URL='sqlite:///C:/Django Project/KantSites/var/browser-tests/pilot-1d19ca1bb9ca/pilot.db'; $env:MEDIA_DIRECTORY='C:/Django Project/KantSites/var/kantit-media'; & C:/php84/php.exe -d upload_max_filesize=8M -d post_max_size=10M -d memory_limit=256M -S 127.0.0.1:8091 -t public bin/dev-router.php"
|
|
],
|
|
"port": 8091
|
|
},
|
|
{
|
|
"name": "elektro-bernhard",
|
|
"runtimeExecutable": "powershell",
|
|
"runtimeArgs": [
|
|
"-NoProfile",
|
|
"-Command",
|
|
"$env:APP_ENV='dev'; $env:DATABASE_URL='sqlite:///C:/Django Project/KantSites/var/elektro-bernhard.db'; $env:MEDIA_DIRECTORY='C:/Django Project/KantSites/var/elektro-bernhard-media'; $env:SITE_ORIGIN='http://127.0.0.1:8088'; & php -d upload_max_filesize=8M -d post_max_size=10M -d memory_limit=256M -S 127.0.0.1:8088 -t public bin/dev-router.php"
|
|
],
|
|
"port": 8088
|
|
},
|
|
{
|
|
"name": "tagespflege-moldovan",
|
|
"runtimeExecutable": "powershell",
|
|
"runtimeArgs": [
|
|
"-NoProfile",
|
|
"-Command",
|
|
"$env:APP_ENV='dev'; $env:DATABASE_URL='sqlite:///C:/Django Project/KantSites/var/tagespflege-moldovan.db'; $env:MEDIA_DIRECTORY='C:/Django Project/KantSites/var/tagespflege-moldovan-media'; $env:SITE_ORIGIN='http://127.0.0.1:8089'; & C:/php84/php.exe -d upload_max_filesize=8M -d post_max_size=10M -d memory_limit=256M -S 127.0.0.1:8089 -t public bin/dev-router.php"
|
|
],
|
|
"port": 8089
|
|
},
|
|
{
|
|
"name": "kantit",
|
|
"runtimeExecutable": "powershell",
|
|
"runtimeArgs": [
|
|
"-NoProfile",
|
|
"-Command",
|
|
"$env:APP_ENV='dev'; $env:DATABASE_URL='sqlite:///C:/Django Project/KantSites/var/kantit.db'; $env:MEDIA_DIRECTORY='C:/Django Project/KantSites/var/kantit-media'; $env:SITE_ORIGIN='http://127.0.0.1:8130'; & C:/php84/php.exe -d upload_max_filesize=8M -d post_max_size=10M -d memory_limit=256M -S 127.0.0.1:8130 -t public bin/dev-router.php"
|
|
],
|
|
"port": 8130
|
|
}
|
|
]
|
|
}
|