Skip to content

warning: SASL authentication failure: unable to canonify user and get auxprops #1

@Azgar1998

Description

@Azgar1998

Hello,
I have an ubuntu server with postfix and sasl authentication. authentication works for glpi and a powershell script. when I do the same thing with ricoh copiers, I have this message:

warning: unknown[IP_RICOH]: SASL NTLM authentication failed: authentication failure
avril 25 16:05:44 server_name postfix/smtpd[86681]: warning: SASL authentication failure: unable to canonify user and get auxprops
avril 25 16:05:44 server_name postfix/smtpd[86681]: warning: unknown[IP_RICOH]: SASL DIGEST-MD5 authentication failed: authentication failure

smtpd.conf:

pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM
log_level: 7

main.cf:

smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch, defer
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_sender_login_mismatch, reject_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_sender_login_mismatch, reject_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch, defer
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_sender_login_mismatch, reject_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_sender_login_mismatch, reject_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch
smtpd_delay_reject = yes
#permit_mynetworks

mydomain = domain.com
myhostname = smtp.domain.com
alias_maps = hash:/etc/aliases
#alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination =
relayhost = [smtpRelay]:port
mynetworks = "networks"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
#local_recipient_maps =

limite d'envoie message par connexion et par destinataire:

default_destination_recipient_limit = 100

#notification non sender delivery
notify_classes = resource, software, bounce
bounce_notice_recipient = mail.domain.com
error_notice_recipient = mail.domain.com

délais d'envois de la fil retardé

queue_run_delay = 30m
minimal_backoff_time = 15m
maximal_backoff_time = 60s

Délais notification non delivery

Authentincation

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous,noplaintext
smtpd_sasl_path = smtpd
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_path = smtpd

queue_directory = /etc/postfix/queue
#command_directory = /opt/postfix/usr/sbin
#daemon_directory = /opt/postfix/usr/libexec/postfix
#data_directory = /opt/postfix/var/lib/postfix
mail_owner = postfix
#virtual_alias_maps = hash:/etc/postfix/virtual
smtp_generic_maps = hash:/etc/postfix/generic

#unknown_local_recipient_reject_code = 550
#inet_interfaces = all
#sendmail_path = /opt/postfix/usr/sbin/sendmail
#newaliases_path = /opt/postfix/usr/bin/newaliases
#mailq_path = /opt/postfix/usr/bin/mailq
setgid_group = postdrop
html_directory = no
#manpage_directory = /opt/postfix/usr/local/man
#sample_directory = /opt/postfix/etc/postfix
readme_directory = no
#inet_protocols = ipv4
postscreen_upstream_proxy_protocol = haproxy

it is only with ricoh copiers that I encounter this problem

where can it come from?

thank's for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions