Quantcast
Channel: iRedMail — iRedMail Support
Viewing all 43352 articles
Browse latest View live

Re: Lacking file path =/usr/share/doc/dovecot-common/solr-schema.xml

$
0
0

Dear Zhang,
Noted. But I really need to get FTS in my mail searches as it is taking me forever to search my emails. I am going to open another post and detail out my problem, and hopefully you or someone on this forum can help me.
Thanks
Kevin


ZhangHuangbin wrote:

As i can remember, Dovecot in Debian/Ubuntu is not built with SOLR support, so missing solr related files is expected.


Re: Lacking file path =/usr/share/doc/dovecot-common/solr-schema.xml

Re: LDAP ISSUE Intergrating Microsoft Active directory to iredmail

$
0
0
i.zakaria wrote:

first of all : i wish you happy new year with my best wishes of good been !

The same to you. smile

i.zakaria wrote:

what does not work is configuring the auto complete adress book ;  when i use the tutorial's bind instructions , roundcube is down !

What do you mean "down"?
No one can help without related log, so please try to get related log, especially error log, paste here so that others can help troubleshoot.

Apache Solr FTS Configuration. (Please help me!)

$
0
0

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.4
- Related log if you're reporting an issue:
====

Hi,
I am relatively new to Apache Solr and I am trying to get it to integrate with Dovecot and needed a little help with configuration.
The following steps I have already configured.

1. Apache Solr installed, up and running

6406 [main] INFO  org.eclipse.jetty.server.AbstractConnector  ? Started SocketConnector@0.0.0.0:8983

I can then ssh into it and see the running solr admin.

 ssh -t -L 8983:localhost:8983 user@mydomain.com

2. Schema file added

    startTime:
        3 minutes ago
    instanceDir:
        /opt/solr/solr/collection1/
    dataDir:
        /opt/solr/solr/collection1/data/

In my collection1 core selector I have the following files:-
1.solrconfig.xml
2.schema.xml

The output of schema.xml is shown below:-

<?xml version="1.0" encoding="UTF-8" ?>

<!--
For fts-solr: 

Tested with dovecot 2 and Solr 4.10

This is the Solr schema file, place it into solr/conf/schema.xml. 

by Adrian Jon kriel
-->
<schema name="dovecot" version="1.5">

  <field name="_version_" type="long" indexed="true" stored="true"/>
  <field name="_root_" type="string" indexed="true" stored="false"/>

  <types>
    <!-- IMAP has 32bit unsigned ints but java ints are signed, so use longs -->
    <fieldType name="string" class="solr.StrField" omitNorms="true"/>
    <fieldType name="long" class="solr.LongField" omitNorms="true"/>
    <fieldType name="slong" class="solr.SortableLongField" omitNorms="true"/>
    <fieldType name="float" class="solr.FloatField" omitNorms="true"/>
    <fieldType name="boolean" class="solr.BoolField" omitNorms="true"/>

    <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
      <analyzer type="index">
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
        <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <!-- DEPRECATED VALUE
        <filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/>
        -->
        <filter class="solr.SnowballPorterFilterFactory" protected="protwords.txt"/>
        <filter class="solr.NGramFilterFactory" minGramSize="3" maxGramSize="15"/>
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
        <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <!-- DEPRECATED VALUE
        <filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/>
        -->     
        <filter class="solr.SnowballPorterFilterFactory" protected="protwords.txt"/>   
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </analyzer>
    </fieldType>
 </types>


 <fields>
   <field name="id" type="string" indexed="true" stored="true" required="true" />
   <field name="uid" type="slong" indexed="true" stored="true" required="true" />
   <field name="box" type="string" indexed="true" stored="true" required="true" />
   <field name="user" type="string" indexed="true" stored="true" required="true" />

   <field name="hdr" type="text" indexed="true" stored="false" />
   <field name="body" type="text" indexed="true" stored="false" />

   <field name="from" type="text" indexed="true" stored="false" />
   <field name="to" type="text" indexed="true" stored="false" />
   <field name="cc" type="text" indexed="true" stored="false" />
   <field name="bcc" type="text" indexed="true" stored="false" />
   <field name="subject" type="text" indexed="true" stored="false" />
 </fields>

 <uniqueKey>id</uniqueKey>
 <defaultSearchField>body</defaultSearchField>
 <solrQueryParser defaultOperator="AND" />
</schema>

3. Dovecot package dovecot-solr installed



4. Dovecot configured with following files to run on solr-fts.

In 10-mail.conf:-

# Space separated list of plugins to load for all services. Plugins specific to
# IMAP, LDA, etc. are added to this list in their own .conf files.
#mail_plugins =
mail_plugins = fts fts_solr

In 90-plugin.conf:-

plugin {
   fts = solr
   fts_solr = break-imap-search url=http://localhost:8983/solr/
}

I would really appreciate if someone could please help me here.
Request for someone to guide me here.
Thanks a lot
Kevin

Mailbox where helo_access.pcre is not applied ?

$
0
0

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 7 x64
- Related log if you're reporting an issue:
====

Hello,

Is there a way to create a mailbox where helo_access.pcre is not applied ?

Romain

Re: Receiving emails on iRedMail from another server with noreply address

$
0
0

Why my solution is the worst ?
What problem may I have in the future?

Your solution is working, but sender doesn't receive any error (non-delivery report), is it normal ?

Re: Receiving emails on iRedMail from another server with noreply address

$
0
0
themen wrote:

Why my solution is the worst ?
What problem may I have in the future?

No big issue with "smtpd_reject_unlisted_sender = no".

themen wrote:

Your solution is working, but sender doesn't receive any error (non-delivery report), is it normal ?

yes. Transport "discard" will silently discard received email.

Re: Mailbox where helo_access.pcre is not applied ?

$
0
0

Would you mind sharing why you don't want to apply helo checks on this account?


Re: Mailbox where helo_access.pcre is not applied ?

$
0
0

I want to include an email address in reject messages, like "reject-error@mydomain.com", where users can write if they think the reject was not justified.

Re: Receiving emails on iRedMail from another server with noreply address

$
0
0

Thanks for details. You can close this topic smile

Re: Mailbox where helo_access.pcre is not applied ?

$
0
0

I'm afraid I don't quite understand what you want. sad

Re: Mailbox where helo_access.pcre is not applied ?

$
0
0

Let's say someone try to send me an email, and it's rejected by a rule in helo check, like "ACCESS DENIED. Your email was rejected because the sending mail server does not identify itself correctly".
I think in 99,9% the reject will be justified.
But imagine it's not.
I want this external sender to be able to contacft me on a special address, where this check will not be done, so he can explain why it's a mistake to reject his email, and I will be able to fix any issue in my helo_access file.

[Installation]Your iRedMail version (0.8.7) is out of date

$
0
0

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Linux/BSD distribution name and version: CentOS release 6.6 (Final)
- Related log if you're reporting an issue:
====

Happy new year to all,

I'm new to iRedMail, and I'm having problem to install iRedMail into my Centos today. Are there any time checking upon installation ?

Here is what i've run on my server.

[root@MailBlaster01 iRedMail-0.8.7]# bash iRedMail.sh
< INFO > Checking new version of iRedMail ...
< ERROR > Your iRedMail version (0.8.7) is out of date, please
< ERROR > download the latest version and try again:
< ERROR > http://www.iredmail.org/download.html

[root@MailBlaster01 iRedMail-0.8.7]# date
Fri Jan  2 11:58:33 MYT 2015

The most updated version on iredmail.org was 0.8.7, but somehow, it told me that my version was out of date. does year 2015 caused that issued ?

Thanks a lot to help out.

Regards,
William

Re: [Installation]Your iRedMail version (0.8.7) is out of date

Re: Mailbox where helo_access.pcre is not applied ?

$
0
0

You can comment out this rule temporarily, and contact sender server administration to fix this issue. Is it ok?


Re: Mailbox where helo_access.pcre is not applied ?

$
0
0

Hum yes this is a workaround but not really what I ask... but if it's impossible to specify to Postfix to not apply this check to a specific mailbox, that's probably the best solution.

Re: Mailbox where helo_access.pcre is not applied ?

$
0
0
themen wrote:

but if it's impossible to specify to Postfix to not apply this check to a specific mailbox

I have no idea. Sorry.

http:// site with https:// for roundcube

$
0
0

I figure this is a well asked question, but I can't seem to find the answer, so i appolgise if I am asking the question a second time.

I am interested in running iredmail for my webmail needs as well as running a regular website (http://) on the same machine. All I need is some static webpages so no php or anything. Would it be safe to run another web server along side my apache that runs my webmail?

Is there a way to run both roundcube (https://) and a (http://) site using the same server software?

Fresh install of iRedMail-0.9.0 MariaDB issue?

$
0
0

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Linux/BSD distribution name and version: FreeBSD 10.1
- Related log if you're reporting an issue:
====

Saw that 0.9.0 relased recently and was excited to try it on a spare FreeBSD server.  I opted for nginx and mariadb though, eager to try these out.

I got this error after install and it seems that nothing from the install works.  Below are the only errors I have seen.

< INFO > Total time of ports compiling: 5590 seconds, ~= 93 minute(s)

********************************************************************
* Start iRedMail Configurations
********************************************************************
< INFO > Create self-signed SSL certification files (2048 bits).
< INFO > Create required system account: vmail, iredadmin, iredapd.
< INFO > Configure Apache web server and PHP.
< INFO > Configure Nginx web server and uWSGI.
< INFO > Configure PHP.
< INFO > Configure MariaDB database server.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
< INFO > Setup daily cron job to backup SQL databases: /var/vmail/backup/backup_mysql.sh
< INFO > Configure Postfix (Message Transfer Agent).
< INFO > Configure Cluebringer (postfix policy server).
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
< INFO > Configure Dovecot (pop3/imap/managesieve server).
< INFO > Configure ClamAV (anti-virus toolkit).
< INFO > Configure Amavisd-new (interface between MTA and content checkers).
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
< INFO > Configure SpamAssassin (content-based spam filter).
< INFO > Configure iRedAPD (postfix policy daemon).
< INFO > Configure iRedAdmin (official web-based admin panel).
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
< INFO > Configure Roundcube webmail.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)
< INFO > Configure Awstats (logfile analyzer for mail and web server).

*************************************************************************
* iRedMail-0.9.0 installation and configuration complete.
*************************************************************************

< INFO > Updating SpamAssassin rules (sa-update), please wait ...
< INFO > Compiling SpamAssassin rulesets (sa-compile), please wait ...
< INFO > Updating ClamAV database (freshclam), please wait ...
ClamAV update process started at Sat Jan  3 01:14:34 2015
Downloading main.cvd [100%]
main.cvd updated (version: 55, sigs: 2424225, f-level: 60, builder: neo)
Downloading daily.cvd [100%]
daily.cvd updated (version: 19871, sigs: 1301022, f-level: 63, builder: neo)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 244, sigs: 44, f-level: 63, builder: dgoddard)
Database updated (3725291 signatures) from database.clamav.net (IP: 64.6.100.177)
WARNING: Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.sock: No such file or directory
********************************************************************

Re: http:// site with https:// for roundcube

$
0
0
Monery wrote:

Would it be safe to run another web server along side my apache that runs my webmail?

Sure.

Monery wrote:

Is there a way to run both roundcube (https://) and a (http://) site using the same server software?

Sure. But we recommend using https for better security.

Viewing all 43352 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>