public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Postfix, courier-imap: checks if working
  @ 2009-04-07 21:20 99%         ` laurent
  0 siblings, 0 replies; 1+ results
From: laurent @ 2009-04-07 21:20 UTC (permalink / raw
  To: gentoo-user

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 <laurent@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
>>>>>     
>>>
>>
>>
>>
>>
>
>
>
>




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-03-31 16:15     [gentoo-user] Postfix, courier-imap: checks if working laurent
2009-03-31 16:31     ` Xav'
2009-03-31 19:58       ` laurent
2009-03-31 20:08         ` Xav'
2009-04-07 18:13           ` laurent
2009-04-07 21:20 99%         ` laurent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox