Здравствуйте! А как отлаживать системные фильтры в exim?
Есть такой фильтр: if $sender_address is [email protected] then pipe "/usr/bin/perl /usr/local/sbin/qp2base64.pl" logwrite "$tod_log $message_id CONVERTED" endif В логе вижу следующее: Oct 22 19:31:20 relay exim[21260]: 2012-10-22 19:31:20 +0700 1TQH9f-0005Wu-CU <= [email protected] H=(1.1.1.1) [192.168.0.1] P=esmtpa A=fixed_login:[email protected] S=1291072 [email protected] from <[email protected]> for [email protected] Oct 22 19:31:20 relay exim[21381]: 2012-10-22 19:31:20 +0700 1TQH9f-0005Wu-CU original recipients ignored (system filter) Oct 22 19:31:21 relay exim[21381]: 2012-10-22 19:31:21 +0700 1TQH9f-0005Wu-CU ** |/usr/local/sbin/qp2base64.pl <system-filter> T=address_pipe: Child process of address_pipe transport (running command "/usr/local/sbin/qp2base64.pl") was terminated by signal 9 (killed) Если вызывать из консоли, то видно такое: exim -bF test.filter -f [email protected] < test.msg.txt Return-path copied from sender Sender = [email protected] Recipient = [email protected] Testing Exim filter file "test.filter" Pipe message to: /usr/bin/perl /usr/local/sbin/qp2base64.pl Filtering set up at least one significant delivery or other action. No other deliveries will occur. При запуске скрипта руками и подачи ему на stdin письма руками, все работает ОК. Куда смотреть? Спасибо! -- WBR, Yuriy B. Borysov YOKO-UANIC | YOKO-RIPE _______________________________________________ Exim-users mailing list [email protected] http://mailground.net/mailman/listinfo/exim-users
