[exim] Exim apparently not dealing with rogue messages with …

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Robert Bannocks
Data:  
Para: exim-users
Asunto: [exim] Exim apparently not dealing with rogue messages with long lines
I have the attached messages in an exim queue. They are being processed
by a filter file and failing. They have very long subject lines in them
the exim filter below is being invoked to filter these. I do not
believe there is anything wrong with this. Clearly there is some loop
here but still exim appears to bail out with the following error in the
panic log:



2007-01-08 14:01:33 1H2arn-0002U3-00 internal problem in userfilter
router (recipient is majord@???): failure to transfer data
from subprocess: status=0000 readerror='Error 0'



The filter file is :



% more .forward

# Exim filter

if error_message then

        seen finish


else

        mail


        subject "Re: $h_subject"


        to $reply_address


        text "Thank you for your e-mail,\n\nThe Majordomo mailing list
facility here at the Natural History Museum has been withdrawn and
replaced by a maili


ng list facility based on the GNU Mailman software. All public lists
that were previously avaliable on the Majordomo facility have been
transfered to the Ma

ilman system. To see the list of e-mail lists avaliable, subscribe,
un-subscribe, or change your subscription options please visit the web
site http://mailm

an.nhm.ac.uk.\n\nRegards\n\nIT, LIS, NHM, London, England, UK\n"



        seen finish


endif



This appears to be a but some where where something is not coping with
the long lines. Tracing this gives the following output:



14:01:33 28903 local_part=majord domain=newt.nhm.ac.uk

14:01:33 28903 checking local_parts

14:01:33 28903 majord in "majord"? yes (matched "majord")

14:01:33 28903 checking for local user

14:01:33 28903 seeking password data for user "majord": cache not
available

14:01:33 28903 getpwnam() succeeded uid=10020 gid=1010

14:01:33 28903 calling userfilter router

14:01:33 28903 rda_interpret (file): $home/.forward

14:01:33 28903 expanding: $home/.forward

14:01:33 28903    result: /usr/local/majordomo/.forward


14:01:33 28903 expanded: /usr/local/majordomo/.forward

14:01:33 28903 search_tidyup called

14:01:33 28904 changed uid/gid: userfilter router (recipient is
majord@???)

14:01:33 28904 uid=10020 gid=1010 pid=28904

14:01:33 28904 auxiliary group list: <none>

14:01:33 28904 turned off address rewrite logging (not root or exim in
this process)

14:01:33 28904 689 bytes read from /usr/local/majordomo/.forward

14:01:33 28904 data is an Exim filter program

14:01:33 28904 Filter: start of processing

14:01:33 28904 Condition is false: error_message

14:01:33 28904 expanding: $reply_address

14:01:33 28904    result: webmaster@???


14:01:33 28904 expanding: Re: $h_subject

result: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re

: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: R

e: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re

: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: R

e: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re

: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: R

e: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: R

**** debug string too long - truncated ****

14:01:33 28904 Filter: mail to: webmaster@???

14:01:33 28904         subject: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: R


e: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re

: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: R

e: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re

: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: R

e: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re

: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re:

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: R

**** debug string too long - truncated ****

14:01:33 28904            text: Thank you for your e-mail,\n\nThe
Majordomo mailing list facility here at the Natural History Museum has
been withdrawn and r


eplaced by a mailing list facility based on the GNU Mailman software.
All public lists that were previously avaliable on the Majordomo
facility have been tr

ansfered to the Mailman system. To see the list of e-mail lists
avaliable, subscribe, un-subscribe, or change your subscription options
please visit the web

site http://mailman.nhm.ac.uk.\n\nRegards\n\nIT, LIS, NHM, London,
England, UK\n

14:01:33 28904 Filter: Seen finish

14:01:33 28904 Filtering set up at least one significant delivery or
other action.

14:01:33 28904 No other deliveries will occur.

14:01:33 28904 Filter: end of processing

14:01:33 28904 search_tidyup called

14:01:33 28903 rda_interpret: subprocess yield=8 error=NULL

14:01:33 28903 LOG: MAIN PANIC

14:01:33 28903 internal problem in userfilter router (recipient is
majord@???): failure to transfer data from subprocess:
status=0000 readerror=

'Error 0'

14:01:33 28903 userfilter router: defer for majord@???

14:01:33 28903 message: error in filter file: internal problem in
userfilter router (recipient is majord@???): failure to
transfer data from sub

process: status=0000 readerror='Error 0'

14:01:33 28903 added retry item for R:majord@???: errno=-17
more_errno=0 flags=0

14:01:33 28903 post-process majord@??? (1)

14:01:33 28903 LOG: MAIN

14:01:33 28903 == majord@??? <majordomo@???>
R=userfilter defer (-17): error in filter file: internal problem in
userfilter router (r

ecipient is majord@???): failure to transfer data from
subprocess: status=0000 readerror='Error 0'

14:01:33 28903 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

14:01:33 28903 After routing:

14:01:33 28903 Local deliveries:

14:01:33 28903 Remote deliveries:

14:01:33 28903 Failed addresses:

14:01:33 28903 Deferred addresses:

14:01:33 28903     majord@???


14:01:33 28903 search_tidyup called

14:01:33 28903 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>



Is this a known bug with a work around? Can it be fixed? Have I made a
mistake somewhere.



This is with exim-4.65



Regards



RB