1 |
Hey, |
2 |
|
3 |
I did the change you proposed, check the logs. added this to smtpd.conf: |
4 |
pwcheck_method:saslauthd |
5 |
mech_list: PLAIN LOGIN |
6 |
allow_plaintext: true |
7 |
auxprop_plugin: mysql |
8 |
sql_hostnames: host.domai.com |
9 |
sql_user: user |
10 |
sql_passwd: pass |
11 |
sql_database: mail |
12 |
sql_select: select passwd from users where user='%u' |
13 |
|
14 |
and now my logs goes wrong here: |
15 |
Apr 7 18:48:54 ks359684 postfix/smtpd[17003]: sql auxprop plugin using |
16 |
mysql engine |
17 |
Apr 7 18:48:54 ks359684 postfix/smtpd[17003]: auxpropfunc error invalid |
18 |
parameter supplied |
19 |
Apr 7 18:48:54 ks359684 postfix/smtpd[17003]: _sasl_plugin_load failed |
20 |
on sasl_auxprop_plug_init for plugin: ldapdb |
21 |
|
22 |
checked google, but no idea now. |
23 |
thx |
24 |
Laurent |
25 |
|
26 |
|
27 |
|
28 |
Xav' a écrit : |
29 |
> laurent a écrit : |
30 |
>> Xav' a écrit : |
31 |
>>> On Tue, 31 Mar 2009 18:15:33 +0200, laurent <laurent@××××××××××××.org> |
32 |
>>> wrote: |
33 |
>>> |
34 |
>>>> Hi, |
35 |
>>>> |
36 |
>>>> I'm following this how to: |
37 |
>>>> http://www.gentoo.org/doc/en/virt-mail-howto.xml |
38 |
>>>> |
39 |
>>>> after configuring courier-imap they say: |
40 |
>>>> Start up your favorite mail client and verify that all connections |
41 |
>>>> you've started work for receiving and sending mail. Of course, you |
42 |
>>>> won't be able to log on to any of the services because |
43 |
>>>> authentication hasn't been configured yet, but it is wise to check |
44 |
>>>> if the connections themselves work or not. |
45 |
>>>> |
46 |
>>>> I'm using mutt, saying there's no mailbox. Creating mailbox is done |
47 |
>>>> later in the how to. |
48 |
>>>> What do they mean, how can I test if smtpd and pop3d work fine ? |
49 |
>>>> |
50 |
>>> |
51 |
>>> They mean that you have to check with your client that |
52 |
>>> pop3/pop3s/smtp/imap/imaps connection are established with success. |
53 |
>>> You can do this with either telnet or netcat for pop3/smtp/imap |
54 |
>>> protocol |
55 |
>>> and see if the server answer to the connection and with openssl |
56 |
>>> s_client |
57 |
>>> for pop3s/imaps connection. |
58 |
>>> |
59 |
>>> HTH. |
60 |
>>> Xavier |
61 |
>>> |
62 |
>> |
63 |
>> hm actually I should get something like that: |
64 |
>> |
65 |
>> # telnet localhost 25 |
66 |
>> |
67 |
>> Trying 127.0.0.1... |
68 |
>> Connected to localhost. |
69 |
>> Escape character is '^]'. |
70 |
>> 220 mail.domain.com ESMTP Postfix |
71 |
>> EHLO domain.com |
72 |
>> 250-mail.domain.com |
73 |
>> 250-PIPELINING |
74 |
>> 250-SIZE 10240000 |
75 |
>> 250-VRFY |
76 |
>> 250-ETRN |
77 |
>> 250-STARTTLS |
78 |
>> 250-AUTH LOGIN PLAIN |
79 |
>> 250-AUTH=LOGIN PLAIN |
80 |
>> 250-XVERP |
81 |
>> 250 8BITMIME |
82 |
>> ^] |
83 |
>> telnet> quit |
84 |
>> |
85 |
>> but I get this: |
86 |
>> telnet localhost 25 |
87 |
>> Trying 127.0.0.1... |
88 |
>> Connected to localhost. |
89 |
>> Escape character is '^]'. |
90 |
>> Connection closed by foreign host. |
91 |
> |
92 |
> Maybe you could check in or post your postfix logs (/var/log/mail.* or |
93 |
> /var/log/messages), or adding -d argument to smtpd command in |
94 |
> /etc/postfix/master.cf, reload postfix with postfix reload, retry |
95 |
> telnet and check (or post) the logs again. |
96 |
> |
97 |
>> :s |
98 |
>>> |
99 |
>>>> Thanks |
100 |
>>>> Laurent |
101 |
>>>> |
102 |
>> |
103 |
> |
104 |
> |
105 |
> |
106 |
> |