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

Replies

Subject Author
Re: [gentoo-user] Postfix, courier-imap: checks if working Mike Kazantsev <mike_kazantsev@×××××××.net>