Hello.
Im having some problem sending mail, i can receive mails but not send.
The system is FreeBSD 6.3, im trying to make a mail server with virtual
domains, and from ports i have installed the following:
postfix-2.4.7,1
courier-authlib-base-0.61.0
courier-authlib-mysql-0.61.0
courier-imap-4.3.1,2
cyrus-sasl-2.1.22_1
The messages from my maillog...
Jul 28 23:08:07 Thor postfix/smtpd[39072]: connect from unknown[XXXXXXXXXXX]
Jul 28 23:08:14 Thor postfix/smtpd[39072]: warning: SASL authentication
failure: cannot connect to Courier authdaemond: No such file or directory
Jul 28 23:08:14 Thor postfix/smtpd[39072]: warning: SASL authentication
failure: Password verification failed
Jul 28 23:08:14 Thor postfix/smtpd[39072]: warning: unknown[XXXXXXXXXXXX]:
SASL PLAIN authentication failed: generic failure
Jul 28 23:08:14 Thor postfix/smtpd[39072]: warning: SASL authentication
failure: cannot connect to Courier authdaemond: No such file or directory
Jul 28 23:08:14 Thor postfix/smtpd[39072]: warning: unknown[XXXXXXXXXXXX]:
SASL LOGIN authentication failed: generic failure
Jul 28 23:08:18 Thor postfix/smtpd[39072]: disconnect from
unknown[XXXXXXXXXXXXX]
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 = Maildir/
html_directory = no
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = XXXXXXXXXXXXXXXXX
myhostname = XXXXXXXXXXXXXXXXX
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_non_fqdn_hostname,
reject_non_fqdn_sender, reject_non_fqdn_recipient,
reject_unauth_destination, reject_unauth_pipelining,
reject_invalid_hostname, reject_rhsbl_client blackhole.securitysage.com,
reject_rhsbl_sender blackhole.securitysage.com, reject_rbl_client
blackholes.easynet.nl, reject_rbl_client cbl.abuseat.org,
reject_rbl_client bl.spamcop.net, reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client opm.blitzed.org, reject_rbl_client dnsbl.njabl.org,
reject_rbl_client list.dsbl.org, reject_rbl_client multihop.dsbl.org
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/usr/local/etc/postfix/
mysql_virtual_alias_maps.cf
virtual_gid_maps = static:125
virtual_mailbox_base = /home/mail/virtual
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/
mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/
mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:125
saslfinger -s...
Postfix: 2.4.7
System: FreeBSD 6.3-RELEASE-p1 (SMP) #0: Wed Feb 13 00:11:33 UTC 2008
-- smtpd is linked to --
libsasl2.so.2 => /usr/X11R6/lib/libsasl2.so.2 (0x8007a2000)
-- active SMTP AUTH and TLS parameters for smtpd --
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
-- listing of /usr/local/lib/sasl2 --
total 748
drwxr-xr-x 2 root wheel 1024 Jul 28 20:56 .
drwxr-xr-x 18 root wheel 9728 Jul 28 20:56 ..
-rw-r--r-- 1 root wheel 19412 Jul 28 20:56 libanonymous.a
-rwxr-xr-x 1 root wheel 829 Jul 28 20:56 libanonymous.la
-rwxr-xr-x 1 root wheel 20008 Jul 28 20:56 libanonymous.so
-rwxr-xr-x 1 root wheel 20008 Jul 28 20:56 libanonymous.so.2
-rw-r--r-- 1 root wheel 22522 Jul 28 20:56 libcrammd5.a
-rwxr-xr-x 1 root wheel 815 Jul 28 20:56 libcrammd5.la
-rwxr-xr-x 1 root wheel 24233 Jul 28 20:56 libcrammd5.so
-rwxr-xr-x 1 root wheel 24233 Jul 28 20:56 libcrammd5.so.2
-rw-r--r-- 1 root wheel 63552 Jul 28 20:56 libdigestmd5.a
-rwxr-xr-x 1 root wheel 838 Jul 28 20:56 libdigestmd5.la
-rwxr-xr-x 1 root wheel 52754 Jul 28 20:56 libdigestmd5.so
-rwxr-xr-x 1 root wheel 52754 Jul 28 20:56 libdigestmd5.so.2
-rw-r--r-- 1 root wheel 32244 Jul 28 20:56 libgssapiv2.a
-rwxr-xr-x 1 root wheel 891 Jul 28 20:56 libgssapiv2.la
-rwxr-xr-x 1 root wheel 34131 Jul 28 20:56 libgssapiv2.so
-rwxr-xr-x 1 root wheel 34131 Jul 28 20:56 libgssapiv2.so.2
-rw-r--r-- 1 root wheel 19798 Jul 28 20:56 liblogin.a
-rwxr-xr-x 1 root wheel 809 Jul 28 20:56 liblogin.la
-rwxr-xr-x 1 root wheel 20471 Jul 28 20:56 liblogin.so
-rwxr-xr-x 1 root wheel 20471 Jul 28 20:56 liblogin.so.2
-rw-r--r-- 1 root wheel 41212 Jul 28 20:56 libntlm.a
-rwxr-xr-x 1 root wheel 803 Jul 28 20:56 libntlm.la
-rwxr-xr-x 1 root wheel 38370 Jul 28 20:56 libntlm.so
-rwxr-xr-x 1 root wheel 38370 Jul 28 20:56 libntlm.so.2
-rw-r--r-- 1 root wheel 19774 Jul 28 20:56 libplain.a
-rwxr-xr-x 1 root wheel 809 Jul 28 20:56 libplain.la
-rwxr-xr-x 1 root wheel 20453 Jul 28 20:56 libplain.so
-rwxr-xr-x 1 root wheel 20453 Jul 28 20:56 libplain.so.2
-rw-r--r-- 1 root wheel 28948 Jul 28 20:56 libsasldb.a
-rwxr-xr-x 1 root wheel 808 Jul 28 20:56 libsasldb.la
-rwxr-xr-x 1 root wheel 25910 Jul 28 20:56 libsasldb.so
-rwxr-xr-x 1 root wheel 25910 Jul 28 20:56 libsasldb.so.2
-rw-r--r-- 1 root wheel 111 Jul 26 02:08 smtpd.conf
-- content of /usr/local/lib/sasl2/smtpd.conf --
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path: /var/run/authdaemond/socket
-- active services in /usr/local/etc/postfix/master.cf --
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
-- mechanisms on localhost --
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
-- end of saslfinger output --
ls -l /var/run/
drwxr-x--x 2 courier courier 512 Jul 28 16:41 authdaemond
ls -l /var/run/authdaemond
-rw-r--r-- 1 root courier 6 Jul 28 16:41 pid
-rw------- 1 root courier 0 Jul 27 00:05 pid.lock
srwxrwxrwx 1 root courier 0 Jul 28 16:41 socket
Please let me know if you need more info...
Im really hoping that some knows the answer for my little problem, and all
help is much appreciated, i have been searching all over for an answer.
Thanks Danny