Posts by lestatminiyo

    Hi,


    First, I'm sorry if this is not the place to create this topic, but I think is the better place to do it.

    I'm trying to create my first Listener, but I'm don't have any knowledge on Perl, so i need some explanations, or ideas to implement it.


    Problem: There are many SPAM emails in INBOX folder after Spamassasin catalog them with X-Spam-Flag = YES

    Solution: To add a small filter in dovecot to move them to Junk folder.


    In order to do this, I need to change some parameters in /etc/dovecot/dovecot.conf


    To add "sieve = /etc/dovecot/sieve/default.sieve" inside plugin context:


    Code
    1. plugin {
    2. quota = maildir:User quota
    3. quota_rule = *:storage=1G
    4. quota_rule2 = INBOX.Trash:storage=+100M
    5. quota_warning = storage=95%% quota-warning 95 %u
    6. quota_warning2 = storage=80%% quota-warning 80 %u
    7. sieve = /etc/dovecot/sieve/default.sieve
    8. }


    To modify mail_plugins inside protocol lda, but not mail_plugins line above the document.


    Code
    1. protocol lda {
    2. auth_socket_path = /var/run/dovecot/auth-master
    3. mail_plugins = $mail_plugins sieve
    4. postmaster_address = [email protected]
    5. }


    Finally, to create this document with vmail:mail permissions on /etc/dovecot/sieve/default.sieve


    Code
    1. require "fileinto";
    2. if header :contains "X-Spam-Flag" "YES" {
    3. fileinto "INBOX.Junk";
    4. }



    Basically, I'm trying to do for myself looking other listeners, but I don't understand pretty well and I don't know how to add a line inside a context, how to replace mail_plugins line, when I have 2 different on the document, and I don't know how to create a document with permissions.


    Thank you in advance for your help.

    Hi all.


    We are trucking some issues with OpenDKIM.

    When we generate a new DKIM DNS record, it embed a quotation marks ( " ) in the middel of the record generating error in dns managment.

    ¿Somebody experiment same issue? I suspect opendikm dont have to embed that quotiations..

    Do you know what is the right way to include a domain in Spamassassin whitelist with IMSCP?


    I just include whitelist_from_rcvd *@example.org in 00_imscp.cf file but... I think it will be remplaced on the next update.


    Thanks.

    Until now, I was using the Rainloop API to login from external sites to the webmail.
    From my last iMSCP update, the API always return an empty hash.
    I can't get if I should send the password in other way, or Rainloop API is just not working on this version.


    I'm having arround 10 spam emails per day on my inbox since last months.
    I checked spamassasin is running and evaluating but not very accurated...


    Code
    1. May 13 11:54:02 panel spamd[3347]: spamd: result: . 1 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MISSING_HEADERS,SPF_HELO_PASS,SPF_PASS scantime=1.6,size=13680,[email protected],uid=113,required_score=5.0,rhost=ip6-localhost,raddr=::1,rport=49862,mid=<CO2PR01MB2088DF3582D3B0D4FB98B372C5E30@CO2PR01MB2088.prod.exchangelabs.com>,autolearn=no autolearn_force=no

    Do you know can I activate the autolearn and keep it after imscp updates?
    Autolearn will be working with Desktop clients?
    Do you know how can I set a DNSBL (as http://uribl.com/usage.shtml) properly?
    Any other idea to improve the spamassasing score?


    Thanks

    I'm fully interested on this topic.


    From my point of view, here are the Pro and Cons I see on both systems:


    Centralized:


    PROS
    [*]

    • Easy management
    • Just http API needed to comunicate with other server backends

    [*]CONS

    • All servers must be on the same iMSCP version, and same packages installed
    • Probably all servers must have same plugins installed
    • Many services duplicated using resources
    • Different Mail host addresses per each node, or relay needed.



    Distributed


    PROS

    • Optimal resources consumption
    • Big Scalability and possibilities
    • Load balancing according to the resources
    • Plugins managed just by 1 host
    • MySQL/ PostgreSQL servers
    • Maybe apache / nginx servers also

    CONS

    • Harder code development i think
    • srv1 or other host must be relay


    About non-free plugins, in Distributed maybe you must go to a "license per host" model
    Maybe you must think on distribute your software only just for debian, create a repository, and deploy the software like this... apt install imscp-mysql / ismcp-frontend imscp-apache imscp-nginx imscp-mailserver
    Later, just an apt update on each machine will give the last version of the frontend, backend, and rest of services
    On this way, all the people can have the same imscp version with the same rest of packages version and avoid incompatibilities...


    Just ideas...


    @vsimax


    I'm pretty sure that there is not problem at all. You should be a bit patient.


    Teamviewer?

    Yes, if the log file is not created I guess maybe letsencrypt is not launched yet by the plugin.