> > i have a perlfilter script (virus scanner via amavis) running on two > > mailservers and i was unable to make perlfilters work other than with the > > perlfilter-mode set to "all" (file etc/filters/perlfilter-mode). the > > symptoms were as you described and up to now i do not have a solution for > > that problem (which for me isn't a problem any more because i want all mail > > going through my servers to be scanned anyway). > > that's weird. when I do this, I can no longer send mail.. it gives me > an error of "A password transition is required" - whatever that means. > > and my test filter still isn't getting run. > > this specific error message i don't know of, but when i tested my perlfilter and had errors in it, all kinds of funny error messages were created in the logfile, and all of my mails were defered as well. in fact, if your mails are defered i would take it as a sign that your filter is indeed run, but bails out or creates some kind of output that cannot be digested by courier.
when i wrote my filter i copied a smaller version of the logging function of amavis into my perlfilter and logged a hell of a lot of stuff to the mail log file. that helped me a lot. you might also want to check for the socket file, i.e. if it is created in the right place and if the etc/filters/perlfilter points to the right location. sorry that i cannot help you in a more specific way, but after i got around to starting my filter as global filter, the only problems remaining, were problems with my own perl code. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
