1 (edited by virakocha 2016-12-05 02:43:15)

Topic: Allow printer (static IP) to connect to port 25 without SSL (solved)

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

Dear all,

I have a network printer with a static IP. The printer configuration has an option to have print to email. But for some reason I can't get it to work with IredMail. On printer I can't set any SSL options so printer need to connect to the server on port 25 or any other but just without SSL.

Here is my log from form mail.log. It is relating to FQHN.

Dec  3 12:51:43 mail postfix/postscreen[19476]: CONNECT from [xx.xxx.xx.xxx]:50593 to [xx.xx.xx.xx]:25
Dec  3 12:51:43 mail postfix/postscreen[19476]: PASS OLD [xx.xx.xx.xx]:50593
Dec  3 12:51:43 mail postfix/smtpd[19477]: connect from Samsung-Printer[xx.xx.xx.xx]
Dec  3 12:51:52 mail postfix/smtpd[19477]: NOQUEUE: reject: RCPT from Samsung-Printer[xx.xx.xx.xx]: 504 5.5.2 <SEC00159994BEE7>: Helo command rejected: need fully-qualified hostname; from=<email@email> to=<email@email> proto=ESMTP helo=<SEC00159994BEE7>

I would appreciate if anyone can point me in to the right direction for solving this issue.

Thanks in advance Z

----

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

2

Re: Allow printer (static IP) to connect to port 25 without SSL (solved)

I have tried setting static ip in main.cf with the following

mynetworks = ['xx.xx.xx.xx', '127.0.0.1']

But still I get the same fault.

3

Re: Allow printer (static IP) to connect to port 25 without SSL (solved)

If your printer supports SMTP AUTH without TLS, try this tutorial:
http://www.iredmail.org/docs/additional.smtp.port.html

If your printer doesn't support SMTP AUTH at all, according to the error message in your first post, please whitelist the HELO name in /etc/postfix/helo_access.pcre like below:

/^(SEC00159994BEE7)$/ DUNNO

I guess you may prefer 'OK' instead of 'DUNNO'.

4

Re: Allow printer (static IP) to connect to port 25 without SSL (solved)

Hi ZhangHuangbin

Great thanks for the help. First option did solved the problem.

Keep up the good work.

Cheers Z