Quantcast
Channel: iRedMail
Viewing all 14177 articles
Browse latest View live

Mysql

$
0
0

Does mysql need to installed first or will iRedMail install for me ?

this paragraph indicates that it should not

WARNING: iRedMail is designed to be deployed on a FRESH server system, which means your server does NOT have mail related components installed, e.g. MySQL, OpenLDAP, Postfix, Dovecot, Amavisd, etc. Otherwise it may override your existing files/configurations althought it will backup files before modifing, and it may be not working as expected.


Failure to synchronise mail, or mail arriving a few hours later

$
0
0

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

I have 2 issues, which may be related. I thought that maybe they were caused by fail2ban and i have just disabled that as per another post found on this forum, but the problems remain.

The issues are:
1. Intermitent connection problems to send/retrieve email
2. Sometimes on my mobile device, i sync the email it it says sync'd, but mail which has arrived and is present on the desktop is not showing on the mobile, mail which was received many hours ago. Eventually later in the day they just all show up.

Do you know what the cause of this issue is, and how to resolve it?

Is it related to the max connection rate, which seems to be really strict?
e.g.
Aug 26 09:53:30 mail postfix/anvil[3764]: statistics: max connection rate 1/60s for (smtp:xxx.xxx.xxx.xxx) at Aug 26 09:50:05
Aug 26 09:53:30 mail postfix/anvil[3764]: statistics: max connection count 1 for (smtp:xxx.xxx.xxx.xxx) at Aug 26 09:50:05
Aug 26 09:53:30 mail postfix/anvil[3764]: statistics: max cache size 1 at Aug 26 09:50:05

I would like to make these a little less strict regardless of whather or not they are the cause of the 2 issues that i am having.

Thanks in advance

FreeBSD iRedAPD Issue and Fix

$
0
0

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

# service iredapd start
Starting iredapd ...
/usr/local/etc/rc.d/iredapd: line 40: /usr/local/bin/python: No such file or directory

====

Hi

FreeBSD ports team announced a change for python packages. Here is the documentation (/usr/ports/UPDATING file):

20130817:
  AFFECTS: users of lang/python*
  AUTHOR: mva@FreeBSD.org

  The lang/python* ports do not install links to 2to3, idle, pydoc, python
  and other binaries anymore. Those were moved into the lang/python2 and
  lang/python3 ports respectively. This change brings us closer to the goal
  of making Python ports usable with different Python versions at the same
  time.

  If you have lang/python2* or lang/python3* installed, please also install
  the associated lang/python2 or lang/python3 port.

  1. update lang/python2* and/or lang/python3*
  2. install lang/python2 and/or lang/python3
  3. reinstall lang/python (if installed)

After install lang/python2 port. iredapd rc.d script startup fail. Here is the error output:

/usr/local/etc/rc.d/iredapd: line 40: /usr/local/bin/python: No such file or directory

How to fix:

Open /usr/local/etc/rc.d/iredapd script file. Go to 40. line and edit it.

Before: /usr/local/bin/python ${BINPATH}

After: /usr/local/bin/python2 ${BINPATH}

Have a nice day

Hasan Alp İNAN

[Solved] Authenticate MediaWiki against iRedMails LDAP-Server

$
0
0

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04
====
Hi,

I'm using IRedmail 0.8.5 on Ubuntu 12.04. On my server there is a running MediaWiki-installation. Now I want to add the possibility to the users to login with there emailadress and password given by the LDAP-entry. I've installed the MediaWiki-LDAPAuthentication-Plugin following these instructions: http://www.mediawiki.org/wiki/Extension … the_plugin

But I've got some problem using the correct configuration to connect MediaWiki to my LDAP-Server. Here is my LocalSettings.php-LDAP-section (just changed my domain name to example.com):

#######################
# LDAP Authentication #
#######################
require_once( "/var/www/mediawiki/extensions/LdapAuthentication/LdapAuthentication.php" );
$wgAuth = new LdapAuthenticationPlugin();


//The names of one or more domains you wish to use
$wgLDAPDomainNames = array("example.com");

//The fully qualified name of one or more servers per domain you wish to use.
$wgLDAPServerNames = array("example.com"=>"localhost");

// Allow the use of the local database as well as the LDAP database.
// Mostly for transitional purposes. Unless you *really* know what you are doing,
// don't use this option. It will likely cause you annoying problems, and
// it will cause me annoying support headaches.
// Warning: Using this option will allow MediaWiki to leak LDAP passwords into
// its local database. It's highly recommended that this setting not be used for
// anything other than transitional purposes.
// Default: false
$wgLDAPUseLocal = false;

//The type of encryption you would like to use when connecting to the LDAP server.
//Available options are "tls", "ssl", and "clear"
//Default: tls
$wgLDAPEncryptionType = array("example.com"=>"clear");

//Base DNs. Group and User base DNs will be used if available; if they are not defined, the search
//will default to $wgLDAPBaseDNs
$wgLDAPBaseDNs = array("example.com"=>"o=domains,dc=example,dc=com");

//The search string to be used for straight binds to the directory; USER-NAME will be
//replaced by the username of the user logging in.
$wgLDAPSearchStrings = array("example.com"=>"E,ou=Users,dc=example,dc=com");

//Munge the case of the username to lowercase when doing searches in groups
//Default: false
$wgLDAPLowerCaseUsername = array("example.com"=>true);

//The objectclass of the groups we want to search for
$wgLDAPGroupObjectclass = array("example.com"=>"mailUser");

//The attribute used for group members
$wgLDAPGroupAttribute = array("example.com"=>"mailList");

//The naming attribute of the group
$wgLDAPGroupNameAttribute = array("example.com"=>"cn");

//Don't automatically create an account for a user if the account exists in LDAP
//but not in MediaWiki.
//Default: false.
$wgLDAPDisableAutoCreate = array("example.com"=>false);

//Option for getting debug output from the plugin. 1-3 available. 1 will show
//non-sensitive info, 2 will show possibly sensitive user info, 3+ will show
//sensitive system info. Setting this on a live public site is probably a bad
//idea.
//Default: 0
$wgLDAPDebug = 0;
$wgDebugLogGroups["ldap"] = "/tmp/mediawiki-debug.log" ;

What am I doing wrong?

greylisting logs

$
0
0

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

where is the log file for the greylisting implemented in iRedmail?  Where is the database of "known" domains kept?

Uninstall iredmail

$
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:
====

Hi

Is there a util to uninstall iredmail.

I want to uninstall and then reinstall

MailGun: sender address rejected: User unknown

$
0
0

One of my domains is using mailgun.com to send out emails, the domain is having issues receiving to the same domain.

Getting:
sender address rejected: User unknown in virtual mailbox table; from=<bounce+d4fc07.5107-testtest=domain@domain.com>...

I have removed the smtpd_sender_restrictions from main.cf It's still listed in proxy_read_maps as $smtpd_sender_restrictions

I have also entered the ip in mynetworks = x.x.x.x, 127.0.0.0/8 as well as in iredadmin added whitelist that ip.

After all this I am still getting the same error, Any more thoughts?

Could it be that the from address would be random? Can we do a wildcat domain?

Send Receive error.. Solves after restarting the server

$
0
0

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

I have 8 domains configured in my server, up-to 25th Aug. it was working properly. Now suddenly after that I started getting problems that peoples are getting send receive error, then I restarts the server and it works for 2-3 hours and again same problem. I just now tried to check the server and when I go to License, I get this error
"Error while geting license info: <urlopen error timed out> "

Please help. I am running iRedmail-Pro 1.5.1.

Thank you.


OpenLDAP Python

$
0
0

When I go to https://mydoma/iredadmin, i get the following error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/local/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/local/lib/python2.7/site-packages/web/application.py", line 416, in _delegate
    mod = __import__(mod, None, None, [''])
  File "/var/www/iredadmin/controllers/ldap/basic.py", line 5, in <module>
    import ldap
  File "/usr/local/lib/python2.7/site-packages/ldap/__init__.py", line 23, in <module>
    from _ldap import *
ImportError: Cannot load specified object

I have no idea with this error. Anyone with an idea will be appreciated.
OS: OpenBSD 5.3
Mailbackend: OpenLDAP
iRedMail: 0.8.5

Thanks

==== 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:
====

Roundcube filters don't work

$
0
0

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

while testing greylisting I set up a script on another server to send me an email every 1 minute to see if autowhitelist would get a record at some point.  In order to not have my inbox fill up, in roundcube I set a filter on my account to delete the test messages based on the "From" address containing a keyword. 

However this filter does not seem to work at all and I'm not sure which log to look in to see what's happening.

Anyone have any issues like this or can point me to the correct logs to see what, if anything the sieve filters are doing?

Iredmail mail send issue

$
0
0

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

Hi All,

I am new to mail servers, actually i have configured a domain (eg,. abc.com) in iredmail locally and there is a domain called (xyz.com) hosted in google mail, so the problem is , when ever user of abc.com  domain are sending the mail to xyz.com domain , the iredmail server is sending the mail to google mail on port 25, and because of this my public IP is always getting listed in spamhaus XBL.

And the recommendation of spamhaus for getting rid of this issue, is to send the mail to a  secure smtp on port (467 or 587) instead of smtp on port 25.

so how & where  should i configure the iredmail to use secure smtp ports (467 or 587) for sending the mail, instead of smtp on port 25


pls reply...


Thanks..
Ashraf

Iredmail secure smtp setting

$
0
0

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

Hi All,

I am new to mail servers, actually i have configured a domain (eg,. abc.com) in iredmail locally and there is a domain called (xyz.com) hosted in google mail, so the problem is , when ever user of abc.com  domain are sending the mail to xyz.com domain , the iredmail server is sending the mail to google mail on port 25, and because of this my public IP is always getting listed in spamhaus XBL.

And the recommendation of spamhaus for getting rid of this issue, is to send the mail to a  secure smtp on port (467 or 587) instead of smtp on port 25.

so how & where  should i configure the iredmail to use secure smtp ports (467 or 587) for sending the mail, instead of smtp on port 25


pls reply...


Thanks..
Ashraf

Does Iredpro support ms client & whatever policy implement throgh ired

$
0
0

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



I am looking to purchase iredmail pro but I have some doubt which is below


1. Iredmail-pro what server config require or can we host in vmware to thired party
2. Does it support Ms outlook as client & Whatever policy we implement through web admin it apply in ms outlook like - I disable sending mail will it applicable on ms outlook.

3.Can we set moderator?
3. Can I take yearlly support package if yes then What is the cost?
4.Can i set policy to a email id whatever sent a mail send BCC to define email address effective from ms outlook
5. for client Web login what are the option can we have out logo & customise.
6.Which version should we choose. LDAP/SQL/ - Please suggest.


====

Routing

$
0
0

Hi all,

I need to route one or more domains to a specific ipaddress, usually done with:

mydomain.com: 192.168.0.xx

Which is the correct way in iredmail?

Is there a specific user interface for the routing in the pro version?

Thanks in advance.
Bruno

==== 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:
====

Software sources

$
0
0

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04
====

I have a question on the used software sources. On the iredmail-homepage there is mentioned:

What iRedMail does
Install and configure mail server related BINARY packages automatically from the official software repositories provided by Linux/BSD distribution venders.

But what pieces of software iredmail is fetching from other sources?

I'm asking because next year we want to re-setup our school-server. In fact we have no time ressources (nor for setup (therefore we want to use iredmail) nor for maintenance). That is why it would be important for us that at best all the integrated software is coming from the official repos, so that security upates are deployed by the system.

Is it for example possible to use Roundcube out of the Ubuntu repos?


E-mail stopped reaching to other domains with attachments.

$
0
0

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

Hi,

Today suddenly many mails with attachments stopped reaching at other domains. No changes had been made on server and nothing new applied. I received this issue after a year now once implemented iredmail in organization.

maillog shows..
Aug 28 18:25:03 mail amavis[3392]: (03392-16) Passed CLEAN, MYNETS/MYUSERS LOCAL [172.16.1.85] [172.16.1.85] <sam@myiredmaildomain.com> -> <ketan@mygoogledomain.com>, Message-ID: <03f901cea412$b9d82580$2d887080$@co.uk>, mail_id: vmgdR5Ut6n1m, Hits: -9.999, size: 25788, queued_as: DFD39200358, 2660 ms
Aug 28 18:25:04 mail postfix/smtp[3506]: 17BE120194F: to=<ketan@mygoogledomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=365, delays=2.1/360/0.01/2.7, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as DFD39200358)
Aug 28 18:25:05 mail postfix/smtp[3081]: DFD39200358: to=<ketan@mygoogledomain.com>, relay=aspmx.l.google.com[173.194.79.27]:25, delay=1.7, delays=0.01/0.01/0.75/0.88, dsn=2.0.0, status=sent (250 OK)

it shows emails have sent successfully but at other end domain email are not coming at all with attachments, neither getting any failure delivery messages back.

Can someone guide where to look this issue and rectify the same?

PRoblem with Vhosts and apache....

$
0
0

Hello,
I have use your system from a long time... and its working perfect... but...
now I have Debian 7.1 pure install... first what I install is iRedMail (latest version)... I also have domain hosted on my machine...
My problem is when I try to make subdomain like iredadmin.mydomain.com or phpmyadmin.mydomain.com I recieve "Index of /
[ICO]    Name    Last modified    Size    Description"
but when I type httpS://mydomain.com/iredadmin everything goin fine... I cant figured out what the problem is... any ideas?
Thank you in advanced..

SMTPS in not working with iRedMail

$
0
0

==== Required information ====
- iRedMail version: 0.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS 6.4
- Related log if you're reporting an issue:
====
Dear Zhang,

I have configured iredmail, but i have probems with SMTP over SSL (port 465). No problem with port TLS (587).

master.cf

smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticate d,reject

main.cf

smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail_CA.pem
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail_CA.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_enforce_tls = no
tls_random_source = dev:/dev/urandom
tls_daemon_random_source = dev:/dev/urandom
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache


Regards,
khanb.

IRedAdmin-Pro: NameError: global name 'throttle' is not defined

$
0
0

======== Required information ====
- iRedMail version: 0.8.5, iRedAdmin Pro 1.7.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 7.0
- Related log if you're reporting an issue: apache error log
====

Hello!
We installed a new mail server instance on Debian 7 and used the "old" database and maildir to migrate our users.
Everything works fine except iRedAdmin Pro panel. When I try to access the mailbox I get "internal server error" and following message in the apache error log:

[Thu Aug 29 09:15:42 2013] [error] [client xxx] Traceback (most recent call last):
[Thu Aug 29 09:15:42 2013] [error] [client xxx]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 239, in process
[Thu Aug 29 09:15:42 2013] [error] [client xxx]     return self.handle()
[Thu Aug 29 09:15:42 2013] [error] [client xxx]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 230, in handle
[Thu Aug 29 09:15:42 2013] [error] [client xxx]     return self._delegate(fn, self.fvars, args)
[Thu Aug 29 09:15:42 2013] [error] [client xxx]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 420, in _delegate
[Thu Aug 29 09:15:42 2013] [error] [client xxx]     return handle_class(cls)
[Thu Aug 29 09:15:42 2013] [error] [client xxx]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 396, in handle_class
[Thu Aug 29 09:15:42 2013] [error] [client xxx]     return tocall(*args)
[Thu Aug 29 09:15:42 2013] [error] [client xxx]   File "/usr/share/apache2/iredadmin/controllers/decorators.py", line 11, in proxyfunc
[Thu Aug 29 09:15:42 2013] [error] [client xxx]     return func(self, *args, **kw)
[Thu Aug 29 09:15:42 2013] [error] [client xxx]   File "/usr/share/apache2/iredadmin/controllers/mysql/user.py", line 176, in GET
[Thu Aug 29 09:15:42 2013] [error] [client xxx]     throttleLib = throttle.Throttle()
[Thu Aug 29 09:15:42 2013] [error] [client xxx] NameError: global name 'throttle' is not defined

What can be wrong?

Thank you!

Best regards,
Bernhard

Catchall not working.

$
0
0

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

Hello,
I'm trying to configure catch-all for my iRedmail-domain with this: http://www.iredmail.org/wiki/index.php? … /Catch-all

I have added following entry to mysql-database:
Database: vmail
Table: alias
address: @1.domain.com
goto: fullname@domain.com

iRedmail-server was set up behind domain.com and it was fully working.
After that, we added new domain address "1.domain.com" and pointed it to iRedmail-server and catchall-configuration was added.

If I send mail to fullname@domain.com, mail is delivered properly, but if I send mail to fullname@1.domain.com, I cant see any email anywhere and /var/log/mail.log has following error: NOQUEUE: reject: RCPT from [sensored]: 550 5.1.1 <fullname@1.domain.com>: Recipient address rejected: User unknown in virtual alias table; from=<sensored>....

I have commented content_filter-line in main.cf and I have also disabled spamassasin, amavis and clamav.

I need to configure mail so that all sub-domains forward to one catchall-mailbox, but I cannot get even one subdomain to work.
Does anyone have any idea what im doing wrong?

Viewing all 14177 articles
Browse latest View live


Latest Images