1

Topic: SMTP error and Postfix log file not exist

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- Deployed with iRedMail Easy or the downloadable installer? No
- Linux/BSD distribution name and version: debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====

I'm trying to send email out through SMTP using:
host: hostname of the mail server
port: 25
username: full email address of the inbox
password: password of the inbox

I then got error message:
Command parameter not implemented. The server response was: 5.5.2 : Helo command rejected: need fully-qualified hostname

The hostname I'm using on SMTP is the same name as the name returned by "hostname -f" on server.

I then found the document "Errors you may see while maintaining iRedMail server
" and trying to find the Postfix log, but there's no mail.log file exist under var/log folder. Do you have any ideas?

----

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

2

Re: SMTP error and Postfix log file not exist

so, what is the hostname?

3

Re: SMTP error and Postfix log file not exist

Wrong smtp port number (25).
FYI: https://docs.iredmail.org/#mua

4 (edited by persisl 2022-06-15 12:11:04)

Re: SMTP error and Postfix log file not exist

I tried the port 25 because I tried the port 587 before and got error:
The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot

Is there anything I need to do with the mail server host name for this error?

Many Thanks,
Leon

5

Re: SMTP error and Postfix log file not exist

persisl wrote:

The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot

This is normal since iRedMail uses a self-signed ssl cert by default. You can solve this by requesting a free ssl cert from vendor like Let's Encrypt, or purchase a cert from other vendor.

FYI: https://docs.iredmail.org/letsencrypt.html

6

Re: SMTP error and Postfix log file not exist

Awesome it works perfectly aftering adding the SSL certificate. Thank you.