Re: CentOS
jjs - mainphrame <[email protected]>
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <CABkzw7wy_USNLGY88+2p+s1ukhxSV9pg=1pWymJfAimDApMCjA@mail.gmail.com> |
Thank you, that is useful information. I'll see if I can build a working config with exim. Jake On Thu, Apr 9, 2020 at 3:22 PM David Byte <[email protected]> wrote: > I’ve got an exim config for you. > > I’ve just brought the parts salient to using Maia here. > > Start by verifying with routers that do nothing but verify alias, mailing > lists, etc. > Next pass the mail to a router that can send it to the Maia server > > check_system_aliases: > driver = redirect > allow_fail > allow_defer > data = ${lookup{$local_part}lsearch{/etc/aliases}} > verify_only > pass_router = amavis > > > And here is the amavis router > amavis: > # Do NOT run if received via 10025/tcp or if already spam-scanned > # or if bounce message ($sender_address="") > condition = "${if or {{eq {$interface_port}{10025}} \ > {eq {$received_protocol}{spam-scanned}}\ > {eq {$received_protocol}{local}}\ > {eq {$sender_address}{}} \ > }{0}{1} }" > transport = amavis > route_list = "* mailguard.myhost.net byname" > self = send > > > And this in my transport definition > amavis: > driver = smtp > port = 10024 > > > I hope this helps > > On Apr 9, 2020, at 4:54 PM, jjs - mainphrame <[email protected]> wrote: > > Manny, > > I'd love to see your exim configuration, for future reference. I've always > used postfix, but it would be nice to know of a working exim configuration, > since more choice is good for all of us. > > Jake > > On Thu, Apr 9, 2020 at 8:35 AM Manny Marinho <[email protected]> > wrote: > >> Hi Jake thanks for the reply. I was able to fix that problem, it >> appears it was a permissions issue. I ran "maiad debug" and saw this >> error: >> >> Apr 8 19:52:59 mydomain.com ./maiad[18270]: TROUBLE in pre_loop_hook: >> TEMPBASE directory is not writable: /var/lib/maia/tmp at ./maiad line >> 8491. >> >> Suicide () TROUBLE in pre_loop_hook: TEMPBASE directory is not >> writable: /var/lib/maia/tmp at ./maiad line 8491. >> >> The daemon now starts and runs normally under CentOS 6 and PHP 7.2. I >> am having another issue however. My configtest.pl tests fine and so >> does the web configtest.php. I'm using your supplied Smarty version. I >> created a new maia DB using your manual steps below which produced one >> error however I don't believe this is significant or the root cause of >> my problem, >> >> [root@host # mysqladmin create maia >> >> [root@host # mysql maia < maia-mysql.sql >> >> ERROR 1366 (22007) at line 716: Incorrect string value: '\xC2\x9Atina' >> for column `maia`.`maia_languages`.`language_name` at row 1 >> >> I also ran the below afterwards since I use amavis as my maia user, >> >> [root]# mysql -u root -p password >> >> mysql> GRANT CREATE, DROP, ALTER, SELECT, INSERT, UPDATE, DELETE ON >> maia.* TO amavis@localhost IDENTIFIED BY 'mypassword'; >> >> My problem now is I can't run internal-init.php or >> login.php?super=register as both produce the error: >> >> Error with themes: theme not found or permissions problem. >> >> The maia error log shows some generic errors which I don't believe are >> causing any issue. >> >> [09-Apr-2020 08:28:19 America/Los_Angeles] PHP Deprecated: Methods >> with the same name as their class will not be constructors in a future >> version of PHP; ThemeSmarty has a deprecated constructor in >> /home/folder/public_html/maia/smarty.php on line 85 >> [09-Apr-2020 08:28:19 America/Los_Angeles] PHP Deprecated: Methods >> with the same name as their class will not be constructors in a future >> version of PHP; Smarty has a deprecated constructor in >> /usr/local/lib/php/Smarty2/Smarty.class.php on line 64 >> >> All my web facing files sit in /home/folder/public_html/maia/ instead >> of /var/www/html/maia/ this is very similar to an old maia setup I >> used to have running in the past. >> >> >> -Manny >> >> On Wed, Apr 8, 2020 at 11:11 PM <[email protected]> >> wrote: >> > >> > Send Maia-users mailing list submissions to >> > [email protected] >> > >> > To subscribe or unsubscribe via the World Wide Web, visit >> > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > or, via email, send a message with subject or body 'help' to >> > [email protected] >> > >> > You can reach the person managing the list at >> > [email protected] >> > >> > When replying, please edit your Subject line so it is more specific >> > than "Re: Contents of Maia-users digest..." >> > >> > >> > Today's Topics: >> > >> > 1. CentOS 6 (Manny Marinho) >> > 2. Re: CentOS 6 (jjs - mainphrame) >> > 3. Re: CentOS 6 (Ed) >> > 4. Re: CentOS 6 (Lawrence Mulder) >> > >> > >> > ---------------------------------------------------------------------- >> > >> > Message: 1 >> > Date: Wed, 8 Apr 2020 18:21:38 -0400 >> > From: Manny Marinho <[email protected]> >> > To: [email protected] >> > Subject: [Maia-users] CentOS 6 >> > Message-ID: <E3A2C447-0C18-41B5-B670-EEDE3182B00C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> > Content-Type: text/plain; charset=utf-8 >> > >> > I know it’s end of life but has anybody gotten this to work with CentOS >> 6? I’ve tried to use the installer for CentOS 7 which appears to work for >> the most part although my MTA is exim and I’m familiar with the exim config >> part from using the original maia version. Seems the issue that I’m seeing >> is the maia daemon won’t start or nothing happens when you try to run it >> manually. >> > >> > -Manny >> > >> > > On Apr 8, 2020, at 3:00 PM, [email protected] wrote: >> > > >> > > Send Maia-users mailing list submissions to >> > > [email protected] >> > > >> > > To subscribe or unsubscribe via the World Wide Web, visit >> > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > or, via email, send a message with subject or body 'help' to >> > > [email protected] >> > > >> > > You can reach the person managing the list at >> > > [email protected] >> > > >> > > When replying, please edit your Subject line so it is more specific >> > > than "Re: Contents of Maia-users digest..." >> > > >> > > >> > > Today's Topics: >> > > >> > > 1. maia on suse leap 15.1 (jjs - mainphrame) >> > > >> > > >> > > ---------------------------------------------------------------------- >> > > >> > > Message: 1 >> > > Date: Tue, 7 Apr 2020 21:35:12 -0700 >> > > From: jjs - mainphrame <[email protected]> >> > > To: [email protected] >> > > Subject: [Maia-users] maia on suse leap 15.1 >> > > Message-ID: >> > > <CABkzw7wTuPkJ77uanv69q9CZTEiiDffPv8zatfN= >> [email protected]> >> > > Content-Type: text/plain; charset="utf-8" >> > > >> > > Hi folks, >> > > >> > > My goal today was to achieve a working maia install on suse leap 15.1 >> > > >> > > It comes as no surprise that the perl parts all work perfectly and >> > > configtest.pl is fine. >> > > >> > > But I'm seeing weird errors with php and pear. The pear modules are >> > > installed, pear list shows them, but configtest.php can't find them. >> > > >> > > I'll keep chipping away at it, but thought I'd check to see if anyone >> on >> > > the list has had any luck with maia on suse leap and php 7.x, or any >> words >> > > of wisdom on that score - >> > > >> > > Cheers, >> > > >> > > Jake >> > > -------------- next part -------------- >> > > An HTML attachment was scrubbed... >> > > URL: < >> http://www.renaissoft.com/pipermail/maia-users/attachments/20200407/40e3a392/attachment-0001.html >> > >> > > >> > > ------------------------------ >> > > >> > > Subject: Digest Footer >> > > >> > > _______________________________________________ >> > > Maia-users mailing list >> > > [email protected] >> > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > >> > > >> > > ------------------------------ >> > > >> > > End of Maia-users Digest, Vol 171, Issue 2 >> > > ****************************************** >> > >> > >> > ------------------------------ >> > >> > Message: 2 >> > Date: Wed, 8 Apr 2020 16:29:52 -0700 >> > From: jjs - mainphrame <[email protected]> >> > To: Manny Marinho <[email protected]> >> > Cc: [email protected] >> > Subject: Re: [Maia-users] CentOS 6 >> > Message-ID: >> > <CABkzw7xVWngB0zT7JAR5LQ2rd+bYxfGHSYNU5C1rWazHoXX= >> [email protected]> >> > Content-Type: text/plain; charset="utf-8" >> > >> > Does configtest.pl work? When you start maiad by hand, are there any >> > errors? I think I've run maia on centos 6 in the past. >> > >> > Jake >> > >> > On Wed, Apr 8, 2020 at 4:25 PM Manny Marinho <[email protected]> >> > wrote: >> > >> > > I know it’s end of life but has anybody gotten this to work with >> CentOS 6? >> > > I’ve tried to use the installer for CentOS 7 which appears to work >> for the >> > > most part although my MTA is exim and I’m familiar with the exim >> config >> > > part from using the original maia version. Seems the issue that I’m >> seeing >> > > is the maia daemon won’t start or nothing happens when you try to run >> it >> > > manually. >> > > >> > > -Manny >> > > >> > > > On Apr 8, 2020, at 3:00 PM, [email protected] >> wrote: >> > > > >> > > > Send Maia-users mailing list submissions to >> > > > [email protected] >> > > > >> > > > To subscribe or unsubscribe via the World Wide Web, visit >> > > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > > or, via email, send a message with subject or body 'help' to >> > > > [email protected] >> > > > >> > > > You can reach the person managing the list at >> > > > [email protected] >> > > > >> > > > When replying, please edit your Subject line so it is more specific >> > > > than "Re: Contents of Maia-users digest..." >> > > > >> > > > >> > > > Today's Topics: >> > > > >> > > > 1. maia on suse leap 15.1 (jjs - mainphrame) >> > > > >> > > > >> > > > >> ---------------------------------------------------------------------- >> > > > >> > > > Message: 1 >> > > > Date: Tue, 7 Apr 2020 21:35:12 -0700 >> > > > From: jjs - mainphrame <[email protected]> >> > > > To: [email protected] >> > > > Subject: [Maia-users] maia on suse leap 15.1 >> > > > Message-ID: >> > > > <CABkzw7wTuPkJ77uanv69q9CZTEiiDffPv8zatfN= >> [email protected]> >> > > > Content-Type: text/plain; charset="utf-8" >> > > > >> > > > Hi folks, >> > > > >> > > > My goal today was to achieve a working maia install on suse leap >> 15.1 >> > > > >> > > > It comes as no surprise that the perl parts all work perfectly and >> > > > configtest.pl is fine. >> > > > >> > > > But I'm seeing weird errors with php and pear. The pear modules are >> > > > installed, pear list shows them, but configtest.php can't find them. >> > > > >> > > > I'll keep chipping away at it, but thought I'd check to see if >> anyone on >> > > > the list has had any luck with maia on suse leap and php 7.x, or any >> > > words >> > > > of wisdom on that score - >> > > > >> > > > Cheers, >> > > > >> > > > Jake >> > > > -------------- next part -------------- >> > > > An HTML attachment was scrubbed... >> > > > URL: < >> > > >> http://www.renaissoft.com/pipermail/maia-users/attachments/20200407/40e3a392/attachment-0001.html >> > > > >> > > > >> > > > ------------------------------ >> > > > >> > > > Subject: Digest Footer >> > > > >> > > > _______________________________________________ >> > > > Maia-users mailing list >> > > > [email protected] >> > > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > > >> > > > >> > > > ------------------------------ >> > > > >> > > > End of Maia-users Digest, Vol 171, Issue 2 >> > > > ****************************************** >> > > _______________________________________________ >> > > Maia-users mailing list >> > > [email protected] >> > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > >> > -------------- next part -------------- >> > An HTML attachment was scrubbed... >> > URL: < >> http://www.renaissoft.com/pipermail/maia-users/attachments/20200408/615d172d/attachment-0001.html >> > >> > >> > ------------------------------ >> > >> > Message: 3 >> > Date: Wed, 8 Apr 2020 23:07:42 -0400 >> > From: Ed <ed-9FOcALY/[email protected]> >> > To: [email protected] >> > Subject: Re: [Maia-users] CentOS 6 >> > Message-ID: <e296fe44-de83-5e2c-3e78-6ca3dc6d6d62-9FOcALY/[email protected]> >> > Content-Type: text/plain; charset=utf-8; format=flowed >> > >> > I've been running maia on centos6 for years and it works just fine. >> > >> > --Ed >> > >> > On 4/8/20 7:29 PM, jjs - mainphrame wrote: >> > > Does configtest.pl <http://configtest.pl> work? When you start maiad >> by >> > > hand, are there any errors? I think I've run maia on centos 6 in the >> past. >> > > >> > > Jake >> > > >> > > On Wed, Apr 8, 2020 at 4:25 PM Manny Marinho <[email protected] >> > > <mailto:[email protected]>> wrote: >> > > >> > > I know it’s end of life but has anybody gotten this to work with >> > > CentOS 6? I’ve tried to use the installer for CentOS 7 which >> appears >> > > to work for the most part although my MTA is exim and I’m familiar >> > > with the exim config part from using the original maia version. >> > > Seems the issue that I’m seeing is the maia daemon won’t start or >> > > nothing happens when you try to run it manually. >> > > >> > > -Manny >> > > >> > > > On Apr 8, 2020, at 3:00 PM, [email protected] >> > > <mailto:[email protected]> wrote: >> > > > >> > > > Send Maia-users mailing list submissions to >> > > > [email protected] <mailto:[email protected]> >> > > > >> > > > To subscribe or unsubscribe via the World Wide Web, visit >> > > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > > or, via email, send a message with subject or body 'help' to >> > > > [email protected] >> > > <mailto:[email protected]> >> > > > >> > > > You can reach the person managing the list at >> > > > [email protected] >> > > <mailto:[email protected]> >> > > > >> > > > When replying, please edit your Subject line so it is more >> specific >> > > > than "Re: Contents of Maia-users digest..." >> > > > >> > > > >> > > > Today's Topics: >> > > > >> > > > 1. maia on suse leap 15.1 (jjs - mainphrame) >> > > > >> > > > >> > > > >> > > >> ---------------------------------------------------------------------- >> > > > >> > > > Message: 1 >> > > > Date: Tue, 7 Apr 2020 21:35:12 -0700 >> > > > From: jjs - mainphrame <[email protected] >> > > <mailto:[email protected]>> >> > > > To: [email protected] <mailto: >> [email protected]> >> > > > Subject: [Maia-users] maia on suse leap 15.1 >> > > > Message-ID: >> > > > >> > > <CABkzw7wTuPkJ77uanv69q9CZTEiiDffPv8zatfN= >> [email protected] >> > > <mailto:[email protected]>> >> > > > Content-Type: text/plain; charset="utf-8" >> > > > >> > > > Hi folks, >> > > > >> > > > My goal today was to achieve a working maia install on suse >> leap 15.1 >> > > > >> > > > It comes as no surprise that the perl parts all work perfectly >> and >> > > > configtest.pl <http://configtest.pl> is fine. >> > > > >> > > > But I'm seeing weird errors with php and pear. The pear >> modules are >> > > > installed, pear list shows them, but configtest.php can't find >> them. >> > > > >> > > > I'll keep chipping away at it, but thought I'd check to see if >> > > anyone on >> > > > the list has had any luck with maia on suse leap and php 7.x, >> or >> > > any words >> > > > of wisdom on that score - >> > > > >> > > > Cheers, >> > > > >> > > > Jake >> > > > -------------- next part -------------- >> > > > An HTML attachment was scrubbed... >> > > > URL: >> > > < >> http://www.renaissoft.com/pipermail/maia-users/attachments/20200407/40e3a392/attachment-0001.html >> > >> > > > >> > > > ------------------------------ >> > > > >> > > > Subject: Digest Footer >> > > > >> > > > _______________________________________________ >> > > > Maia-users mailing list >> > > > [email protected] <mailto:[email protected]> >> > > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > > >> > > > >> > > > ------------------------------ >> > > > >> > > > End of Maia-users Digest, Vol 171, Issue 2 >> > > > ****************************************** >> > > _______________________________________________ >> > > Maia-users mailing list >> > > [email protected] <mailto:[email protected]> >> > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > >> > > >> > > _______________________________________________ >> > > Maia-users mailing list >> > > [email protected] >> > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > >> > >> > >> > >> > ------------------------------ >> > >> > Message: 4 >> > Date: Thu, 9 Apr 2020 03:11:41 +0000 >> > From: Lawrence Mulder <lmulder-iL7gtBVyNKCGUxFv0Br65wC/[email protected]> >> > To: Ed <ed-9FOcALY/[email protected]>, Maia-users_renaissoft.com >> <http://maia-users_renaissoft.com> >> > <[email protected]> >> > Subject: Re: [Maia-users] CentOS 6 >> > Message-ID: <tbenk20b1iclu95a3oln4e0p.1586401899912-iL7gtBVyNKCGUxFv0Br65wC/[email protected]> >> > Content-Type: text/plain; charset="utf-8" >> > >> > Ed, >> > >> > I was going to say the same thing, but I use version 1.0.2c, I think? I >> assume he is trying to use the latest 1.0.4 stuff being talked about on >> this list recently, but I'm not sure, LOL. I have never tried the centos 7 >> / Debian latest maia on centos 6. >> > >> > Thanks, >> > -Larry >> > >> > >> > >> > From: ed-9FOcALY/[email protected] >> > Sent: April 8, 2020 10:07 PM >> > To: [email protected] >> > Subject: Re: [Maia-users] CentOS 6 >> > >> > I've been running maia on centos6 for years and it works just fine. >> > >> > --Ed >> > >> > On 4/8/20 7:29 PM, jjs - mainphrame wrote: >> > > Does configtest.pl <http://configtest.pl> work? When you start maiad >> by >> > > hand, are there any errors? I think I've run maia on centos 6 in the >> past. >> > > >> > > Jake >> > > >> > > On Wed, Apr 8, 2020 at 4:25 PM Manny Marinho <[email protected] >> > > <mailto:[email protected]>> wrote: >> > > >> > > I know it’s end of life but has anybody gotten this to work with >> > > CentOS 6? I’ve tried to use the installer for CentOS 7 which >> appears >> > > to work for the most part although my MTA is exim and I’m familiar >> > > with the exim config part from using the original maia version. >> > > Seems the issue that I’m seeing is the maia daemon won’t start or >> > > nothing happens when you try to run it manually. >> > > >> > > -Manny >> > > >> > > > On Apr 8, 2020, at 3:00 PM, [email protected] >> > > <mailto:[email protected]> wrote: >> > > > >> > > > Send Maia-users mailing list submissions to >> > > > [email protected] <mailto:[email protected]> >> > > > >> > > > To subscribe or unsubscribe via the World Wide Web, visit >> > > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > > or, via email, send a message with subject or body 'help' to >> > > > [email protected] >> > > <mailto:[email protected]> >> > > > >> > > > You can reach the person managing the list at >> > > > [email protected] >> > > <mailto:[email protected]> >> > > > >> > > > When replying, please edit your Subject line so it is more >> specific >> > > > than "Re: Contents of Maia-users digest..." >> > > > >> > > > >> > > > Today's Topics: >> > > > >> > > > 1. maia on suse leap 15.1 (jjs - mainphrame) >> > > > >> > > > >> > > > >> > > >> ---------------------------------------------------------------------- >> > > > >> > > > Message: 1 >> > > > Date: Tue, 7 Apr 2020 21:35:12 -0700 >> > > > From: jjs - mainphrame <[email protected] >> > > <mailto:[email protected]>> >> > > > To: [email protected] <mailto: >> [email protected]> >> > > > Subject: [Maia-users] maia on suse leap 15.1 >> > > > Message-ID: >> > > > >> > > <CABkzw7wTuPkJ77uanv69q9CZTEiiDffPv8zatfN= >> [email protected] >> > > <mailto:[email protected]>> >> > > > Content-Type: text/plain; charset="utf-8" >> > > > >> > > > Hi folks, >> > > > >> > > > My goal today was to achieve a working maia install on suse >> leap 15.1 >> > > > >> > > > It comes as no surprise that the perl parts all work perfectly >> and >> > > > configtest.pl <http://configtest.pl> is fine. >> > > > >> > > > But I'm seeing weird errors with php and pear. The pear >> modules are >> > > > installed, pear list shows them, but configtest.php can't find >> them. >> > > > >> > > > I'll keep chipping away at it, but thought I'd check to see if >> > > anyone on >> > > > the list has had any luck with maia on suse leap and php 7.x, >> or >> > > any words >> > > > of wisdom on that score - >> > > > >> > > > Cheers, >> > > > >> > > > Jake >> > > > -------------- next part -------------- >> > > > An HTML attachment was scrubbed... >> > > > URL: >> > > < >> http://www.renaissoft.com/pipermail/maia-users/attachments/20200407/40e3a392/attachment-0001.html >> > >> > > > >> > > > ------------------------------ >> > > > >> > > > Subject: Digest Footer >> > > > >> > > > _______________________________________________ >> > > > Maia-users mailing list >> > > > [email protected] <mailto:[email protected]> >> > > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > > >> > > > >> > > > ------------------------------ >> > > > >> > > > End of Maia-users Digest, Vol 171, Issue 2 >> > > > ****************************************** >> > > _______________________________________________ >> > > Maia-users mailing list >> > > [email protected] <mailto:[email protected]> >> > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > >> > > >> > > _______________________________________________ >> > > Maia-users mailing list >> > > [email protected] >> > > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > >> > >> > _______________________________________________ >> > Maia-users mailing list >> > [email protected] >> > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > -------------- next part -------------- >> > An HTML attachment was scrubbed... >> > URL: < >> http://www.renaissoft.com/pipermail/maia-users/attachments/20200409/16d3e7df/attachment.html >> > >> > >> > ------------------------------ >> > >> > Subject: Digest Footer >> > >> > _______________________________________________ >> > Maia-users mailing list >> > [email protected] >> > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > >> > >> > ------------------------------ >> > >> > End of Maia-users Digest, Vol 171, Issue 3 >> > ****************************************** >> _______________________________________________ >> Maia-users mailing list >> [email protected] >> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > _______________________________________________ > Maia-users mailing list > [email protected] > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users > > > _______________________________________________ Maia-users mailing list [email protected] http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users