I am using postfix version 2.0.0.18 with tls and sasl2 on freebsd stable
4.9 using  cyrus-sasl/saslauthd version 2.1.1.19  have configured the my
/user/local/lib/sasl2 dir to contain only
Sendmail.conf   liblogin.so     libplain.a      libplain.so.2
liblogin.a      liblogin.so.2   libplain.so     smptd.conf

and my smtpd.conf file has this configuration

# This sets smtpd to authenticate using the saslauthd daemon.
pwcheck_method:saslauthd
# This allows only plain and login as the authentication mechanisms.
mech_list: plain login

Seems simple enough however when i try to logon to my SMTP server i get
the following errors.
Aug 17 17:07:07 v22 postfix/smtpd[2643]: warning:
unknown[209.115.173.22]: SASL PLAIN authentication failed
Aug 17 17:07:08 v22 postfix/smtpd[2643]: warning:
unknown[209.115.173.22]: SASL LOGIN authentication failed

when i test the server with telnet i get this
EHLO computerking.ca
250-mail1.computerking.ca
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-XVERP
250 8BITMIME

there is know output about this must be my problem

250-AUTH LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5
250-AUTH=LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5

Is there a log i can check for sasl errors somewhere or do i need to
change my permissions on the passwd file any help would be appreciated.
Here is a posconf -n output if that helps anyone help me thank you in
advance.

v22.computerking.ca > /usr/local/lib/sasl2 $postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
home_mailbox = IMAPdir/INBOX/
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain $mydomain
mydomain = computerking.ca
myhostname = mail1.computerking.ca
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination, shoemasters.computerking.ca, highcoup.ca
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_loglevel = 2
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_mx_backup
permit_sasl_authenticated,        permit_mynetworks,
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mx_backup
permit_sasl_authenticated,        permit_mynetworks,
reject_unauth_destination
smtpd_tls_CAfile = /usr/local/sslcerts/cacert.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /usr/local/sslcerts/certs/mail-cert.pem
smtpd_tls_key_file = /usr/local/sslcerts/certs/mail-key.pem
smtpd_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
soft_bounce = no
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 450
virtual_alias_domains = sculpturaldesign.ca
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual


_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to