|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: FW: TLS - REDHAT - cannot connect to saslauthd server:
From: Patrick Ben Koetter (p
state-of-mind.de)
Date: Mon Aug 02 2004 - 15:26:17 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Did you read my recent post to you?
You stil have smtpd_sasl_local_domain = $myhostname instead of
smtpd_sasl_local_domain =
p
rick
* J. Dave Selzgold <Craig
synergycomputing.com> [040802 20:28]:
> 0-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: >
> 65-86-16-70.client.dsl.net[65.86.16.70]: 250-AUTH=PLAIN LOGIN DIGEST-MD5
> CRAM-MD5
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: match_list_match:
> 65-86-16-70.client.dsl.net: no match
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: match_list_match: 65.86.16.70: no
> match
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: >
> 65-86-16-70.client.dsl.net[65.86.16.70]: 250 8BITMIME
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: watchdog_pat: 0x80d6140
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: <
> 65-86-16-70.client.dsl.net[65.86.16.70]: AUTH LOGIN
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: smtpd_sasl_authenticate:
> sasl_method LOGIN
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: smtpd_sasl_authenticate: uncoded
> challenge: Username:
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: >
> 65-86-16-70.client.dsl.net[65.86.16.70]: 334 VXNlcm5hbWU6
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: <
> 65-86-16-70.client.dsl.net[65.86.16.70]: Y2dvbGRiZXJn
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: smtpd_sasl_authenticate: decoded
> response: cgoldberg
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: smtpd_sasl_authenticate: uncoded
> challenge: Password:
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: >
> 65-86-16-70.client.dsl.net[65.86.16.70]: 334 UGFzc3dvcmQ6
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: <
> 65-86-16-70.client.dsl.net[65.86.16.70]: c2FtYmE2
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: smtpd_sasl_authenticate: decoded
> response: sting123
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: warning:
> 65-86-16-70.client.dsl.net[65.86.16.70]: SASL LOGIN authentication failed
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: >
> 65-86-16-70.client.dsl.net[65.86.16.70]: 535 Error: authentication failed
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: watchdog_pat: 0x80d6140
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: smtp_get: EOF
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: lost connection after AUTH from
> 65-86-16-70.client.dsl.net[65.86.16.70]
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: disconnect from
> 65-86-16-70.client.dsl.net[65.86.16.70]
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: master_notify: status 1
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: connection closed
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: watchdog_stop: 0x80d6140
> Aug 2 16:41:33 cleo postfix/smtpd[13945]: watchdog_start: 0x80d6140
> ===========================================================================
>
> [root
cleo root]# postconf -n
> alias_database = hash:/etc/postfix/aliases
> broken_sasl_auth_clients = yes
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> html_directory = no
> inet_interfaces = all
> mail_owner = postfix
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> mydestination = $myhostname, localhost.$mydomain
> mydomain = synergycomputing.net
> myhostname = synergycomputing.net
> mynetworks = 127.0.0.0/8, 65.86.16.67
> mynetworks_style = host
> myorigin = $mydomain
> newaliases_path = /usr/bin/newaliases.postfix
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
> relay_domains = hash:/etc/postfix/clients2
> sample_directory = /usr/share/doc/postfix-1.1.11/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> smtp_tls_note_starttls_offer = yes
> smtp_use_tls = yes
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks,reject
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain = $myhostname
> smtpd_sasl_security_options = noanonymous
> smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
> smtpd_tls_CAfile = /etc/postfix/cacert.pem
> smtpd_tls_cert_file = /etc/postfix/mail-cert.pem
> smtpd_tls_key_file = /etc/postfix/mailkey.pem
> smtpd_tls_loglevel = 1
> smtpd_tls_received_header = yes
> smtpd_tls_session_cache_timeout = 3600s
> smtpd_use_tls = yes
> tls_random_source = dev:/dev/urandom
> unknown_local_recipient_reject_code = 450
>
>
> ==========================================================
>
> testsaslauthd -u cgoldberg -p sting123
> 0: OK "Success."
>
--
I take the freedom to ignore offlist messages. Open Source software
requires open access to information that tells all of us how to run it.
Don't deprive the community of that!
SMTP AUTH HOWTO: <http://postfix.state-of-mind.de/patrick.koetter/>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]