Andrei Brezan wrote: > Hello list, > > I have a strange behaviour from my postfix config using amavisd-new with > clamav. I have 4 messages in queue all deffered with the same problem: > lost connection with 127.0.0.1. > > This is what i get from amavisd with log_level=5 in debug.log: > > *snip* > Sep 11 14:15:47 mail amavis[46602]: (46602-01) run_command: [47011] > /usr/local/bin/file p001 p002 p003 </dev/null 2>&1 > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd0 closing, to become < /dev/null > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd1 closing, to become > &=15 > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd1 dup2 from fd15 > &=15 > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > source fd15 closed > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd2 closing, to become > &1 > Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: > target fd2 dup2 from fd1 > &1 > Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): > p001: ASCII news text\n > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("ASCII news > text") matches key "(?i-xsm:^(ASCII|text)\b)", result="asc" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup > [map_full_type_to_short_type] => true, "ASCII news text" matches, > result="asc", matching_key="(?i-xsm:^(ASCII|text)\\b)" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p001: ASCII > news text; (asc) > Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): > p002: Microsoft Office Document Microsoft Word Document\n > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("Microsoft > Office Document Microsoft Word Document") matches key > "(?i-xsm:^Microsoft Office Document\b)", result="doc" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup > [map_full_type_to_short_type] => true, "Microsoft Office Document > Microsoft Word Document" matches, result="doc", > matching_key="(?i-xsm:^Microsoft Office Document\\b)" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p002: > Microsoft Office Document Microsoft Word Document; (doc) > Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): > p003: Microsoft Office Document Microsoft Word Document\n > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("Microsoft > Office Document Microsoft Word Document") matches key > "(?i-xsm:^Microsoft Office Document\b)", result="doc" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup > [map_full_type_to_short_type] => true, "Microsoft Office Document > Microsoft Word Document" matches, result="doc", > matching_key="(?i-xsm:^Microsoft Office Document\\b)" > Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p003: > Microsoft Office Document Microsoft Word Document; (doc) > Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Decoding part p001 > Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Setting > sigaction handler, was 0 > Sep 11 14:15:47 mail amavis[46602]: (46602-01) timer set to 320 s (was > 480 s) > Sep 11 14:15:47 mail amavis[46593]: Net::Server: Starting "1" children > Sep 11 14:15:47 mail amavis[47012]: Net::Server: Child Preforked (47012) > Sep 11 14:15:47 mail amavis[47012]: entered child_init_hook > Sep 11 14:15:47 mail amavis[47012]: SpamControl: init_child on > SpamAssassin done > > And at ~ the same time i get: > pid 46602 (perl), uid 106: exited on signal 11. > > Don't know what to do with those 4 messages and why they are stuck in > queue. I've tried sendig other messages and they get delivered ok. > > If someone can elighten me pls do so. > > Thank you. >
After googling around a bit more i found out that is something related to uulib code. All i had to do is comment out the entries with do_ascii in amavisd.conf. Here's the post where i found this: http://www.mail-archive.com/amavis-u...@lists.sourceforge.net/msg14374.html P.S. Sorry about the noise and too long subj :) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"