Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PROBLEM : sasl authentication for this user doesn t work . All the others usernames work. Maybe for the @ in the username ? I used useradd info-re-artu.it then edited /etc/passw and /etc/shadow changing the - with @
- testsaslauthd works.
- postconf -n
- [root@lnx01 info-re-artu.it]# postconf -n | grep sasl
- broken_sasl_auth_clients = yes
- smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client bl.spamcop.net
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_authenticated_header = yes
- [root@lnx01 info-re-artu.it]# postconf -n
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- bounce_template_file = /etc/postfix/bounce.cf
- broken_sasl_auth_clients = yes
- command_directory = /usr/sbin
- compatibility_level = 2
- daemon_directory = /usr/libexec/postfix
- data_directory = /var/lib/postfix
- debug_peer_level = 2
- debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5
- default_process_limit = 100
- home_mailbox = Maildir/
- html_directory = no
- inet_interfaces = all
- inet_protocols = all
- local_destination_concurrency_limit = 2
- local_destination_recipient_limit = 1
- mail_owner = postfix
- mailbox_size_limit = 1024000000
- mailq_path = /usr/bin/mailq
- manpage_directory = /usr/local/man
- message_size_limit = 102400000
- meta_directory = /etc/postfix
- mydestination = lnx01.sntinformatica.it, localhost, localhost.localdomain
- mydomain = sntinformatica.it
- myhostname = lnx01.sntinformatica.it
- mynetworks = 185.53.70.197/32, 127.0.0.0/8, [::1]/128
- newaliases_path = /usr/bin/newaliases
- 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
- queue_directory = /var/spool/postfix
- readme_directory = no
- sample_directory = /etc/postfix
- sendmail_path = /usr/sbin/sendmail
- setgid_group = postdrop
- shlib_directory = no
- smtp_send_xforward_command = yes
- smtpd_authorized_xforward_hosts = 127.0.0.0/8
- smtpd_banner = $myhostname ESMTP
- smtpd_client_restrictions = check_client_access hash:/etc/postfix/rbl_override, permit
- smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client bl.spamcop.net
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_authenticated_header = yes
- smtpd_sender_login_maps = hash:/etc/postfix/sender_access
- smtpd_tls_cert_file = /etc/postfix/smtpd.cert
- smtpd_tls_key_file = /etc/postfix/smtpd.key
- spamfilter_destination_recipient_limit = 1
- transport_maps = hash:/etc/postfix/virtual_transports
- unknown_local_recipient_reject_code = 550
- virtual_alias_maps = hash:/etc/postfix/virtual_forwardings, hash:/etc/postfix/virtual_email2email
- virtual_gid_maps = static:5000
- virtual_mailbox_base = /home/vmail
- virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
- virtual_mailbox_limit = 1024000000
- virtual_mailbox_limit_maps = hash:/etc/postfix/virtual_email2email
- virtual_uid_maps = static:5000
- ===============================================================================================================================
- MAILLOG
- Jul 20 12:27:58 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 220 lnx01.sntinformatica.it ESMTP
- Jul 20 12:27:58 lnx01 postfix/smtpd[6189]: xsasl_cyrus_server_create: SASL service=smtp, realm=(null)
- Jul 20 12:27:58 lnx01 postfix/smtpd[6189]: name_mask: noanonymous
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: < host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: EHLO ROBY10
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: match_list_match: host54-26-static.93-94-b.business.telecomitalia.it: no match
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: match_list_match: 94.93.26.54: no match
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-lnx01.sntinformatica.it
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-PIPELINING
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-SIZE 102400000
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-VRFY
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-ETRN
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-AUTH PLAIN LOGIN
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-AUTH=PLAIN LOGIN
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-ENHANCEDSTATUSCODES
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-8BITMIME
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250-DSN
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 250 SMTPUTF8
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: < host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: AUTH LOGIN
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: xsasl_cyrus_server_first: sasl_method LOGIN
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: xsasl_cyrus_server_auth_response: uncoded server challenge: Username:
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 334 VXNlcm5hbWU6
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: < host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: aW5mb0ByZS1hcnR1Lml0
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: xsasl_cyrus_server_next: decoded response: info@re-artu.it
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: xsasl_cyrus_server_auth_response: uncoded server challenge: Password:
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 334 UGFzc3dvcmQ6
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: < host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: MzNCaGJ1VjdBUzl4RUM/eQ==
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: xsasl_cyrus_server_next: decoded response: XXXXXXXXXXXXXXXXXX
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: warning: host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: SASL LOGIN authentication failed: authentication failure
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: > host54-26-static.93-94-b.business.telecomitalia.it[94.93.26.54]: 535 5.7.8 Error: authentication failed: authentication failure
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: smtp_get: EOF
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: match_hostname: smtpd_client_event_limit_exceptions: host54-26-static.93-94-b.business.telecomitalia.it ~? 185.53.70.197/32
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: match_hostaddr: smtpd_client_event_limit_exceptions: 94.93.26.54 ~? 185.53.70.197/32
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: match_hostname: smtpd_client_event_limit_exceptions: host54-26-static.93-94-b.business.telecomitalia.it ~? 127.0.0.0/8
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: match_hostaddr: smtpd_client_event_limit_exceptions: 94.93.26.54 ~? 127.0.0.0/8
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: match_hostname: smtpd_client_event_limit_exceptions: host54-26-static.93-94-b.business.telecomitalia.it ~? [::1]/128
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: match_hostaddr: smtpd_client_event_limit_exceptions: 94.93.26.54 ~? [::1]/128
- Jul 20 12:27:59 lnx01 postfix/smtpd[6189]: match_list_match: host54-26-static.93-94-b.business.telecomitalia.it: no match
- =========================================================================================================================
- [root@lnx01 info-re-artu.it]# testsaslauthd -u info@re-artu.it -p XXXXXXXXXXXXXXXXXXXXX
- 0: OK "Success."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement