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

Re: Role-Based Access Control (RBAC)

$
0
0

Sounds like you need a central LDAP server to store mail accounts for central authentication. Am i right?

With iRedMail OpenLDAP backend, you can store mail accounts in the local OpenLDAP server (the one running on iRedMail server). Since iRedMail uses its own LDAP schema file, if you want to use an existing LDAP server in your intranet, it will be a challenge to integrate iRedMail schema file and Amavisd schema file -- uses those 2 schema files is easy, the point is how to define which ldap attributes/values your mail accounts should have. And i suppose it's not just for mail services, if your other applications use the same LDAP accounts for authentication (or even more functions), it's a challenge.


Re: Sieve is creating a duplicated maildir folder

$
0
0

Oh, a NTFS file system, i guess the "maildir" issue is caused by NTFS.

if you use a Linux file system, it should be fine.

Re: Shared - Public Mailbox

$
0
0

You have to share all folders in the mailbox manually. If you add new folder, share it manually.

Dealing with spoofed email clogging up the mail queue.

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.0
- Linux/BSD distribution name and version: CentOS release 6.8 (Final)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Our mx gateway is bombarded with spoofed emails supposedly from us (the emails claim to be random_name@ourdomainname.com) sent from random sources. I have our mx gateway configured to reject and defer all of this email and only accept email @ our domain name from our sending server so the emails are not being relayed but they are however generating an insane amount of activity in the logs and our mail queue often has sometimes 8k or more of these deferred emails in the queue.

What is the proper way to reject all spoofed email that is supposedly from our domain without ending up in the queue or generating some much noise in the logs? Is there a way to do that?

Thanks,
Luke

Re: Dealing with spoofed email clogging up the mail queue.

SOGo webmail and exchange login problem

$
0
0

======== Required information ====
- iRedMail version 0.9.5-1:
- Ubuntu 16.04 LTS
- MySQL
- Apache
- Manage mail accounts with iRedAdmin Free
====

Hi

SoGo does not accept passwords in the web interface.
No problem for RoundCube.
Also; Exchange mail does not accept password.
No problem for pop3.
I'm just having trouble with SOGo too.



Log for Sogo

Jan 20 16:05:03 sogod [1456]: version 3.2.5 (build @shiva.inverse 201701190806) -- starting
Jan 20 16:05:03 sogod [1456]: vmem size check enabled: shutting down app when vmem > 384 MB. Currently at 225 MB
Jan 20 16:05:03 sogod [1456]: <0x0x5633749b4570[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUstep/SOGo':
Jan 20 16:05:03 sogod [1456]: <0x0x5633749b4570[SOGoProductLoader]>   Appointments.SOGo, AdministrationUI.SOGo, CommonUI.SOGo, MailPartViewers.SOGo, SchedulerUI.SOGo, MainUI.SOGo, Mailer.SOGo, PreferencesUI.SOGo, ActiveSync.SOGo, ContactsUI.SOGo, Contacts.SOGo, MailerUI.SOGo
Jan 20 16:05:05 sogod [1456]: All products loaded - current memory usage at 279 MB
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> listening on 127.0.0.1:20000
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> watchdog process pid: 1456
Jan 20 16:05:05 sogod [1456]: <0x0x7f6d5d5b20e0[WOWatchDogChild]> watchdog request timeout set to 10 minutes
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> preparing 10 children
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1650
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1654
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1655
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1666
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1667
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1670
Jan 20 16:05:05 sogod [1655]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1655]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1654]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1654]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1650]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1650]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1672
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1673
Jan 20 16:05:05 sogod [1666]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1666]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1667]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1667]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1670]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1670]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1672]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1672]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1673]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1673]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1674
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1675
Jan 20 16:05:05 sogod [1674]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1674]: <0x0x563374a2fff0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1675]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1675]: <0x0x563374a2fff0[WOHttpAdaptor]> notified the watchdog that we are ready

Re: Second domain being reported as spam from same server

$
0
0

I used this website: 'http://dkimvalidator.com/' and it says that domain2 does not have a DKIM signature whereas domain1 has!

Here is what I had done to enable DKIM on domain 2:

Got dkim._domainkey.domain1 and copied and pasted the key into a txt record: dkim._domainkey.domain2
so that the records are exactly the same (except for domain1 and 2)

Went into amavis configuration and added the line:

"domain2"  => { d => "domain1", a => 'rsa-sha256', ttl => 10*24*3600 },

Anything else I missed/needed to do?

Thanks again!

Re: Second domain being reported as spam from same server

$
0
0

Yes the DKIM was not working properly sorry, I've fixed that now (Gmail says that the email is signed and both SPF and DKIM pass) but it's still flagged as spam sad

I've only just realised that my domain is quite similar to a large organisation that I didn't know existed. Is there a chance that gmail is flagging it as spam because of this?


Re: SOGo webmail and exchange login problem

$
0
0
karanx wrote:

Jan 20 16:05:05 sogod [1655]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'

Why parameter "SOGoProfileURL" is empty in /etc/sogo/sogo.conf? This is required by SOGo.

Re: Second domain being reported as spam from same server

Unexpected error: 'NoneType' object has no attribute 'connect'

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.4
- Linux/BSD distribution name and version:  ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):   mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

After php7.0 upgrade were seeing this error alot in iredapd.log

anyway to fix it? i think functionality is OK but still wondering what this is about....

Thank you for great service


2017-01-20 22:36:47 ERROR Unexpected error: 'NoneType' object has no attribute 'connect'. Fallback to default action: DUNNO
2017-01-20 22:36:47 INFO x.x.x.x END-OF-MESSAGE, noreply@hhhhh.com -> contact@host.com, DUNNO [0.0009s]

Re: Roundcube SMTP Error (-1): Connection to server failed.

$
0
0
ZhangHuangbin wrote:

Maybe smtp service is not running, or not running well and cannot handle request correctly.
Without detailed log, i cannot help much, sorry.


Dear Friend,

I have exactly the same problem. I have upgraded my ubuntu server from 14 to 16 and I had to upgrade roundcube in order to have it functional again. i am unable to send emails now and I have this in mail.log:

SMTP Error: Connection failed: Failed to connect socket: Connection refused in /opt/www/roundcubemail-1.1.5/program/lib/Roundcube/rcube.php on line 1648 (POST /mail/?_task=mail&_unlock=loading1484956101491&_lang=en_US&_framed=1&_action=send)

Can You help me?

Best Regards!

Re: SOGo webmail and exchange login problem

$
0
0
ZhangHuangbin wrote:
karanx wrote:

Jan 20 16:05:05 sogod [1655]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'

Why parameter "SOGoProfileURL" is empty in /etc/sogo/sogo.conf? This is required by SOGo.

Hello ZhangHuangbin

Sogo is updating every day.
It was again after an update. He did not work later.

I do not know why this is happening.
I was trying to keep the server updated.
I'm having trouble setting up the server. But now, everything outside of SoGo is okay

Below is the file /etc/sogo/sogo.conf.


{
  /* *********************  Main SOGo configuration file  **********************
   *                                                                           *
   * Since the content of this file is a dictionary in OpenStep plist format,  *
   * the curly braces enclosing the body of the configuration are mandatory.   *
   * See the Installation Guide for details on the format.                     *
   *                                                                           *
   * C and C++ style comments are supported.                                   *
   *                                                                           *
   * This example configuration contains only a subset of all available        *
   * configuration parameters. Please see the installation guide more details. *
   *                                                                           *
   * ~sogo/GNUstep/Defaults/.GNUstepDefaults has precedence over this file,    *
   * make sure to move it away to avoid unwanted parameter overrides.          *
   *                                                                           *
   * **************************************************************************/

  /* Database configuration (mysql:// or postgresql://) */
  //SOGoProfileURL = "postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile";
  //OCSFolderInfoURL = "postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info";
  //OCSSessionsFolderURL = "postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder";

  /* Mail */
  //SOGoDraftsFolderName = Drafts;
  //SOGoSentFolderName = Sent;
  //SOGoTrashFolderName = Trash;
  //SOGoIMAPServer = localhost;
  //SOGoSieveServer = sieve://127.0.0.1:4190;
  //SOGoSMTPServer = 127.0.0.1;
  //SOGoMailDomain = acme.com;
  //SOGoMailingMechanism = smtp;
  //SOGoForceExternalLoginWithEmail = NO;
  //SOGoMailSpoolPath = /var/spool/sogo;
  //NGImap4ConnectionStringSeparator = "/";

  /* Notifications */
  //SOGoAppointmentSendEMailNotifications = NO;
  //SOGoACLsSendEMailNotifications = NO;
  //SOGoFoldersSendEMailNotifications = NO;

  /* Authentication */
  //SOGoPasswordChangeEnabled = YES;

  /* LDAP authentication example */
  //SOGoUserSources = (
  //  {
  //    type = ldap;
  //    CNFieldName = cn;
  //    UIDFieldName = uid;
  //    IDFieldName = uid; // first field of the DN for direct binds
  //    bindFields = (uid, mail); // array of fields to use for indirect binds
  //    baseDN = "ou=users,dc=acme,dc=com";
  //    bindDN = "uid=sogo,ou=users,dc=acme,dc=com";
  //    bindPassword = qwerty;
  //    canAuthenticate = YES;
  //    displayName = "Shared Addresses";
  //    hostname = ldap://127.0.0.1:389;
  //    id = public;
  //    isAddressBook = YES;
  //  }
  //);

  /* LDAP AD/Samba4 example */
  //SOGoUserSources = (
  //  {
  //    type = ldap;
  //    CNFieldName = cn;
  //    UIDFieldName = sAMAccountName;
  //    baseDN = "CN=users,dc=domain,dc=tld";
  //    bindDN = "CN=sogo,CN=users,DC=domain,DC=tld";
  //    bindFields = (sAMAccountName, mail);
  //    bindPassword = password;
  //    canAuthenticate = YES;
  //    displayName = "Public";
  //    hostname = ldap://127.0.0.1:389;
  //    filter = "mail = '*'";
  //    id = directory;
  //    isAddressBook = YES;
  //  }
  //);


  /* SQL authentication example */
  /*  These database columns MUST be present in the view/table:
   *    c_uid - will be used for authentication -  it's the username or username@domain.tld)
   *    c_name - which can be identical to c_uid -  will be used to uniquely identify entries
   *    c_password - password of the user, plain-text, md5 or sha encoded for now
   *    c_cn - the user's common name - such as "John Doe"
   *    mail - the user's mail address
   *  See the installation guide for more details
   */
  //SOGoUserSources =
  //  (
  //    {
  //      type = sql;
  //      id = directory;
  //      viewURL = "postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_view";
  //      canAuthenticate = YES;
  //      isAddressBook = YES;
  //      userPasswordAlgorithm = md5;
  //    }
  //  );

  /* Web Interface */
  //SOGoPageTitle = SOGo;
  //SOGoVacationEnabled = YES;
  //SOGoForwardEnabled = YES;
  //SOGoSieveScriptsEnabled = YES;
  //SOGoMailAuxiliaryUserAccountsEnabled = YES;
  //SOGoTrustProxyAuthentication = NO;
  //SOGoXSRFValidationEnabled = YES;

  /* General - SOGoTimeZone *MUST* be defined */
  //SOGoLanguage = English;
  //SOGoTimeZone = America/Montreal;
  //SOGoCalendarDefaultRoles = (
  //  PublicDAndTViewer,
  //  ConfidentialDAndTViewer
  //);
  //SOGoSuperUsernames = (sogo1, sogo2); // This is an array - keep the parens!
  //SxVMemLimit = 384;
  //WOPidFile = "/var/run/sogo/sogo.pid";
  //SOGoMemcachedHost = "/var/run/memcached.sock";
  
  /* Debug */
  //SOGoDebugRequests = YES;
  //SoDebugBaseURL = YES;
  //ImapDebugEnabled = YES;
  //LDAPDebugEnabled = YES;
  //PGDebugEnabled = YES;
  //MySQL4DebugEnabled = YES;
  //SOGoUIxDebugEnabled = YES;
  //WODontZipResponse = YES;
  //WOLogFile = /var/log/sogo/sogo.log;
}

Create Secondary Ports for POP3-S(995) IMAP-S(993) SMTP-S (587 & 465)

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version:  CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes, version 2.6.1
- Valid let's encrypt certificate setup and working on all services.
- Related log if you're reporting an issue:
====

Hello,

Some of our clients travelling abroad have seen ports 993, 995, 465 and 587 (We keep 465 for old Outlook 2003 machines that will replaced sometime later this year) blocked.

Is there a way to make Dovecot simultaneously listen to ports 993 and 1993, ports 995 and 1995 and Postfix on ports ports 465 and 1465 , 587 and 1587 ?

In other words, have a secondary listener ports 1993, 1995, 1465 and 1587 for the above services ?

Thank you !

Dave

Re: Change from example.com/mail to mail.example.com

$
0
0

Thanks,

I understand that i need to set up a virtual host, but the page you are pointing me to assumes that i know where to start. A more tutorial type response would be more helpfull.

Maybe some instructions more accessible to a beginner would be more helpful?

But thanks for the quick reply, maybe you've got some more insights on where to start?


Re: Replicate server iRedmail

$
0
0
ZhangHuangbin wrote:

Should be fine, you should test it first. smile

BTW, it's better use Dovecot dsync/replication to sync mailboxes instantly, not rsync, lsyncd, etc.

ZhangHuangbin wrote:

Should be fine, you should test it first. smile

BTW, it's better use Dovecot dsync/replication to sync mailboxes instantly, not rsync, lsyncd, etc.

Thanks you Zhang. I will check that tool.

Let me know a thing. If main server fail down, second server will wake up and if ldap + mysql + dovecot is syncronized and server has same IP, I won't have any problem to receive emails, dont?
Will I need some extra config?

Thanks

How to make local daemons still be able to send out emails

$
0
0

==== Required information ====
- 0.9.5-1
- CentOS Linux release 7.2.1511 (Core)
- PGSQL
- Apache
====
After installing iRedMail my local daemons can't send out emails any more. I am testing with "sendmail receiver@domain" and get a "Relay access denied" error in maillog.

After looking into your support forums I found two possible options: 1) authenticate all local email sent which I find very complicated to add to every daemon I have, and 2) add my server's IP to mynetworks.

What I don't understand is: Email from localhost should already allowed without authentication because /etc/postfix/main.cf contains mynetworks = 127.0.0.1.

However the logs say:
Jan 22 00:25:02 www1 postfix/postscreen[14647]: CONNECT from [144.76.x.y]:37336 to [127.0.0.1]:25
Jan 22 00:25:02 www1 postfix/postscreen[14647]: PASS OLD [144.76.x.y]:37336
Jan 22 00:25:02 www1 postfix/smtpd[14648]: connect from xx.yy[144.76.x.y]

even for local connections e.g. when I do telnet localhost 25.

So just to debug I added my servers IP 144.76.x.y to /etc/postfix/main.cf mynetworks. Then I found that I also had to add it to /opt/iredapd/settings.py MYNETWORKS and even to amavisd.conf @inet_acl. But even after adding the IP thru there I got a Blocked MTA-BLOCKED error from amavisd.

Please give me a clue why email from the local machine is not properly whitelisted to go out.

(If email can't go out because of the design of iRedMail and Postfix, do you have any idea how I can make sendmail work again to deliver from daemons to external mail addresses? E.g. make it connect to a different port, where I run a local sendmail service on while postfix is running on the standard port?)

Roundcube Skins RCS_Skins plugin help

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.4
- Linux/BSD distribution name and version: xubuntu 14.10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? nope
- Related log if you're reporting an issue:
====


Im wondering how to set roundcube skins based on device like have skin larry for desktop and mobileskin for mobile automatically. i have the skins in the skins directory and i know i have to use rcs_skins plugin

but i forget how to do it, i did it before, cant remember what i need to do.
i went to /opt/www/roundcubemail/config and edited config.inc.php plugins line to add 'rcs_skins'
stumped from then on as to what to do, cant find the documentation i used before.

Re: Replicate server iRedmail

$
0
0
aarango wrote:

Let me know a thing. If main server fail down, second server will wake up and if ldap + mysql + dovecot is syncronized and server has same IP, I won't have any problem to receive emails, dont?

You should test before go live. smile

Re: Change from example.com/mail to mail.example.com

$
0
0

You can find config files on this page:
http://www.iredmail.org/docs/file.locations.html

On Ubuntu 16.04 with Apache, you should add a new file under /etc/apache2/conf-available/. for example, mydomain.conf. add the required settings for a virtual web host (check the link in my previous reply), then enable it with command "a2ensite mydomain", restart Apache service. Open a web browser to test it. smile

Viewing all 43488 articles
Browse latest View live


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