[Dovecot] Dovecot Notification Plugin

2011-07-19 Thread Meisam Navaki
Hi,
I need to know how notfiy plugin works?who will be informed by this
plugin?Is it configurable?


-- 
*Regards
Meisam Navaki*,


[Dovecot] Writing a Dovecot Plugin

2011-07-20 Thread Meisam Navaki
Hi,
I'm going to write a plugin like mail_log.How can I write a plugin for
dovecot?Is there any tutorial or sample for it?

-- 
-- 
*Regards
Meisam Navaki Arefi,
*


Re: [Dovecot] Writing a Dovecot Plugin

2011-07-21 Thread Meisam Navaki
How should i add this plugin to dovecot source file?I wrote a simple
plugin,but I don't know how should i integrate it with dovecot.


On Wed, Jul 20, 2011 at 5:33 PM, Leander S.  wrote:

> Am 20.07.2011 14:50, schrieb Meisam Navaki:
>
>  Hi,
>> I'm going to write a plugin like mail_log.How can I write a plugin for
>> dovecot?Is there any tutorial or sample for it?
>>
>>  Out of curiosity: What will it do other than already existing "<
> http://wiki.dovecot.org/**Plugins/MailLog<http://wiki.dovecot.org/Plugins/MailLog>
> >mail_log"?
>
> Some references:
> http://wiki.dovecot.org/**Plugins <http://wiki.dovecot.org/Plugins>
> http://wiki.dovecot.org/**Design/Plugins<http://wiki.dovecot.org/Design/Plugins>
>
> http://www.dovecot.org/list/**dovecot/2007-November/<http://www.dovecot.org/list/dovecot/2007-November/>
> http://www.dovecot.org/list/**dovecot/2007-November/026795.**html<http://www.dovecot.org/list/dovecot/2007-November/026795.html>
> http://www.dovecot.org/list/**dovecot/2007-November/026796.**html<http://www.dovecot.org/list/dovecot/2007-November/026796.html>
> http://www.dovecot.org/list/**dovecot/2007-November/026825.**html<http://www.dovecot.org/list/dovecot/2007-November/026825.html>
>
>
> Regards
>



-- 
-- 
*Regards
Meisam Navaki Arefi,
*


[Dovecot] Hi

2011-06-28 Thread Meisam Navaki
Hi all,
I'm reading dovecot source codes(2.0.13),and I need to know how dovecot
communicate with sasl?
I traced the source code from cmd_login function,and found out something
about sasl_callback.
but i never found where this function called and also I couldn't understand
how sasl inform the dovecot from authentication result.
I'll be thankful if someone could help me out.


[Dovecot] Dovecot communication with sasl in dovecot source code

2011-06-28 Thread Meisam Navaki
Hi all,
I'm reading dovecot source codes(2.0.13),and I need to know how dovecot
communicate with sasl?
I traced the source code from cmd_login function,and found out something
about sasl_callback.
but i never found where this function called and also I couldn't understand
how sasl inform the dovecot from authentication result.
I'll be thankful if someone could help me out.


[Dovecot] Installing Dovecot v2.0.3 from binary files problem

2011-06-28 Thread Meisam Navaki
Hi,
I've installed dovecot v2.0.13 from binary files.dovecote starts ok,but I
get some errors in /var/run/mail.log :

 dovecot: anvil: Fatal: Error reading configuration:
read(/var/run/dovecot/config) failed: EOF
 dovecot: master: Error: service(anvil): command startup failed, throttling
 dovecot: master: Error: service(config): child 8606 killed with signal 11
(core dumps disabled)
 dovecot: master: Error: service(config): command startup failed, throttling
 dovecot: ssl-params: Fatal: Error reading configuration:
read(/var/run/dovecot/config) failed: Connection reset by peer

And I've just used example configure files of dovecot.

Regards,
Meisam Navaki.
System Programmer,
Bayan Co.


[Dovecot] Logging a special message into Dovecot source code

2011-07-05 Thread Meisam Navaki
Hi,
I wanna modify Dovecot source code.For that,I need to know how can we log a
special message into Dovecot source code?
I tried to write a function to write a message in a file and added it to
Dovecot source code,but it didn't work.
I'm wondering if we can use Dovecote logging functions,but I don't know what
are those functions and how can we use them.
Thanks in advance.

-- 
*Regards
Meisam Navaki Arefi,
*
*System Programmer,
*
**
*Bayan Co.
*
*
*


[Dovecot] Logging a special message into Dovecot source code

2011-07-06 Thread Meisam Navaki
Hi,
I wanna modify Dovecot source code.For that,I need to know how can we log a
special message into Dovecot source code?
I tried to write a function to write a message in a file and added it to
Dovecot source code,but it didn't work.
I'm wondering if we can use Dovecote logging functions,but I don't know what
are those functions and how can we use them.
Thanks in advance.

-- 
*Regards
Meisam Navaki Arefi,
*
*System Programmer,
*
**
*Bayan Co.
*
*
*




-- 
-- 
*Regards
Meisam Navaki Arefi,
*
*M.Sc student,Computer Science,
*
**
*Amirkabir University Of Technology
*
*424 Hafez Avenue, Tehran ,Iran*


Re: [Dovecot] Dovecot communication with sasl in dovecot source code

2011-07-06 Thread Meisam Navaki
Actually,I want to disable authentication in dovecot.I don't want dovecot to
authenticate.For that,I'm looking for into dovecot source code to find where
dovecot compares passwords or do something like this.I found fuction named
sasl_serever_auth_begin,but I couldn't understand what does it exactly do.

On Thu, Jun 30, 2011 at 10:08 AM, Timo Sirainen  wrote:

> On Tue, 2011-06-28 at 12:07 +0430, Meisam Navaki wrote:
> > Hi all,
> > I'm reading dovecot source codes(2.0.13),and I need to know how dovecot
> > communicate with sasl?
>
> For what purpose? Dovecot's login process communicates with auth process
> via http://wiki2.dovecot.org/Design/AuthProtocol
>
> > I traced the source code from cmd_login function,and found out something
> > about sasl_callback.
> > but i never found where this function called and also I couldn't
> understand
> > how sasl inform the dovecot from authentication result.
> > I'll be thankful if someone could help me out.
>
> The code is a bit tricky jumping all around.. I can help more if you
> tell me what it is that you actually want to do.
>
>
>


-- 
-- 
*Regards
Meisam Navaki Arefi,
*
*System Programmer,
*
**
*Bayan Co.
*


[Dovecot] Dovecot communication with sasl in dovecot source code

2011-07-06 Thread Meisam Navaki
> Actually,I want to disable authentication in dovecot.I don't want dovecot
> to authenticate.For that,I'm looking for into dovecot source code to find
> where dovecot compares passwords or do something like this.I found fuction
> named sasl_serever_auth_begin,but I couldn't understand what does it exactly
> do.
>
>
> On Thu, Jun 30, 2011 at 10:08 AM, Timo Sirainen  wrote:
>
>> On Tue, 2011-06-28 at 12:07 +0430, Meisam Navaki wrote:
>> > Hi all,
>> > I'm reading dovecot source codes(2.0.13),and I need to know how dovecot
>> > communicate with sasl?
>>
>> For what purpose? Dovecot's login process communicates with auth process
>> via http://wiki2.dovecot.org/Design/AuthProtocol
>>
>> > I traced the source code from cmd_login function,and found out something
>> > about sasl_callback.
>> > but i never found where this function called and also I couldn't
>> understand
>> > how sasl inform the dovecot from authentication result.
>> > I'll be thankful if someone could help me out.
>>
>> The code is a bit tricky jumping all around.. I can help more if you
>> tell me what it is that you actually want to do.
>>
>>
>>
>
>
> --
> --
> *Regards
> Meisam Navaki Arefi,
> *
> *System Programmer,
> *
> **
> *Bayan Co.
> *
>



-- 
-- 
*Regards
Meisam Navaki Arefi,
*
*M.Sc student,Computer Science,
*
**
*Amirkabir University Of Technology
*
*424 Hafez Avenue, Tehran ,Iran*