1 (edited by bozolacc 2014-06-01 15:50:33)

Topic: smtp secure and no secure one time

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
dear ZhangHuangbin!

My iredmail 0.8.7 is fresh,new installation, and iredadmin ldap backend.
I'd like use smtp secure tls 587 port and nosecure 25 port.The older iredmail version it's worked with the settings below.
When i send messages in 587 port it's ok, but I use no sesure 25 port I have error massages thunderbird.
The mail server responded: 5.7.1
Sender address rejected: not logged in

In a mail.log
postfix/ssmtpd[20539]: NOQUEUE: reject: RCPT from unknown[x.x.x.x]: 553 5.7.1 <x.y@z.com>: Sender address rejected: not logged in; from=<

I change main.cf
cat main.cf |grep may
smtp_tls_security_level = may
smtpd_tls_security_level = may

and I try other non secure port add a line in master.cf
1234      inet  n       -       -       -       -       smtpd
#uncomment
submission inet n       -       -       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING
smtps     inet  n       -       -       -       -       smtpd
  -o syslog_name=postfix/smtps
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING
#
What can I do, how to use smtp port 25

----

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

2

Re: smtp secure and no secure one time

iRedMail doesn't allow SMTP auth through port 25 by default, if you want to use it, please comment out below line in Postfix config file:

smtpd_tls_auth_only = yes

And, please ALWAYS show us basic info of your iRedMail server:

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====

3

Re: smtp secure and no secure one time

Dear Zhang!

Sorry for the little information I misunderstood one else.
- iRedMail version: The latest version of install a 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Linux/BSD distribution name and version: The latest version of install a debain 7.5.0.

I like to use is both simple correspondence without encryption, 143 imap, smtp 25 and a well-functioning 143 encrypted e-mail, imap, smtp 587
The encryption settings are correct, the encryption and the unemployed are not working.


ZhangHuangbin wrote:

iRedMail doesn't allow SMTP auth through port 25 by default, if you want to use it, please comment out below line in Postfix config file:

smtpd_tls_auth_only = yes

And, please ALWAYS show us basic info of your iRedMail server:

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====

4

Re: smtp secure and no secure one time

I'm afraid that I don't understand what you really want.

bozolacc wrote:

I'd like use smtp secure tls 587 port and nosecure 25 port.The older iredmail version it's worked with the settings below.

With default iRedMail setting, both port 587 (TLS) and 25 are enabled by default, but smtp auth on port 25 is disabled.