Hi folks,

Debian Etch
Postfix
openssl
Courier-IMAP
MySQL
SASL - libsasl2
amavis-new
ClamAV
Spam Assassin
postgrey


remote mail client - Evolution


I followed;
http://flurdy.com/docs/postfix/edition5.html


building the mail server running postfix virtual.  The server is
running, sending/receiving mails without problem.  But Evolution can't
login in the server to send and download mails.


# tail /var/log/mail.log
Nov 18 02:52:16 xen05 imapd: LOGIN: ip=[::ffff:192.168.0.110],
command=CAPABILITY
Nov 18 02:52:16 xen05 imapd: LOGIN: ip=[::ffff:192.168.0.110],
command=AUTHENTICATE
Nov 18 02:52:16 xen05 authdaemond: received auth request, service=imap,
authtype=cram-md5
Nov 18 02:52:16 xen05 authdaemond: authmysql: trying this module
Nov 18 02:52:16 xen05 authdaemond: cram:
challenge=PDQyOEM4MTA3MTdCNTdDMkNDOURCNkI2MkE2MjdGN0QyQHhlbjA1LnNhdGltaXMuY29tPg==,
response=c2F0aW1pcyAzYjBiMGQ3MTljNjA5MmJkODk2NjNhYzhlYTZiZmI2MQ==
Nov 18 02:52:16 xen05 authdaemond: cram: decoded challenge/response,
username 'satimis'
Nov 18 02:52:16 xen05 authdaemond: failed to connect to mysql server
(server=<null>, userid=mail): Access denied for user 'mail'@'localhost'
(using password: YES)
Nov 18 02:52:16 xen05 authdaemond: authmysql: TEMPFAIL - no more
modules will be tried
Nov 18 02:52:16 xen05 imapd: LOGIN FAILED, method=CRAM-MD5,
ip=[::ffff:192.168.0.110]
Nov 18 02:52:16 xen05 imapd: authentication error: Input/output error
* end *


The user is [EMAIL PROTECTED]  I can't resolve how
'mail'@'localhost' coming in?


# /home/satimis/saslfinger -h

saslfinger -s
        Check server-side SMTP AUTH configuration

saslfinger -c
        Check client-side SMTP AUTH configuration

saslfinger -h
        Print this message.

Read man (1) saslfinger for a detailed discussion on what
saslfinger may do for you.

xen05:~# ls -l /home/satimis/saslfinger
-rwxr-x--- 1 satimis satimis 8289 2008-11-18 02:39
/home/satimis/saslfinger
xen05:~# /home/satimis/saslfinger -s
saslfinger - postfix Cyrus sasl configuration Tue Nov 18 02:43:26 UTC
2008
version: 1.0.2
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.3.8
System: Debian GNU/Linux 4.0 \n \l

-- smtpd is linked to --
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7d89000)

-- active SMTP AUTH and TLS parameters for smtpd --
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = /etc/postfix/sasl, /usr/lib/sasl2
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/postfix/postfix.cert
smtpd_tls_key_file = /etc/postfix/postfix.key
smtpd_use_tls = yes


-- listing of /usr/lib/sasl2 --
total 788
drwxr-xr-x  2 root root  4096 2008-11-07 11:01 .
drwxr-xr-x 33 root root  8192 2008-11-17 05:32 ..
-rw-r--r--  1 root root 13304 2006-12-13 21:26 libanonymous.a
-rw-r--r--  1 root root   855 2006-12-13 21:26 libanonymous.la
-rw-r--r--  1 root root 12844 2006-12-13 21:26 libanonymous.so
-rw-r--r--  1 root root 12844 2006-12-13 21:26 libanonymous.so.2
-rw-r--r--  1 root root 12844 2006-12-13 21:26 libanonymous.so.2.0.22
-rw-r--r--  1 root root 15502 2006-12-13 21:26 libcrammd5.a
-rw-r--r--  1 root root   841 2006-12-13 21:26 libcrammd5.la
-rw-r--r--  1 root root 15052 2006-12-13 21:26 libcrammd5.so
-rw-r--r--  1 root root 15052 2006-12-13 21:26 libcrammd5.so.2
-rw-r--r--  1 root root 15052 2006-12-13 21:26 libcrammd5.so.2.0.22
-rw-r--r--  1 root root 46320 2006-12-13 21:26 libdigestmd5.a
-rw-r--r--  1 root root   864 2006-12-13 21:26 libdigestmd5.la
-rw-r--r--  1 root root 43040 2006-12-13 21:26 libdigestmd5.so
-rw-r--r--  1 root root 43040 2006-12-13 21:26 libdigestmd5.so.2
-rw-r--r--  1 root root 43040 2006-12-13 21:26 libdigestmd5.so.2.0.22
-rw-r--r--  1 root root 13482 2006-12-13 21:26 liblogin.a
-rw-r--r--  1 root root   835 2006-12-13 21:26 liblogin.la
-rw-r--r--  1 root root 13384 2006-12-13 21:26 liblogin.so
-rw-r--r--  1 root root 13384 2006-12-13 21:26 liblogin.so.2
-rw-r--r--  1 root root 13384 2006-12-13 21:26 liblogin.so.2.0.22
-rw-r--r--  1 root root 29300 2006-12-13 21:26 libntlm.a
-rw-r--r--  1 root root   829 2006-12-13 21:26 libntlm.la
-rw-r--r--  1 root root 28776 2006-12-13 21:26 libntlm.so
-rw-r--r--  1 root root 28776 2006-12-13 21:26 libntlm.so.2
-rw-r--r--  1 root root 28776 2006-12-13 21:26 libntlm.so.2.0.22
-rw-r--r--  1 root root 13818 2006-12-13 21:26 libplain.a
-rw-r--r--  1 root root   835 2006-12-13 21:26 libplain.la
-rw-r--r--  1 root root 13992 2006-12-13 21:26 libplain.so
-rw-r--r--  1 root root 13992 2006-12-13 21:26 libplain.so.2
-rw-r--r--  1 root root 13992 2006-12-13 21:26 libplain.so.2.0.22
-rw-r--r--  1 root root 21726 2006-12-13 21:26 libsasldb.a
-rw-r--r--  1 root root   856 2006-12-13 21:25 libsasldb.la
-rw-r--r--  1 root root 17980 2006-12-13 21:26 libsasldb.so
-rw-r--r--  1 root root 17980 2006-12-13 21:26 libsasldb.so.2
-rw-r--r--  1 root root 17980 2006-12-13 21:26 libsasldb.so.2.0.22
-rw-r--r--  1 root root 23576 2006-12-13 21:26 libsql.a
-rw-r--r--  1 root root   964 2006-12-13 21:26 libsql.la
-rw-r--r--  1 root root 23072 2006-12-13 21:26 libsql.so
-rw-r--r--  1 root root 23072 2006-12-13 21:26 libsql.so.2
-rw-r--r--  1 root root 23072 2006-12-13 21:26 libsql.so.2.0.22


-- content of /etc/postfix/sasl/smtpd.conf --
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login cram-md5 digest-md5
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: --- replaced ---
sql_passwd: --- replaced ---
sql_passwd: --- replaced ---
sql_database: maildb
sql_select: select clear from users where id='[EMAIL PROTECTED]' and enabled = 1


-- active services in /etc/postfix/master.cf --
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
smtp      inet  n       -       -       -       -       smtpd -o
cleanup_service_name=pre-cleanup
submission inet n       -       n       -       -       smtpd
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_tls_auth_only=yes
  -o
smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination,reject
  -o smtpd_sasl_security_options=noanonymous,noplaintext
  -o smtpd_sasl_tls_security_options=noanonymous
smtps     inet  n       -       -       -       -       smtpd -v
    -o smtpd_tls_wrappermode=yes
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_tls_auth_only=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    -o smtpd_sasl_security_options=noanonymous,noplaintext
    -o smtpd_sasl_tls_security_options=noanonymous
587       inet  n       -       n       -       -       smtpd
    -o smtpd_enforce_tls=yes
    -o smtpd_sasl_auth_enable=yes
pickup    fifo  n       -       -       60      1       pickup

cleanup   unix  n       -       -       -       0       cleanup
        -o mime_header_checks=
        -o nested_header_checks=
        -o body_checks=
        -o header_checks=

qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       300     1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
        -o fallback_relay=
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender
$recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}

amavis    unix  -       -       -       -       2       smtp
    -o smtp_data_done_timeout=1200
    -o smtp_send_xforward_command=yes

127.0.0.1:10025 inet    n       -       -       -       -       smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o strict_rfc821_envelopes=yes
    -o mynetworks=127.0.0.0/8
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1001

pre-cleanup unix n      -       -       -       0       cleanup
    -o virtual_alias_maps=
    -o canonical_maps=
    -o sender_canonical_maps=
    -o recipient_canonical_maps=
    -o masquerade_domains=

-- mechanisms on localhost --
250-AUTH PLAIN NTLM LOGIN DIGEST-MD5 CRAM-MD5
250-AUTH=PLAIN NTLM LOGIN DIGEST-MD5 CRAM-MD5

-- end of saslfinger output --


Please help.  TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to