Amos Gouaux wrote:
> 
> >>>>> On Mon, 16 Oct 2000 09:15:35 -0600,
> >>>>> Justin Wood <[EMAIL PROTECTED]> (jw) writes:
> 
> jw> I've installed a patch that I found on the mailing list.  I can't seem
> jw> to find testsieve.  I seem to remember reading something about it, but
> jw> the details escape me.
> 
> After compiling Cyrus, in the sieve directory there should be a
> program called `test'.  I think you should be able to pipe your
> script into stdin of this program.

I only have test.c and test.o.  From what I understand though, doesn't
installsieve check the syntax when you install a script?  In any case,
when I run the script NOT using lmtp, it works fine.

> jw> When I run deliver without lmtp (the -l), it seems to do sieve just
> jw> fine.  Odd....
> 
> Indeed.  I would recommended adding the `-v' flag to the Postfix
> lmtp service in master.cf (example just posted), and just watch the
> chatter.  I believe you can also add a `-d' flag to deliver to get
> more chatter out of it too.

I added the -v to lmtp.  deliver doesn't have a debug flag (the -d is
for compat. with /bin/mail).  Here's the output: (there's a lot of it)

Oct 17 09:14:27 pony postfix/smtpd[19355]: connect from
sunscreen.whizbang.com[192.168.101.1]
Oct 17 09:14:27 pony postfix/smtpd[19355]: D45825D006:
client=sunscreen.whizbang .com[192.168.101.1]
Oct 17 09:14:27 pony postfix/cleanup[19356]: D45825D006:
message-id=<[EMAIL PROTECTED]>
Oct 17 09:14:27 pony postfix/qmgr[19307]: D45825D006:
from=<[EMAIL PROTECTED]>, size=1326, nrcpt=1 (queue active)
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf mail context mail_dict "" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pony.whizbang.com context mail_dict "mail" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pony.whizbang.com context mail_dict "pony.whizbang.com" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf Postfix context mail_dict "pony.whizbang.com" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf postfix context mail_dict "Postfix" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type
variable buf myhostname context mail_dict "postfix" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pony.whizbang.com context mail_dict "postfix" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type
variable buf mydomain context mail_dict "pony.whizbang.com, localhost."
recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pony.whizbang.com context mail_dict "pony.whizbang.com,
localhost."recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf   context mail_dict "pony.whizbang.com, localhost.pony.whizbang.com"
recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type
variable buf my
domain context mail_dict "pony.whizbang.com, localhost.pony.whizbang.com
" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pon
y.whizbang.com context mail_dict "pony.whizbang.com,
localhost.pony.whizbang.com  " recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type
variable buf my domain context mail_dict "pony.whizbang.com,
localhost.pony.whizbang.com pony.whizbang.com" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pony.whizbang.com context mail_dict "pony.whizbang.com,
localhost.pony.whizbang.com
 pony.whizbang.com" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf /usr/libexec/postfix context mail_dict "" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf /usr/local/libexec/postfix context mail_dict "/usr/libexec/postfix"
recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf /usr/local/sbin context mail_dict "/usr/local/libexec/postfix"
recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf /var/spool/postfix context mail_dict "/usr/local/sbin" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pid  context mail_dict "/var/spool/postfix" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf all  context mail_dict "pid" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf dou ble-bounce context mail_dict "all" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf nobody context mail_dict "double-bounce" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf hash:/etc/aliases context mail_dict "nobody" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf Snapshot-20001005 context mail_dict "hash:/etc/aliases" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf hash context mail_dict "Snapshot-20001005" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf active,bounce,defer,flush context mail_dict "hash" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: master_notify: status 0
Oct 17 09:14:28 pony postfix/lmtp[19359]: deliver_request_initial: send
initial status
Oct 17 09:14:28 pony postfix/lmtp[19359]: print int: 0
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read integer: 3
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read string:
active
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read string:
D45825D006
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read long
integer: 120 
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read long
integer: 1326
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read string:
pony.whizbang.com
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read string:
[EMAIL PROTECTED]
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read string:
[EMAIL PROTECTED]
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read string:
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read long
integer: 971795667
Oct 17 09:14:28 pony postfix/lmtp[19359]: dir_forest: D45825D006 -> D/4/
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read long
integer: -1  
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read string:
[EMAIL PROTECTED]
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read long
integer: 0   
Oct 17 09:14:28 pony postfix/lmtp[19359]: dir_forest: D45825D006 -> D/4/
Oct 17 09:14:28 pony postfix/lmtp[19359]: deliver_request_get: file
active/D/4/D45825D006
Oct 17 09:14:28 pony postfix/lmtp[19359]: deliver_message: from
[EMAIL PROTECTED]
Oct 17 09:14:28 pony postfix/lmtp[19359]: lmtp_parse_destination:
pony.whizbang.com lmtp
Oct 17 09:14:28 pony postfix/lmtp[19359]: lmtp_connect_inet: connecting
to pony.whizbang.com port 24
Oct 17 09:14:28 pony postfix/lmtp[19359]: lmtp_addr_one: host
pony.whizbang.com
Oct 17 09:14:28 pony postfix/lmtp[19359]: dns_query: pony.whizbang.com
(A): OK  
Oct 17 09:14:28 pony postfix/lmtp[19359]: dns_get_answer: type A for
pony.whizbang.com
Oct 17 09:14:28 pony postfix/lmtp[19359]: begin pony.whizbang.com
address list
Oct 17 09:14:28 pony postfix/lmtp[19359]: pref    0 host
pony.whizbang.com/192.168.101.5
Oct 17 09:14:28 pony postfix/lmtp[19359]: end pony.whizbang.com address
list
Oct 17 09:14:28 pony postfix/lmtp[19359]: lmtp_connect_addr:
trying:pony.whizbang.com[192.168.101.5] port 24...
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 220 pony.whizbang.com LMTP ready
Oct 17 09:14:28 pony postfix/lmtp[19359]: >
pony.whizbang.com[192.168.101.5]: LHLO pony.whizbang.com
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 250-pony.whizbang.com
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 250-8BITMIME
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 250-ENHANCEDSTATUSCODES
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 250-AUTH LOGIN PLAIN
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 250 PIPELINING
Oct 17 09:14:28 pony postfix/lmtp[19359]: server features: 0x6
Oct 17 09:14:28 pony postfix/lmtp[19359]: Using LMTP PIPELINING, TCP
send buffer size is 17520
Oct 17 09:14:28 pony postfix/lmtp[19359]: >
pony.whizbang.com[192.168.101.5]: MAIL FROM:<[EMAIL PROTECTED]>
Oct 17 09:14:28 pony postfix/lmtp[19359]: >
pony.whizbang.com[192.168.101.5]: RCPT TO:<[EMAIL PROTECTED]>
Oct 17 09:14:28 pony postfix/lmtp[19359]: >
pony.whizbang.com[192.168.101.5]: DATA
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 250 2.1.0 ok
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 250 2.1.5 ok
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 354 go ahead
Oct 17 09:14:28 pony postfix/lmtp[19359]: >
pony.whizbang.com[192.168.101.5]: . 
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 250 2.1.5 Ok
Oct 17 09:14:28 pony postfix/lmtp[19359]: D45825D006:
to=<[EMAIL PROTECTED]>, relay=pony.whizbang.com[192.168.101.5],
delay=1, status=sent (250 2.1.5 Ok)
Oct 17 09:14:28 pony postfix/lmtp[19359]: lmtp_loop: recv_dot = 0
Oct 17 09:14:28 pony postfix/lmtp[19359]: lmtp_loop: finished . command
Oct 17 09:14:28 pony postfix/lmtp[19359]: name_mask: resource
Oct 17 09:14:28 pony postfix/lmtp[19359]: name_mask: software
Oct 17 09:14:28 pony postfix/lmtp[19359]: deliver_request_final: send:
"" 0
Oct 17 09:14:28 pony postfix/lmtp[19359]: print string:
Oct 17 09:14:28 pony postfix/lmtp[19359]: print int: 0
Oct 17 09:14:28 pony postfix/lmtp[19359]: master_notify: status 1
Oct 17 09:14:28 pony postfix/lmtp[19359]: connection closed
Oct 17 09:14:28 pony postfix/lmtp[19359]: watchdog_stop: 0x8066688
Oct 17 09:14:28 pony postfix/lmtp[19359]: watchdog_start: 0x8066688
Oct 17 09:14:32 pony postfix/smtpd[19355]: disconnect from
sunscreen.whizbang.com[192.168.101.1]

> 
> --
> Amos

-- 
---------------------------------------------------
Justin Wood                      [EMAIL PROTECTED]
Systems Administrator
FlipDog.com                 http://www.flipdog.com/
---------------------------------------------------

Reply via email to