maybe I should disable ldapd as I'm using mysql ...hm ?
L
laurent a écrit :
Hey,
I did the change you proposed, check the logs. added this to smtpd.conf:
pwcheck_method:saslauthd
mech_list: PLAIN LOGIN
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: host.domai.com
sql_user: user
sql_passwd: pass
sql_database: mail
sql_select: select passwd from users where user='%u'
and now my logs goes wrong here:
Apr 7 18:48:54 ks359684 postfix/smtpd[17003]: sql auxprop plugin
using mysql engine
Apr 7 18:48:54 ks359684 postfix/smtpd[17003]: auxpropfunc error
invalid parameter supplied
Apr 7 18:48:54 ks359684 postfix/smtpd[17003]: _sasl_plugin_load
failed on sasl_auxprop_plug_init for plugin: ldapdb
checked google, but no idea now.
thx
Laurent
Xav' a écrit :
laurent a écrit :
Xav' a écrit :
On Tue, 31 Mar 2009 18:15:33 +0200, laurent <laur...@logiquefloue.org>
wrote:
Hi,
I'm following this how to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml
after configuring courier-imap they say:
Start up your favorite mail client and verify that all connections
you've started work for receiving and sending mail. Of course, you
won't be able to log on to any of the services because
authentication hasn't been configured yet, but it is wise to check
if the connections themselves work or not.
I'm using mutt, saying there's no mailbox. Creating mailbox is
done later in the how to.
What do they mean, how can I test if smtpd and pop3d work fine ?
They mean that you have to check with your client that
pop3/pop3s/smtp/imap/imaps connection are established with success.
You can do this with either telnet or netcat for pop3/smtp/imap
protocol
and see if the server answer to the connection and with openssl
s_client
for pop3s/imaps connection.
HTH.
Xavier
hm actually I should get something like that:
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
^]
telnet> quit
but I get this:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
Maybe you could check in or post your postfix logs (/var/log/mail.*
or /var/log/messages), or adding -d argument to smtpd command in
/etc/postfix/master.cf, reload postfix with postfix reload, retry
telnet and check (or post) the logs again.
:s
Thanks
Laurent