Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
PHPMailer error when applying new WAN rule
« previous
next »
Print
Pages: [
1
]
Author
Topic: PHPMailer error when applying new WAN rule (Read 852 times)
Fowlerj
Newbie
Posts: 8
Karma: 1
PHPMailer error when applying new WAN rule
«
on:
November 08, 2022, 05:53:03 pm »
Running 22.7.7_1. Everything is up to date.
Tried to add a new WAN rule to block a single LAN IP. Nothing fancy. The rule is recorded. When I try to apply the rule I get: Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in /usr/local/share/phpmailer/PHPMailerAutoload.php on line 45
I'm not even sure how phpmailer would interact with a WAN rule.
Any ideas on how to resolve this?
Thank you.
Logged
Fowlerj
Newbie
Posts: 8
Karma: 1
Re: PHPMailer error when applying new WAN rule
«
Reply #1 on:
November 08, 2022, 07:32:57 pm »
Ok. The package causing the problem was : os-mail-backup.
Apparently it is using phpmailer-5.2.28, which is too outdated to work.
Thank you to all who read the topic.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: PHPMailer error when applying new WAN rule
«
Reply #2 on:
November 09, 2022, 09:43:16 am »
Unfortunately os-mail-backup was discontinued for security reasons, but the plugin and dependencies tend to stick around in these cases... happy you could solve it.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
PHPMailer error when applying new WAN rule