[BlueOnyx:25783] Re: 5211R: errors in postfix, gui and mboxfix.pl
Michael Stauber
mstauber at blueonyx.it
Tue Dec 6 16:37:40 -05 2022
Hi Juerg,
> 1. Postfix
> I have problems sending mails to my vm, because some alias files does
> not exists:
>
> /etc/mail/aliases -> no db file
> /etc/mailman/aliases -> no file (folder does not exists)
> /etc/mailman/virtual-mailman -> no file (folder does not exists)
Yeah, that shouldn't be the case as Mailman is absent on 5211R. I'll
check the configs and installation script in a moment to see if Postfix
still has some Mailman artifacts in it.
As for /etc/mail/aliases? It sounds like the installer didn't run this
script:
/usr/sausalito/scripts/initSendmail.sh
Please run it manually it should fix the /etc/mail/aliase issue.
> On a clean install, /etc/mailman directory does not exists.
> /usr/sausalito/bin/blueonyx-postfix-confgen (I don't know when this
> script is executed)
This is executed when you restart Postfix via Systemd. It's one of the
PreExecute scripts of the Postfix Systemd Unit-file on BlueOnyx.
I'll publish a fix for that issue in a moment.
> 2. GUI TCP Settings
> When I try to save the TCP Settings in the GUI (System Settings - TCP
> IP) I get an internal server error:
>
> CRITICAL - 2022-12-06 20:04:00 --> Call to undefined function read_file()
> in APPPATH/Libraries/CceClient.php on line 275.
> 1 ROOTPATH/Modules/Base/Network/Controllers/Ethernet.php(180):
> CceClient->record('1', '/usr/sausalito/ui/web', [...])
> 2 SYSTEMPATH/CodeIgniter.php(927): Network\Controllers\Ethernet->index()
> 3 SYSTEMPATH/CodeIgniter.php(482):
> CodeIgniter\CodeIgniter->runController(Object(Network\Controllers\Ethernet))
> 4 SYSTEMPATH/CodeIgniter.php(351):
> CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
> 5 FCPATH/index.php(68): CodeIgniter\CodeIgniter->run()
Daaaang. That's ugly. I'll get at it right away.
> 3. /etc/cron.daily/mboxfix.pl
> This bug also occurs in 5210R. Because the script don't have often to
> change the permissions, this bug is not a big problem and I have never
> reported it, but maybe you want to fix it. In the path, the username is
> on the 6th position:
> /home/.sites/site1/home/users/bluetest9a/mbox
> so
> system("/bin/chown $owner_list[7] $user_mbox");
> has to be changed to
> system("/bin/chown $owner_list[6] $user_mbox");
Many thanks again! This is most helpful!
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list