Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117976978
D4674.1775516826.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
882 B
Referenced Files
None
Subscribers
None
D4674.1775516826.diff
View Options
diff --git a/src/app/Http/Controllers/API/V4/PolicyController.php b/src/app/Http/Controllers/API/V4/PolicyController.php
--- a/src/app/Http/Controllers/API/V4/PolicyController.php
+++ b/src/app/Http/Controllers/API/V4/PolicyController.php
@@ -350,7 +350,10 @@
if ($fail) {
// TODO: check the recipient's policy, such as using barracuda for anti-spam and anti-virus as a relay for
// inbound mail to a local recipient address.
- $objects = \App\Utils::findObjectsByRecipientAddress($data['recipient']);
+ $objects = null;
+ if (array_key_exists('recipient', $data)) {
+ $objects = \App\Utils::findObjectsByRecipientAddress($data['recipient']);
+ }
if (!empty($objects)) {
// check if any of the recipient objects have whitelisted the helo, first one wins.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 11:07 PM (5 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18839971
Default Alt Text
D4674.1775516826.diff (882 B)
Attached To
Mode
D4674: According to the logs this can be missing
Attached
Detach File
Event Timeline