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

Re: Outlook-ActiveSync Not Connecting

$
0
0

I have the same problem on 0.9.9. Did you found any problem? How to manually check my EAS works?


messages: 出現很多 pool-inet log

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:  CentOS 7.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi 版主:
新裝iRedMail , messages 出現很多下面log

Dec 25 15:45:14 mail php-fpm: [25-Dec-2018 15:45:14] NOTICE: [pool inet] child 13802 exited with code 0 after 30.000185 seconds from start
Dec 25 15:45:14 mail php-fpm: [25-Dec-2018 15:45:14] NOTICE: [pool inet] child 13853 started
Dec 25 15:45:23 mail php-fpm: [25-Dec-2018 15:45:23] NOTICE: [pool inet] child 13812 exited with code 0 after 29.999817 seconds from start
Dec 25 15:45:23 mail php-fpm: [25-Dec-2018 15:45:23] NOTICE: [pool inet] child 13855 started
Dec 25 15:45:44 mail php-fpm: [25-Dec-2018 15:45:44] NOTICE: [pool inet] child 13853 exited with code 0 after 29.995177 seconds from start
Dec 25 15:45:44 mail php-fpm: [25-Dec-2018 15:45:44] NOTICE: [pool inet] child 13859 started
Dec 25 15:45:53 mail php-fpm: [25-Dec-2018 15:45:53] NOTICE: [pool inet] child 13855 exited with code 0 after 29.993937 seconds from start
Dec 25 15:45:53 mail php-fpm: [25-Dec-2018 15:45:53] NOTICE: [pool inet] child 13867 started

google 說 /etc/php-fpm.d/www.conf
pm.max_requests = 5 須修改
求正解.

Thanks.

Re: messages: 出現很多 pool-inet log

$
0
0

- iRedMail 配置的 pm.max_requests 应该是设置为 100 的,你检查下。
- 将 pm.max_children 设置为更大的值试试。

Re: 502 Bad Gateway when accessing iredadmin iredadmin 0.9.9

Re: mail delivery and roundcube login problem

$
0
0

- Did you upgrade iRedMail manually?
- please show us full content of file /etc/dovecot/dovecot-mysql.conf (remove password before posting), i believe you missed one ':' in the CONCAT statement.

Re: SOGo Login Error

Re: Message reject detail

$
0
0

Why do I still not receive emails from this sender? This is the log:

Dec 25 09:37:05 mail postfix/postscreen[13573]: CONNECT from [83.158.4.26]:60656 to [xxx.xxx.xxx.xxx]:25
Dec 25 09:37:06 mail postfix/dnsblog[13574]: warning: dnsblog_query: lookup error for DNS query 26.4.158.83.zen.spamhaus.org: Host or domain name not found. Name service error for name=26.4.158.83.zen.spamhaus.org type=A: Host not found, try again
Dec 25 09:37:06 mail postfix/postscreen[13573]: PASS OLD [83.158.4.26]:60656
Dec 25 09:37:06 mail postfix/smtpd[13576]: connect from smtp1.iliad.it[83.158.4.26]
Dec 25 09:37:06 mail postfix/smtpd[13576]: Anonymous TLS connection established from smtp1.iliad.it[83.158.4.26]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Dec 25 09:37:06 mail postfix/smtpd[13576]: NOQUEUE: reject: RCPT from smtp1.iliad.it[83.158.4.26]: 451 4.7.1 <piero@domain.eu>: Recipient address rejected: Intentional policy rejection, please try again later; from=<noreply@iliad.it> to=<piero@adomain.eu> proto=ESMTP helo=<smtp1.proxad.it>
Dec 25 09:37:06 mail postfix/smtpd[13576]: disconnect from smtp1.iliad.it[83.158.4.26] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8

I added on top/etc/postfix/helo_access.pcre

/^smtp1\.iliad\.it$/ OK
/^smtp1\.proxad\.it$/ OK

and executed the command:

python wblist_admin.py --add --whitelist 83.158.4.26 @iliad.it @proxad.it

what am I doing wrong?

Re: mail delivery and roundcube login problem

$
0
0
ZhangHuangbin wrote:

i believe you missed one ':'

Oh dear! So I did!

You certainly earned a couple of coffees -- and a christmas bonus too.  It is all working now.  Thank you.


Re: Outlook-ActiveSync Not Connecting

$
0
0

I made a fresh install now, same result. How can I debug these problems and what should I debug ?

homeDirectory: storageBaseDirectory: mailMessageStore: 問題

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:  CentOS7.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nignx
- Manage mail accounts with iRedAdmin-Pro? LDAP-3.2
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

新建帳號:  6@mydomain.com
查看 LDIF:
homeDirectory: /var/vmail/vmail1/mydomain.com/6/_/_/6-2018.12.26.10.57.55/

再Advanced 隨意修改 Enabled Services 如Alias account 後變更為
homeDirectory: /var/vmail/vmail1/
且增加原先未有的屬性:
storageBaseDirectory: /var/vmail/vmail1/
mailMessageStore:

# ll /var/vmail/vmail1/
總計 0
drwx------ 5 vmail vmail 201 12月 26 09:36 Maildir
drwx------ 4 vmail vmail 125 12月 26 09:46 mdbox
drwx------ 5 vmail vmail  33 12月 25 17:44 mydoamin.com

Thanks.

Re: mail delivery and roundcube login problem

$
0
0

Thanks for the coffee. Merry Christmas. smile

Re: homeDirectory: storageBaseDirectory: mailMessageStore: 問題

Re: Message reject detail

Re: homeDirectory: storageBaseDirectory: mailMessageStore: 問題

$
0
0

Hi 版主:

homeDirectory: /var/vmail/vmail1/mydomain.com/7/_/_
/7-2018.12.26.14.25.05/

homeDirectory:  正常沒有被更動

但查不到該目錄: (要有/7/ 才對)
# ll /var/vmail/vmail1/mydom.com/
總計 0
drwx------ 3 vmail vmail 15 12月 25 17:44 a
drwx------ 3 vmail vmail 15 12月 25 12:19 p
drwx------ 3 vmail vmail 15 12月 25 17:31 t


LDIF: 7@mydomain.com

accountStatus: active
amavisLocal: TRUE
cn: 7
enabledService: managesievetls
enabledService: managesieve
enabledService: imaptls
enabledService: displayedInGlobalAddressBook
enabledService: sievetls
enabledService: smtp
enabledService: lda
enabledService: smtpsecured
enabledService: pop3
enabledService: forward
enabledService: deliver
enabledService: lmtp
enabledService: lib-storage
enabledService: sieve
enabledService: imap
enabledService: dsync
enabledService: smtptls
enabledService: sogo
enabledService: imapsecured
enabledService: pop3tls
enabledService: senderbcc
enabledService: recipientbcc
enabledService: pop3secured
enabledService: internal
enabledService: doveadm
enabledService: managesievesecured
enabledService: mail
enabledService: indexer-worker
enabledService: sievesecured
homeDirectory: /var/vmail/vmail1/mydomain.com/7/_/_/7-2018.12.26.14.25.05/
mail: 7@mydomain.com
mailQuota: 5268045824
mailboxFolder: Maildir
mailboxFormat: maildir
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: shadowAccount
objectClass: amavisAccount
preferredLanguage: zh_TW
shadowLastChange: 17891
sn: 7
uid: 7
userPassword: {SSHA}3+Z2AR1885+FsZowjTQAAAFq3flDAF+SWVR3Fw==
userRecipientBccAddress: admin@mydomain.com
userSenderBccAddress: admin@mydomain.com


這兩個屬性也沒有
mailMessageStore:
storageBaseDirectory: /var/vmail/vmail1/

感謝回覆

Re: homeDirectory: storageBaseDirectory: mailMessageStore: 問題

$
0
0

Hi 版主:

對不起, 應可以了.

RC 登入後, 目錄就產生了.

感謝,

至於 這兩個屬性:
mailMessageStore:
storageBaseDirectory:
我查看其他帳號 , 有的有, 有的沒有,
其是 iRedAdmin後端產生?

還有:
mdbox 的儲存格式 , 要每個帳號手動更新.
無法dovecot-ldap.conf 更改後, 後續新建帳號自動為mdbox?

Thanks.


Re: homeDirectory: storageBaseDirectory: mailMessageStore: 問題

$
0
0
rain6966 wrote:

至於 這兩個屬性:
mailMessageStore:
storageBaseDirectory:
我查看其他帳號 , 有的有, 有的沒有,
其是 iRedAdmin後端產生?

旧版本 iRedAdmin-Pro 使用了这两个属性,但是在 iRedMail 的其它组件里没有用到,所以在最新发布的 iRedAdmin-Pro 里弃用了这两个属性。

rain6966 wrote:

mdbox 的儲存格式 , 要每個帳號手動更新.
無法dovecot-ldap.conf 更改後, 後續新建帳號自動為mdbox?

- 对于已经存在的帐号和 mailbox,只能先 migrate mailbox 到新格式(maildir -> mdbox),然后立刻修改 sql/ldap 里的 mailboxFormat, mailboxFolder 字段/属性。因为 iRedMail-0.9.9 里 dovecot 已经被配置为直接从 sql/ldap 查询这些信息,所以会立即生效。
- 对于新建帐号,在 iRedAdmin-Pro 里有相关参数可以控制,你可以在 iRedAdmin-Pro 的 "libs/default_settings.py" 里找到默认设置,要定制的话请复制参数到 "settings.py":

# Mailbox format (in lower cases)
#   - All Dovecot supported mailbox formats are ok, e.g. maildir, mdbox.
#     https://wiki2.dovecot.org/MailboxFormat
#   - If not set, Dovecot will use the hard-coded setting defined in its config
#     file.
MAILBOX_FORMAT = 'maildir'

# Default folder used to store mailbox under per-user HOME directory.
#
#   - Folder name is case SeNsItIvE. Defaults to 'Maildir'.
#
#   - If not set, Dovecot will use the hard-coded setting defined in its config
#     file.
#
#   - It will be appended to the `mail` variable returned by Dovecot SQL/LDAP
#     query. for example, sql query in `/etc/dovecot/dovecot-mysql.conf`:
#
#       user_query = SELECT ...,  CONCAT(...) AS mail, ...
#
#     Or LDAP query in `/etc/dovecot/dovecot-ldap.conf`:
#
#       user_attrs      = ...,=mail=%{ldap:mailboxFormat:maildir}:~/%{ldap:mailboxFolder:Maildir}/,...
MAILBOX_FOLDER = 'Maildir'

Re: Can't send receive mail

$
0
0

My server is working and sends mail to an account/domain I have enabled in iredadmin. It sent mail to my gmail and yahoo also but suddenly stopped doing that. This shows in maillog:
Dec 26 10:20:36 mail postfix/smtp[9953]: connect to mta7.am0.yahoodns.net[98.136.102.54]:25: Connection timed out
This shows in fail2ban.log:
ubuntu@mail:~$ sudo tail -f /var/log/fail2ban.log
2018-12-25 16:17:11,247 fail2ban.filter         [18856]: INFO      findtime: 600
2018-12-25 16:17:11,247 fail2ban.actions        [18856]: INFO      banTime: 600
2018-12-25 16:17:11,249 fail2ban.jail           [18856]: INFO    Jail 'sshd' started
2018-12-25 16:21:11,484 fail2ban.server         [18856]: INFO    Shutdown in progress...
2018-12-25 16:21:11,486 fail2ban.server         [18856]: INFO    Stopping all jails
2018-12-25 16:21:11,486 fail2ban.filter         [18856]: INFO    Removed logfile: '/var/log/auth.log'
2018-12-25 16:21:11,543 fail2ban.actions        [18856]: NOTICE  [sshd] Flush ticket(s) with iptables-multiport
2018-12-25 16:21:11,692 fail2ban.jail           [18856]: INFO    Jail 'sshd' stopped
2018-12-25 16:21:11,693 fail2ban.database       [18856]: INFO    Connection to database closed.
2018-12-25 16:21:11,693 fail2ban.server         [18856]: INFO    Exiting Fail2ban

Iptables shows nothing unusual.

Anyone have a clue?

Thank's

Re: homeDirectory: storageBaseDirectory: mailMessageStore: 問題

$
0
0

注意:mdbox 需要特别小心它的 index 文件,一旦被破坏或丢失,相关的 email messages 即使仍然存在也无法 recover。

Re: Can't send receive mail

$
0
0

1: check local firewall (done by you)
2: check Amazon EC2 firewall (done by you)
3: contact Amazon support to make sure they don't block outbound port 25

Re: Can't send receive mail

$
0
0

This is Amazon EC2 firewall:
SMTP TCP 25 0.0.0.0/0
   
SMTP TCP 25 ::/0
   
IMAP TCP 143  0.0.0.0/0
   
IMAP TCP 143 ::/0
   
Custom TCP Rule
   
TCP 587 0.0.0.0/0
   
Custom TCP Rule
   
TCP 587 ::/0

this is maillog from gmail:
Dec 26 10:40:36 mail postfix/smtp[10370]: connect to gmail-smtp-in.l.google.com[74.125.131.26]:25: Connection timed out
Dec 26 10:41:06 mail postfix/smtp[10370]: connect to alt1.gmail-smtp-in.l.google.com[108.177.125.26]:25: Connection timed out
Dec 26 10:41:36 mail postfix/smtp[10370]: connect to alt2.gmail-smtp-in.l.google.com[74.125.195.26]:25: Connection timed out
Dec 26 10:42:06 mail postfix/smtp[10370]: connect to alt3.gmail-smtp-in.l.google.com[64.233.179.26]:25: Connection timed out
Dec 26 10:42:36 mail postfix/smtp[10370]: connect to alt4.gmail-smtp-in.l.google.com[74.125.129.26]:25: Connection timed out
Dec 26 10:42:36 mail postfix/smtp[10370]: 43PngR6sKPz27tq: to=<user@gmail.com>, relay=none, delay=4505, delays=4354/0.01/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.129.26]:25: Connection timed out)

Amazon doesn't block port 25 on my other server why would they do it on the new one?

I don't know of any local firewall done by me?

Viewing all 45920 articles
Browse latest View live




Latest Images