Hello,

I have created a perlfilter and found the following will not work as
expected:
Basically I have used the provided perlfilter example as my template and
first tried to move the main part into 'sub functions'. I would like to
have in the main part only the following:

#perl main:

&open_socket();
&processMessage();
&close_socket();

1. This will only work for the first mail after a 'courierfilter start'.
   The second or sometimes the third mail will lockup the programm.

2. Finaly I got my perlfilter programm to work if I remove the 'sub
functions' &open_socket() and &close_socket() and leave the code in the
main part.

I installed my perlfilter on the production server an *AGAIN* only the
first mail will work as expected but no lockup will happen. I have added
some logging and got *ONLY* output form the main part. It seems the 'sub
functions' are never reached.
 
Could anyone explain or give some hints on this ?

Thanks.
Wolfgang K��


-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to