1 (edited by Taalasmaa 2013-06-14 17:35:50)

Topic: SSL Error

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian 6 Squeeze 64bit
- Related log if you're reporting an issue:
====
Hey, I've just installed iRedMail on my Debian Squeeze. I'm getting this error in the mail screen:
https://flamingworks.com/mail/

Thank you..

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by Taalasmaa 2013-06-15 15:04:42)

Re: SSL Error

Got this issue fixed by disabling SSL. Now I'm experiencing error "failure to connect to imap server" when trying to log into roundcube.

Edit: Errors in the dovecot.log:
Jun 14 09:28:15 imap(postmaster@flamingworks.com): Error: Invalid user settings. Refer to server log for more information.
Jun 14 09:31:13 imap-login: Info: Login: user=<postmaster@flamingworks.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=3466, secured, session=<FHRt6BnfiAB/AAAB>
Jun 14 09:31:13 imap(postmaster@flamingworks.com): Error: chdir(/var/vmail/vmail1/flamingworks.com/p/o/s/postmaster-2013.06.14.08.47.22//) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail, dir owned by 5000:5000 mode=0700)
Jun 14 09:31:13 imap(postmaster@flamingworks.com): Error: chdir(/var/vmail/vmail1/flamingworks.com/p/o/s/postmaster-2013.06.14.08.47.22/) failed: Permission denied
Jun 14 09:31:13 imap(postmaster@flamingworks.com): Error: user postmaster@flamingworks.com: Initialization failed: Namespace '': stat(/var/vmail/vmail1/flamingworks.com/p/o/s/postmaster-2013.06.14.08.47.22//Maildir) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail, dir owned by 5000:5000 mode=0700)
Jun 14 09:31:13 imap(postmaster@flamingworks.com): Error: Invalid user settings. Refer to server log for more information.

3

Re: SSL Error

Do you have correct file owner and permission on directory /var/vmail/ and its sub-directories? It should be owned by user/group: vmail:vmail, permission 0700.

4 (edited by Taalasmaa 2013-06-14 22:23:30)

Re: SSL Error

I got all of those errors fixed by reinstalling fresh OS. Now I can send emails, but I can not receive them and I have no idea where to look for this problem. Any help with this?

Edit: after tests I've been randomly received email from the Hotmail in 15-20 minutes after actually sending the email. Gmail hasn't worked at all.

5

Re: SSL Error

It's caused by greylisting. Please visit http://greylisting.org/ for more details about how it works. Search "greylisting" in this forum will give you some references.

6

Re: SSL Error

I disabled the Greylisting as shown here http://www.iredmail.org/wiki/index.php? … reylisting
When I'm trying to send my linux email from the Hotmail, the mail is received after 4 minutes of sending that email from the Hotmail. But when sending from like Gmail, I do not receive the messages at all.

This is really weird problem.

7

Re: SSL Error

Please check Postfix log file (/var/log/mail.log) to see what happened.

8

Re: SSL Error

Here is the log.. And by the way, the gmail emails were received when I was sleeping, so a bit of a delay, eh.

Jun 15 02:01:03 vs3613 cleanup: connecting to mysql database: 127.0.0.1
Jun 15 02:01:03 vs3613 cleanup: connecting to mysql database: 127.0.0.1
Jun 15 02:01:03 vs3613 cleanup: connected..
Jun 15 02:01:03 vs3613 cleanup: connected..
Jun 15 02:01:03 vs3613 cleanup: expiring blacklisted records (1371261663)
Jun 15 02:01:03 vs3613 cleanup: expiring throttlesender records older than 31 days (1368583263)
Jun 15 02:01:03 vs3613 cleanup: expired: 0 records
Jun 15 02:01:03 vs3613 cleanup: expired: 0 records
Jun 15 02:01:03 vs3613 cleanup: expiring throttlesender instances older than 1 hour (1371258063)
Jun 15 02:01:03 vs3613 cleanup: expiring autowhitelisted records older than 7 days (1371261663)
Jun 15 02:01:03 vs3613 cleanup: expired: 0 records
Jun 15 02:01:03 vs3613 cleanup: expiring throttlerecipient records older than 31 days (1368583263)
Jun 15 02:01:03 vs3613 cleanup: expired: 0 records
Jun 15 02:01:03 vs3613 cleanup: expired: 0 records
Jun 15 02:01:03 vs3613 cleanup: expiring helo records older than 7 days (1371261663)
Jun 15 02:01:03 vs3613 cleanup: expired: 0 records
Jun 15 02:42:51 vs3613 postfix/smtpd[26292]: connect from mail-ve0-f196.google.com[209.85.128.196]
Jun 15 02:42:52 vs3613 postfix-policyd: connection from: 127.0.0.1 port: 49772 slots: 0 of 4096 used
Jun 15 02:42:52 vs3613 postfix-policyd: rcpt=7, module=bypass, host=209.85.128.196 (mail-ve0-f196.google.com), from=taalasmaaz@gmail.com, to=testi@arrow-racing-league.com, size=0
Jun 15 02:42:52 vs3613 postfix/smtpd[26292]: 60E6FE680EC: client=mail-ve0-f196.google.com[209.85.128.196]
Jun 15 02:42:52 vs3613 postfix/cleanup[26297]: 60E6FE680EC: message-id=<CAAmcrbb-EW=gqzRKLkBwWvX4RN6GCuZgAo-62tFq9ky+9xho5A@mail.gmail.com>
Jun 15 02:42:52 vs3613 postfix/smtpd[26292]: disconnect from mail-ve0-f196.google.com[209.85.128.196]
Jun 15 02:42:53 vs3613 postfix/qmgr[22064]: 60E6FE680EC: from=<taalasmaaz@gmail.com>, size=2467, nrcpt=1 (queue active)
Jun 15 02:42:58 vs3613 postfix/smtpd[26306]: connect from mail.flamingworks.com[127.0.0.1]
Jun 15 02:42:58 vs3613 postfix/smtpd[26306]: 605F5E680F4: client=mail.flamingworks.com[127.0.0.1]
Jun 15 02:42:58 vs3613 postfix/cleanup[26297]: 605F5E680F4: message-id=<CAAmcrbb-EW=gqzRKLkBwWvX4RN6GCuZgAo-62tFq9ky+9xho5A@mail.gmail.com>
Jun 15 02:42:58 vs3613 postfix/qmgr[22064]: 605F5E680F4: from=<taalasmaaz@gmail.com>, size=3054, nrcpt=1 (queue active)
Jun 15 02:42:58 vs3613 postfix/smtpd[26306]: disconnect from mail.flamingworks.com[127.0.0.1]
Jun 15 02:42:58 vs3613 amavis[6639]: (06639-11) Passed CLEAN, LOCAL [209.85.128.196] [209.85.128.196] <taalasmaaz@gmail.com> -> <testi@arrow-racing-league.com>, Message-ID: <CAAmcrbb-EW=gqzRKLkBwWvX4RN6GCuZgAo-62tFq9ky+9xho5A@mail.gmail.com>, mail_id: a+X7TvmVCfsW, Hits: -99.995, size: 2466, queued_as: 605F5E680F4, dkim_id=@gmail.com, 5503 ms
Jun 15 02:42:58 vs3613 postfix/smtp[26298]: 60E6FE680EC: to=<testi@arrow-racing-league.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.7, delays=0.98/0.01/0.11/5.6, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=06639-11, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 605F5E680F4)
Jun 15 02:42:58 vs3613 postfix/qmgr[22064]: 60E6FE680EC: removed
Jun 15 02:43:00 vs3613 postfix/pipe[26307]: 605F5E680F4: to=<testi@arrow-racing-league.com>, relay=dovecot, delay=1.7, delays=0.17/0.03/0/1.5, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun 15 02:43:00 vs3613 postfix/qmgr[22064]: 605F5E680F4: removed
Jun 15 02:46:13 vs3613 postfix/anvil[26294]: statistics: max connection rate 1/60s for (smtp:209.85.128.196) at Jun 15 02:42:51
Jun 15 02:46:13 vs3613 postfix/anvil[26294]: statistics: max connection count 1 for (smtp:209.85.128.196) at Jun 15 02:42:51
Jun 15 02:46:13 vs3613 postfix/anvil[26294]: statistics: max cache size 1 at Jun 15 02:42:51
Jun 15 03:00:17 vs3613 postfix/smtpd[32438]: connect from mail-ve0-f193.google.com[209.85.128.193]
Jun 15 03:00:18 vs3613 postfix-policyd: connection from: 127.0.0.1 port: 50161 slots: 0 of 4096 used
Jun 15 03:00:18 vs3613 postfix-policyd: rcpt=8, module=bypass, host=209.85.128.193 (mail-ve0-f193.google.com), from=taalasmaaz@gmail.com, to=testi@arrow-racing-league.com, size=0
Jun 15 03:00:18 vs3613 postfix/smtpd[32438]: 811F9E680F2: client=mail-ve0-f193.google.com[209.85.128.193]
Jun 15 03:00:18 vs3613 postfix/cleanup[32473]: 811F9E680F2: message-id=<CAAmcrbb7gBitJ8DbAuu8eaF8XexsOxNU5ecWAg6zXPLN+3uvmw@mail.gmail.com>
Jun 15 03:00:18 vs3613 postfix/qmgr[22064]: 811F9E680F2: from=<taalasmaaz@gmail.com>, size=1874, nrcpt=1 (queue active)
Jun 15 03:00:19 vs3613 postfix/smtpd[32438]: disconnect from mail-ve0-f193.google.com[209.85.128.193]
Jun 15 03:00:24 vs3613 postfix/smtpd[32482]: connect from mail.flamingworks.com[127.0.0.1]
Jun 15 03:00:24 vs3613 postfix/smtpd[32482]: 064A5E680F4: client=mail.flamingworks.com[127.0.0.1]
Jun 15 03:00:24 vs3613 postfix/cleanup[32473]: 064A5E680F4: message-id=<CAAmcrbb7gBitJ8DbAuu8eaF8XexsOxNU5ecWAg6zXPLN+3uvmw@mail.gmail.com>
Jun 15 03:00:24 vs3613 postfix/qmgr[22064]: 064A5E680F4: from=<taalasmaaz@gmail.com>, size=2461, nrcpt=1 (queue active)
Jun 15 03:00:24 vs3613 postfix/smtpd[32482]: disconnect from mail.flamingworks.com[127.0.0.1]
Jun 15 03:00:24 vs3613 amavis[6638]: (06638-12) Passed CLEAN, LOCAL [209.85.128.193] [209.85.128.193] <taalasmaaz@gmail.com> -> <testi@arrow-racing-league.com>, Message-ID: <CAAmcrbb7gBitJ8DbAuu8eaF8XexsOxNU5ecWAg6zXPLN+3uvmw@mail.gmail.com>, mail_id: l8H4Lgr+7om3, Hits: -99.995, size: 1874, queued_as: 064A5E680F4, dkim_id=@gmail.com, 5282 ms
Jun 15 03:00:24 vs3613 postfix/smtp[32476]: 811F9E680F2: to=<testi@arrow-racing-league.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6, delays=0.57/0.01/0/5.4, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=06638-12, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 064A5E680F4)
Jun 15 03:00:24 vs3613 postfix/qmgr[22064]: 811F9E680F2: removed
Jun 15 03:00:25 vs3613 postfix/pipe[32484]: 064A5E680F4: to=<testi@arrow-racing-league.com>, relay=dovecot, delay=1.7, delays=0.24/0.02/0/1.4, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun 15 03:00:25 vs3613 postfix/qmgr[22064]: 064A5E680F4: removed
Jun 15 03:03:39 vs3613 postfix/anvil[32467]: statistics: max connection rate 1/60s for (smtp:209.85.128.193) at Jun 15 03:00:17
Jun 15 03:03:39 vs3613 postfix/anvil[32467]: statistics: max connection count 1 for (smtp:209.85.128.193) at Jun 15 03:00:17
Jun 15 03:03:39 vs3613 postfix/anvil[32467]: statistics: max cache size 1 at Jun 15 03:00:17
Jun 15 03:04:55 vs3613 postfix/smtpd[16516]: connect from mail-ve0-f193.google.com[209.85.128.193]
Jun 15 03:04:56 vs3613 postfix-policyd: connection from: 127.0.0.1 port: 50316 slots: 0 of 4096 used
Jun 15 03:04:56 vs3613 postfix-policyd: rcpt=9, module=bypass, host=209.85.128.193 (mail-ve0-f193.google.com), from=taalasmaaz@gmail.com, to=testi@arrow-racing-league.com, size=0
Jun 15 03:04:56 vs3613 postfix/smtpd[16516]: 447A7E680F2: client=mail-ve0-f193.google.com[209.85.128.193]
Jun 15 03:04:56 vs3613 postfix/cleanup[16520]: 447A7E680F2: message-id=<CAAmcrba2i+RVy-TtYqO4MYzLwizaV9iaEc_4z8Xrd2Z=0XZ+wg@mail.gmail.com>
Jun 15 03:04:56 vs3613 postfix/qmgr[22064]: 447A7E680F2: from=<taalasmaaz@gmail.com>, size=1888, nrcpt=1 (queue active)
Jun 15 03:04:56 vs3613 postfix/smtpd[16516]: disconnect from mail-ve0-f193.google.com[209.85.128.193]
Jun 15 03:05:02 vs3613 postfix/smtpd[17162]: connect from mail.flamingworks.com[127.0.0.1]
Jun 15 03:05:02 vs3613 postfix/smtpd[17162]: 09A92E680F4: client=mail.flamingworks.com[127.0.0.1]
Jun 15 03:05:02 vs3613 postfix/cleanup[16520]: 09A92E680F4: message-id=<CAAmcrba2i+RVy-TtYqO4MYzLwizaV9iaEc_4z8Xrd2Z=0XZ+wg@mail.gmail.com>
Jun 15 03:05:02 vs3613 postfix/qmgr[22064]: 09A92E680F4: from=<taalasmaaz@gmail.com>, size=2475, nrcpt=1 (queue active)
Jun 15 03:05:02 vs3613 amavis[6639]: (06639-12) Passed CLEAN, LOCAL [209.85.128.193] [209.85.128.193] <taalasmaaz@gmail.com> -> <testi@arrow-racing-league.com>, Message-ID: <CAAmcrba2i+RVy-TtYqO4MYzLwizaV9iaEc_4z8Xrd2Z=0XZ+wg@mail.gmail.com>, mail_id: kOtbKKMafBIM, Hits: -99.995, size: 1888, queued_as: 09A92E680F4, dkim_id=@gmail.com, 5988 ms
Jun 15 03:05:02 vs3613 postfix/smtpd[17162]: disconnect from mail.flamingworks.com[127.0.0.1]
Jun 15 03:05:02 vs3613 postfix/smtp[16521]: 447A7E680F2: to=<testi@arrow-racing-league.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.8, delays=0.51/0.01/0/6.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=06639-12, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 09A92E680F4)
Jun 15 03:05:02 vs3613 postfix/qmgr[22064]: 447A7E680F2: removed
Jun 15 03:05:04 vs3613 postfix/pipe[17405]: 09A92E680F4: to=<testi@arrow-racing-league.com>, relay=dovecot, delay=2.1, delays=0.62/0.05/0/1.4, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun 15 03:05:04 vs3613 postfix/qmgr[22064]: 09A92E680F4: removed
Jun 15 03:08:16 vs3613 postfix/anvil[16518]: statistics: max connection rate 1/60s for (smtp:209.85.128.193) at Jun 15 03:04:55
Jun 15 03:08:16 vs3613 postfix/anvil[16518]: statistics: max connection count 1 for (smtp:209.85.128.193) at Jun 15 03:04:55
Jun 15 03:08:16 vs3613 postfix/anvil[16518]: statistics: max cache size 1 at Jun 15 03:04:55
Jun 15 03:44:29 vs3613 postfix/smtpd[10931]: connect from 75-147-66-193-Philadelphia.hfc.comcastbusiness.net[75.147.66.193]
Jun 15 03:44:29 vs3613 postfix/smtpd[10931]: lost connection after CONNECT from 75-147-66-193-Philadelphia.hfc.comcastbusiness.net[75.147.66.193]
Jun 15 03:44:29 vs3613 postfix/smtpd[10931]: disconnect from 75-147-66-193-Philadelphia.hfc.comcastbusiness.net[75.147.66.193]
Jun 15 03:47:49 vs3613 postfix/anvil[10933]: statistics: max connection rate 1/60s for (smtp:75.147.66.193) at Jun 15 03:44:29
Jun 15 03:47:49 vs3613 postfix/anvil[10933]: statistics: max connection count 1 for (smtp:75.147.66.193) at Jun 15 03:44:29
Jun 15 03:47:49 vs3613 postfix/anvil[10933]: statistics: max cache size 1 at Jun 15 03:44:29

9

Re: SSL Error

Log is fine, no reject email at all.

10

Re: SSL Error

Could it be a DNS issue causing that?

11

Re: SSL Error

After some brainwork I've solved the problem. DNS issue was causing it.
Thank you for your help.