I started again a new VM, that is fun ca-certificates is installed from base. I tested imap authentication, no luck
I tested to import with piler-import, it works, I can the imported email in the dashboard however I cannot search for email, does it work for you ?
Yes, it works. I’ve redeployed the whole stuff, and a few things to remember:
you need the ldap.conf fix (TLS_REQCERT never)
configure a transport for the archive, eg.
/etc/postfix/transport:
neth-archive.acts.hu smtp:127.0.0.1:2525
Also somehow this settings should be made permanent. You can configure a relay host, however it would be to configure the transport entries as well from the gui or to provide some cli option to make the above settings permanent.
To have the emails visible on the gui, you need to either wait for up to 30 mins, because the indexer runs only periodically. Or as user piler run /usr/libexec/piler/indexer.delta.sh.
I’ll try the imap auth as well. It works, however it requires
db dockrules set pilerimap aqua TCPPorts 993 status enabled
signal-event firewall-adjust
I used the following config in /etc/piler/config-site.php:
Anyway, I think we are getting closer to make it work. In the meantime I’ll fix the docker image to add the ldap.conf workaround to support self signed certs.
I suppose I needed a break…now it works, I can login with imap, if we want to be cross LDAP, maybe an imap authentication is something we could think (compatible with SAMBA AD and LDAP).
The index seems to work now, I can see email search with the auditor.
I did it differently, since I use the network aqua, I can use the default port of postfix (25), then I set a host declaration in the DNS panel of NethServer
Did you actually try sending an email with this setup? Because by default postfix occupies port 25 on 0.0.0.0, so piler needs to bind to another port (that’s why I picked 2525), however I cannot it in your config. Anyway, if it works, then it’s good.
you can login with default login admin@local:pilerrocks auditor@local:auditor or any valid imap account on the server
the web interface of piler is reachable at piler.DefaultDomainOfTheServer, https redirection if you use http, we use the default https certificate of the server
To send email to piler you have to enable a BCC to archive@piler.DefaultDomainOfTheServer for each domain
you have to wait 30 minute before to search with sphinx but in the dashboard you can see the email number incremented
the nethserver backup is taking in account (The three docker volumes)
We cannot use the template system to rewrite as is the piler configuration files, we have to wait that docker has written the config-php before to rewrite it with our configurations (I mean mainly for the imap authentication) so I created a systemd service to check it.
I have some question relative to
the certificate of piler I suppose it is done to encrypt the data
the /(.*)/ prepend X-Envelope-To: $1 not sure it is a mandatory
The last but not the least, how to integrate the previous received/sent email on the server, we have a specific folder on the server, the ownership is to vmail…thinking on it
relative to the importation of the former received email we could use the pilerimport script outside of the container with the dovecot master user, no need to know the password of user
hello,
is it possible to pass the mail to the mail-piler to another smpt-server? in my case the nethserver should run with the mail-piler as archive for office365. since the mails are written back via imap, i would have to solve it with rules in each user. does anyone have another idea to in the config piler there is no smtp host or how i adjust the config?
it would be pure for me to offer only the eml download and to disable the potfach delivery