1

Topic: mailcleaner with Iredmail

==== Required information ====
- iRedMail version (check /etc/iredmail-release): latest
- Linux/BSD distribution name and version: centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Active directory
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi Team,

I have mailcleaner installed as a mail gateway in front of Iredmail. It used to be exchange 2003 and we just moved it to Iredmail. Now mailcleaner sends each user a quarentine report everyday for them to check and release any fasle positive emails. After moving to Irdemail, the report is not reaching the end users.
I had a look in the log and on Iredmail in the maillog, I can see the following:


00:03:09 iredmail postfix/postscreen[20870]: CONNECT from [192.X.X.X]:59445 to [192.X.X.X]:25
May 16 00:03:09 iredmail postfix/postscreen[20870]: PASS OLD [192.X.X.X]:59445
May 16 00:03:09 iredmail postfix/smtpd[20871]: connect from unknown[192.X.X.X]
May 16 00:03:09 iredmail postfix/smtpd[20871]: Anonymous TLS connection established from unknown[192.X.X.X]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
May 16 00:03:09 iredmail postfix/smtpd[20871]: NOQUEUE: reject: RCPT from unknown[192.X.X.X]: 550 5.1.0 <mailcleaner@domain.com>: Sender address rejected: User unknown in virtual mailbox table; from=<mailcleaner@domain.com> to=<user@domain.com> proto=ESMTP helo=<domain.com>
May 16 00:03:09 iredmail postfix/smtpd[20871]: disconnect from unknown[192.X.X.X]
May 16 00:03:09 iredmail postfix/postscreen[20870]: CONNECT from [192.X.X.X]:59448 to [192.X.X.X]:25
May 16 00:03:09 iredmail postfix/postscreen[20870]: PASS OLD [192.X.X.X]:59448
May 16 00:03:09 iredmail postfix/smtpd[20871]: connect from unknown[192.X.X.X]

Can anyone advise how I could fix it pls without compromising the security features of Iredmail.

Cheers,

Rajbps

----

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

2

Re: mailcleaner with Iredmail

Forgot to add that the email address "mailcleaner@domain.com" does not exist. Its an email address used by mailcleaner to just send emails out to the users.


rajbps wrote:

==== Required information ====
- iRedMail version (check /etc/iredmail-release): latest
- Linux/BSD distribution name and version: centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Active directory
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi Team,

I have mailcleaner installed as a mail gateway in front of Iredmail. It used to be exchange 2003 and we just moved it to Iredmail. Now mailcleaner sends each user a quarentine report everyday for them to check and release any fasle positive emails. After moving to Irdemail, the report is not reaching the end users.
I had a look in the log and on Iredmail in the maillog, I can see the following:


00:03:09 iredmail postfix/postscreen[20870]: CONNECT from [192.X.X.X]:59445 to [192.X.X.X]:25
May 16 00:03:09 iredmail postfix/postscreen[20870]: PASS OLD [192.X.X.X]:59445
May 16 00:03:09 iredmail postfix/smtpd[20871]: connect from unknown[192.X.X.X]
May 16 00:03:09 iredmail postfix/smtpd[20871]: Anonymous TLS connection established from unknown[192.X.X.X]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
May 16 00:03:09 iredmail postfix/smtpd[20871]: NOQUEUE: reject: RCPT from unknown[192.X.X.X]: 550 5.1.0 <mailcleaner@domain.com>: Sender address rejected: User unknown in virtual mailbox table; from=<mailcleaner@domain.com> to=<user@domain.com> proto=ESMTP helo=<domain.com>
May 16 00:03:09 iredmail postfix/smtpd[20871]: disconnect from unknown[192.X.X.X]
May 16 00:03:09 iredmail postfix/postscreen[20870]: CONNECT from [192.X.X.X]:59448 to [192.X.X.X]:25
May 16 00:03:09 iredmail postfix/postscreen[20870]: PASS OLD [192.X.X.X]:59448
May 16 00:03:09 iredmail postfix/smtpd[20871]: connect from unknown[192.X.X.X]

Can anyone advise how I could fix it pls without compromising the security features of Iredmail.

Cheers,

Rajbps

3

Re: mailcleaner with Iredmail

Ok I read a few post on the forum of Iredmail. I have created that user on AD. Will have a look later on when the script runs if it will accept the emails now as the user should be in the list. Will update later

4

Re: mailcleaner with Iredmail

Your program should perform SMTP auth to send email.