Better HN
topnewbestaskshowjobs
Log inSign up

zhb

11 karma · joined Jul 28, 2013 (13y ago) · 8 submissions

Submissions

comment 3y ago · link · parent

hmm, iRedMail author (Zhang Huangbin) here. :)

comment 3y ago · link · parent

iRedMail author here (Zhang Huangbin).

It's quite reasonable that vendors don't support BSD due to the input-output ratio.

Maybe there're many BSD servers, but not many BSD EMAIL servers compared to Linux.

Take some real numbers of some iRedMail release, when it's been deployed on 22832 linux servers[1], only 300 BSD servers[2] deployed.

[1] Including Ubuntu 20.04 + 22.04, Debian 10 + 11, RHEL/CentOS/Rocky/Alma 8 + 9.

[2] Including FreeBSD + OpenBSD.

comment 5y ago · link · parent

Yes i'm author of iRedMail project. :)

comment 5y ago · link · parent

You can disable spam/virus scanning by following this tutorial: https://docs.iredmail.org/completely.disable.amavisd.clamav....

comment 5y ago · link · parent

Working on a new project and part of it is web development, we're moving forward with some pain.

We use Fiber (https://gofiber.io) as web framework and Pongo2 (https://github.com/flosch/pongo2) as template engine. The Go/Fiber parts are ok, the pain is template engine.

- Pongo2 syntax is like Django/Jinja2, but not as easy as Jinja2. I use Python+Jinja2 for years in production, it's so easy to use and troubleshoot.

- No builtin i18n support. You can find some blog posts or articles introduce pongo2, but no one mentions i18n support/implementation like no one need it. We implemented our own i18n support, but still need a tool to extract strings from template files for translation.

- The macro syntax doesn't support specifying argument names while calling. e.g. `{{ my_macro("a", "b", "c") }}` is ok, but not `{{ my_macro(name1="a", name2="b", name3="c") }}`. It's hard to organize reusable HTML/CSS code snippets.

- Sometimes the custom macro is correct (syntax part), but it renders nothing in output html, but if i add the same pongo2 code in its own unittests files, it works. Didn't find a way to troubleshoot, no clue at all what the problem is.

Anyway, Go itself and the web framework are very good for web development now, just miss a Jinja2 for Go.

comment 13y ago · link · parent

Will try it later, but no promise. We will try to use all packages provided by upstream.

comment 13y ago · link · parent

I don't understand why removed my reply. I really am author of iRedMail project.

I saw this post, then registered an account to say something (I forgot my old account coz I read HN with RSS, not web).

comment 13y ago · link · parent

Interesting. I'm author of iRedMail project (Zhang Huangbin), and i'm a HN fan. :)

* iRedMail is a free, open source, mature, high quality mail server solution.

* It's under active development.

* We listen to our users, and respond quickly in our online support forum: http://www.iredmail.org/forum/

Yes, it does make our customers satisfied.