Hi everyone,
I hope this message finds you well.
I'm having problems with the "new outlook" the default version in
Windows 11.
When I connect to my account in the "new outlook", the IMAP connection
works fine, I can see all the e-mails, but when I try to send a new
e-mail a receive a e-mail with error.
We couldn't deliver your message.
Original message details
Created date: 10/31/2024 5:53:03 PM
Sender address: giuli...@hospedaqui.com.br
Recipient addresses: *********@gmail.com
Subject: teste
Technical details
SmtpSubmissionPermanent5XXException: Smtp submission failed. Server
'smtp.hospedaqui.com.br' Port '587'. --> Unexpected SMTP server
response. Expected: 334, actual: 535, whole response: 535 5.7.8 Error:
authentication failed: Invalid authentication mechanism
Failure code: b2d1
So I access my server and access the mail.log, and notice the following
messages:
Oct 31 17:54:08 host01 postfix/submission/smtpd[467495]: connect from
unknown[2603:1056:c03:1c16::5]
Oct 31 17:54:08 host01 postfix/submission/smtpd[467495]: warning:
unknown[2603:1056:c03:1c16::5]: SASL LOGIN authentication failed:
Invalid authentication mechanism
Oct 31 17:54:08 host01 postfix/submission/smtpd[467495]: lost connection
after AUTH from unknown[2603:1056:c03:1c16::5]
Oct 31 17:54:08 host01 postfix/submission/smtpd[467495]: disconnect from
unknown[2603:1056:c03:1c16::5] ehlo=2 starttls=1 auth=0/1 commands=3/4
2603:1056:c03:1c16::5 -> Microsoft Corporation
The "new outlook" seems to use a Microsoft Cloud service in the middle,
so it's no direct connection to my server.
These problem is just in the "new outlook", the classic outlook, mobile
outlook, web version works fine.
I don't know if this is a miss configuration or something else.
Using the virtual_transport = dovecot.
Postix main.conf (mail_version = 3.6.4)
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix/sbin
data_directory = /var/lib/postfix
mail_owner = postfix
inet_protocols = all
mydestination = localhost, localhost.localdomain
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.10.1/samples
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
myhostname = host01.farm03.hospedaqui.net.br
mynetworks = 127.0.0.0/8
message_size_limit = 251658240
header_size_limit = 4096000
virtual_alias_domains =
virtual_alias_maps =
proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains =
proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps =
proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem
smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
proxy_read_maps = $local_recipient_maps $mydestination
$virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps
$virtual_mailbox_domains $relay_recipient_maps $relay_domains
$canonical_maps $sender_canonical_maps $recipient_canonical_maps
$relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
inet_interfaces = all
disable_vrfy_command = yes
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters
milter_default_action = accept
tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_security_level = encrypt
smtpd_data_restrictions = check_policy_service
unix:/var/log/policyServerSocket
smtpd_policy_service_default_action = DUNNO
header_checks = regexp:/etc/postfix/header_checks
enable_original_recipient = no
smtpd_data_restrictions = check_policy_service
unix:/var/log/policyServerSocket
smtpd_policy_service_default_action = DUNNO
relayhost = [email-smtp.us-east-2.amazonaws.com]:587
smtpd_data_restrictions = check_policy_service
unix:/var/log/policyServerSocket
smtpd_policy_service_default_action = DUNNO
Dovecot: 2.3.16 (7e2e900c1a)
Best regards,
Giuliano Geiss Arnhold,
Brazil
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org