Re: Alpha release of Maia Mailguard 1.0.5

Travis Mikalson <[email protected]> Wed, 24 Sep 2025 07:09:59 -0400
Newsgroups gmane.mail.virus.maiamailguard
Organization TerraNovaNet Internet Services
Message-ID <[email protected]>
Hi,

I hope this helps.

I always change these options from default btw: I check APACHE, uncheck 
MYSQL, check PGSQL, check POSTFIX, check WEBHOST.

To test your port, I zfs snapshot rollback'ed to a clean new environment 
with nothing but FreeBSD 14.3-p3 make installworld'ed, pkg bootstrapped 
and git installed. I always keep a freshly up to the minute git pull'ed 
/usr/ports of course and the latest version (fb1459c) of your 
maia-mailguard port cp -R'ed in place to /usr/ports/security.

I can roll back and do this test as much as we want until my SSD wears 
out :)

I make install'ed your latest port, maiad has a working shebang, that's 
good! And config dist/templates are in right place for maiad.

But, your dependencies now aren't working very well. It barely installed 
anything this time around and I don't have a functional maiad. Nor did 
it install apache or php (or smarty etc.) despite WEBHOST being set true.

A symptom of a ton of dependencies not triggering, maiad doesn't have 
enough p5 stuff to run this go 'round:
# /usr/local/etc/rc.d/maiad onestart
Problem in Amavis::DB or Amavis::DB::SNMP code: Can't locate 
BerkeleyDB.pm in @INC (you may need to install the BerkeleyDB module) 
(@INC entries checked: /usr/local/lib/perl5/site_perl/mach/5.42 
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.42/mach 
/usr/local/lib/perl5/5.42) at (eval 130) line 11.
BEGIN failed--compilation aborted at (eval 130) line 11.


On 9/23/2025 15:47, Janky Jay, III wrote:
> Hello,
> 
> On 9/23/25 10:39AM, Janky Jay, III wrote:
>> On September 23, 2025 12:34:23 PM UTC, Travis Mikalson 
>> <[email protected]> wrote:
>>
>>     Yes, there was an update, retrieved. make and make install succeed
>>     now for maiad using WEBHOST=false so I was able to get a maiad. I
>>     was using port defaults (WEBHOST option not enabled) so I wouldn't
>>     get the web interface parts initially. Adding WEBHOST=true, we now
>>     have php83 stuff installing, and smarty3-php83 installed as well,
>>     so I'll have to configure a working webserver with php to continue
>>     with testing. We have the port working to install everything now.
>>     Another showstopper, though: Our /usr/local/sbin/maiad is broken,
>>     it needs one minor patch for FreeBSD:
>>     root@maiatest1:/usr/ports/security/maia-mailguard #
>>     /usr/local/sbin/maiad env: perl -T: No such file or directory
>>     root@maiatest1:/usr/ports/security/maia-mailguard # head -1
>>     /usr/local/sbin/maiad #!/usr/bin/env perl -T If I change the
>>     shebang to #!/usr/local/bin/perl -T it works fine the whole way
>>     (daemon runs and listens, loads perl database module, logs things,
>>     etc) so the port will need to patch that for FreeBSD. I honestly
>>     don't know why env doesn't work as we expect when used as a
>>     shebang in FreeBSD, it's odd. -T
>>
>> Ah, yes. These are remnants of the old port. I'll get these shebangs 
>> fixed today (and check the others as well). Thanks!
> 
> This should all be patched up now. Repo updated. Let me know if you run 
> into any additional issues.
_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users