1 (edited by trio1234 2018-12-27 22:20:20)

Topic: Its Safe this convination on postfix?

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

Hi i m configuring Prestashop whit my  iRedmail server.
But when i  configure my 

smtp.mail: mail.xxxx.xxx
username: xxx@xxx.com
encryption: TLS
pass: xxxx
Port: 587

Said:
Unable to connect with TLS encryption

I change in /etc/postfix/main.cf

-o smtpd_tls_security_level=encrypt to

-o smtpd_tls_security_level=may

An change  to

smtp.mail: mail.xxxx.xxx
username: xxx@xxx.com
encryption: none
pass: xxxx
Port: 587

Work well . but its any convinion use this ?
Thx

----

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

2

Re: Its Safe this convination on postfix?

worked 2 times an now  i had this error

Failed to authenticate on SMTP server with username "xxx@xxx.com" using 2 possible authenticators

3 (edited by trio1234 2018-12-27 22:54:51)

Re: Its Safe this convination on postfix?

I fix this  adding DKIM.
and send wwhit php mail.
whit this 

Email picked up by Postfix locally goes through transport "pickup" (defined in /etc/postfix/master.cf). If you want to sign it, modify /etc/postfix/master.cf like this:

*) Find the "pickup" transport, like below:

pickup    unix  n       -       y       60      1       pickup

*) Append one line RIGHT AFTER it:

pickup    unix  n       -       y       60      1       pickup
  -o content_filter=smtp-amavis:[127.0.0.1]:10026

Warning: there must be at least one whitespace before '-o'.
*) Restart Postfix service.

With this change, ALL emails sent with 'sendmail' or 'mail' programs (or PHP mail function, etc) will go through Amavisd (sign DKIM signature, and more).

4

Re: Its Safe this convination on postfix?

trio1234 wrote:

I change in /etc/postfix/main.cf
-o smtpd_tls_security_level=encrypt to
-o smtpd_tls_security_level=may

Don't do this change. leave it to "encrypt" for secure connection.