Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Postfix, courier-imap: checks if working laurent <laurent@××××××××××××.org>