[Dovecot] triggering multiple actions on pop-3 request

Skye Poier skye at f4.ca
Thu Mar 18 04:40:18 EET 2004


If you want to launch fetchmail, you'd probably want to do a fork()
after authentication.

In the child, you would execl() fetchmail.

In the parent you would wait() for the exit status of the child.

You probably wouldn't want to do that in dovecot-auth or it might block
all other auth while it is executing?  I haven't really looked at the
design so I don't know.  The best place would probably be right before
it tries to read the user's Maildir, in its own process.

(assuming login_process_per_connection = yes )

Skye


Word on the street is Eric S. Johansson said:
> 
> I thought of that but I'm also thinking about the user experience.  In 
> the daemon mode, users have no control over polling.  In the trigger 
> mode, they will have an indirect control.  Also, it cuts down on 
> bandwidth usage because there's no sampling around the clock.  On the 
> other hand, it does smooth out filter load which is also a good thing.
> 
> hmmm.  obviously, I will need to experiment and since the daemon mode is 
> "free", it's an easy test.
> 
> ---eric
> 


More information about the dovecot mailing list