1

Topic: Xerox Machine to send emails

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

How can I send emails from Xerox Machine,  the Xerox Machine does not have the option to send mails on port 587.  there is an option for only port 25.  Please help.

----

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

2

Re: Xerox Machine to send emails

Few solutions:

1) Open a new SMTP port (without TLS/SSL, or even without SMTP AUTH but limited to few internal IP addresses) in Postfix for your internal network devices, then update your Xerox machine to use this new port.
2) You can add the IP address of this Xeror machine in trusted network:

*) Add ip in Postfix parameter "mynetworks =" (/etc/postfix/main.cf).
*) Add ip in iRedAPD parameter "MYNETWORKS =" (/opt/iredapd/settings.py). NOTE: this parameter is all in upper cases, and doesn't exist in config file by default, feel free to add it like below, then restart iRedAPD service.

MYNETWORKS = ['192.168.1.10', '172.16.100.2']

3

Re: Xerox Machine to send emails

I have addded as your email below:

Add ip in Postfix parameter "mynetworks =" (/etc/postfix/main.cf).
mynetworks = '127.0.0.1', '172.17.100.170', '172.20.11.100'

Add ip in iRedAPD parameter "MYNETWORKS =" (/opt/iredapd/settings.py). NOTE: this parameter is all in upper cases,
MYNETWORKS =["161.47.34.7", "gate.forward.smtp.ord1a.emailsrvr.com", "172.17.100.170", "172.20.11.100"]

Logs shows :
Mar  1 11:53:06 babmail amavis[31406]: (31406-11) Passed CLEAN {RelayedInternal}, MYNETS LOCAL [172.20.11.100]:44561 <wfmail10@al-babtain.com.sa> -> <abd.alsoufi@al-babtain.com.sa>, Queue-ID: 5C5BB3E950, Message-ID: <1257720567.1519894340147.JavaMail.wfmail10@al-babtain.com.sa>, mail_id: A0SmT7d9u1yz, Hits: -2.91, size: 1298, queued_as: E1D3F5EE126, dkim_new=dkim:al-babtain.com.sa, 1505 ms, Tests: [ALL_TRUSTED=-1,BAYES_00=-1.9,T_RP_MATCHES_RCVD=-0.01]

But I did not receive the mail.

4

Re: Xerox Machine to send emails

shareefbab wrote:

I have addded as your email below:

Add ip in Postfix parameter "mynetworks =" (/etc/postfix/main.cf).
mynetworks = '127.0.0.1', '172.17.100.170', '172.20.11.100'

Please remove quotes.

shareefbab wrote:

Add ip in iRedAPD parameter "MYNETWORKS =" (/opt/iredapd/settings.py). NOTE: this parameter is all in upper cases,
MYNETWORKS =["161.47.34.7", "gate.forward.smtp.ord1a.emailsrvr.com", "172.17.100.170", "172.20.11.100"]

Please remove domain names. e.g. "gate.forward.smtp.ord1a.emailsrvr.com".
It supports single IP address, or ip network, but not email address or domain names.

shareefbab wrote:

But I did not receive the mail.

Check Dovecot log file to see where it delivers the mail.

5

Re: Xerox Machine to send emails

Mar 01 13:37:36 imap-login: Info: Login: user=<wfmail10@al-babtain.com.sa>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13127, secured, session=<p0y9cldm8aB/AAAB>
Mar 01 13:37:36 imap(wfmail10@al-babtain.com.sa): Info: Logged out in=495 out=4385
Mar 01 13:38:36 imap-login: Info: Login: user=<wfmail10@al-babtain.com.sa>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13298, secured, session=<JttQdldmM6F/AAAB>
Mar 01 13:38:36 imap(wfmail10@al-babtain.com.sa): Info: Logged out in=495 out=4385
Mar 01 13:39:36 imap-login: Info: Login: user=<wfmail10@al-babtain.com.sa>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13394, secured, session=<Om7keVdmQKF/AAAB>
Mar 01 13:39:36 imap(wfmail10@al-babtain.com.sa): Info: Logged out in=495 out=4385
Mar 01 13:40:36 imap-login: Info: Login: user=<wfmail10@al-babtain.com.sa>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13477, secured, session=<bRJ4fVdmRKF/AAAB>
Mar 01 13:40:36 imap(wfmail10@al-babtain.com.sa): Info: Logged out in=495 out=4385
Mar 01 13:41:36 imap-login: Info: Login: user=<wfmail10@al-babtain.com.sa>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13605, secured, session=<hpkLgVdmgaF/AAAB>
Mar 01 13:41:36 imap(wfmail10@al-babtain.com.sa): Info: Logged out in=495 out=4385
[root@babmail log]#

6

Re: Xerox Machine to send emails

Pasted log is just IMAP login/logout info. Please check all Dovecot log files to find related error message.