Maia on Postgresql issues
Eric McCorkle <[email protected]>
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone, I recently set up maia with postgresql as the underlying database. It works more or less ok, but I ran into a few issues along the way. First, the maia UI would display email addresses and some text fields as '\x<hex-encoded stuff>'. After googling a bit, I discovered that you apparently need to un-escape bytea fields in postgresql in order to get legible text. After I edited the .php files to add the unescapes, it worked well enough. So this is fixed on my setup, but it probably ought to get re-integrated into the main development branch. The second issue, which I still haven't resolved, seems to be related. The logs show that database inserts are failing for some emails (namely, in the maia_store_mail function), due to invalid syntax of bytea values. I suspect this can be fixed by inserting the proper escaping code, but I lack the perl experience to do it effectively. Lastly, it looks like something's not working if a mail is classified as spam. I've had a couple of obvious spams come through that seem to get passed on through without being flagged at all. However, when I run spamassassin on them myself, they score quite high. I'm not sure if this is related to the second issue. Best, Eric _______________________________________________ Maia-users mailing list [email protected] http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVk8haAAoJEEGB2s+NNG0FPv4P/jOajz9oI8UpdUlVrarTr2kA ioJF2SQxa5xMuLKWEutBhe+hT5rwLCVfHk3sq0ywonwCMY3M9L4dkvom0aF3d+Af XhNy67AVDIO0iS+uZOgXolXN73McQjqqUIDVDDmPF4MzHFB5VVDPG12Az+qI0h81 0DRcHuasWhpso7Vo+iwxnFe8FRXLkYCJafBr7L+v865Om4ps0cazluSbKkcSbyFa Yyq52LL4Upq2dzQwil/EaEDnh/kpstqbtSvuttQab/+SHX083WAhwV2zEeMauHeL +nsXFQZS0i3lrY0zDWKwsYMMJbaD2SgDF+UDCM+54GbtM3BD7zbfOclJ594jgNN5 mdN/w5rlOwGUZgoNdwVSS2ORV34xf+R+EGmewFx/GEIjXh08cVZa6T/iixJRwJTc jB4Gz+McS4ZrCj0/qnmBkeKPq8v0z5H4iJtosFf7idN2EmObgEUtTUDGJQeAnB2o iA59mMt4Ogd7aN+Hg/65g7DsDPvx42E8B2eY5MeZNRSi3dcbxd+dXAileJB3Dzxb fWvwW5HVkYVy3tBCALKwGDlmP0yxFGtG9We+kQ/T8h+2TSY/dD6RLvto44QKPBxc Gan0mB8DQWcDwvXvasistfBeM0gXxCgBs1rh6KjgPyAAIl93R8hkla9X4Aq3wCin WElWuXHHfC2Tbp30mEdk =8hFm -----END PGP SIGNATURE-----