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[1
92.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=<971795357.3
[EMAIL PROTECTED]>
Oct 17 09:14:27 pony postfix/qmgr[19307]: D45825D006:
from=<[EMAIL PROTECTED]>, si
ze=1326, nrcpt=1 (queue active)
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf mai
l context mail_dict "" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pon
y.whizbang.com context mail_dict "mail" 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" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf Pos
tfix context mail_dict "pony.whizbang.com" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pos
tfix context mail_dict "Postfix" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type
variable buf my
hostname context mail_dict "postfix" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf pon
y.whizbang.com context mail_dict "postfix" 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." 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."
recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf   c
ontext 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
" recur
sive
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.wh
izbang.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
 pony.whizbang.com" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf /us
r/libexec/postfix context mail_dict "" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf /us
r/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 /us
r/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 /va
r/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 nob
ody context mail_dict "double-bounce" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf has
h:/etc/aliases context mail_dict "nobody" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf Sna
pshot-20001005 context mail_dict "hash:/etc/aliases" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf has
h context mail_dict "Snapshot-20001005" recursive
Oct 17 09:14:28 pony postfix/lmtp[19359]: dict_eval_action: type literal
buf act
ive,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.whizb
ang.com
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read string:
justinw@fr
ee.fr
Oct 17 09:14:28 pony postfix/lmtp[19359]: mail_scan_any: read string:
justinw@fr
ee.fr
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: 9717
95667
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:
justin@pon
y.whizbang.com
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/D
45825D006
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.whizba
ng.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.1
68.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.whizba
ng.com[192.168.101.5] port 24...
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 22
0 pony.whizbang.com LMTP ready
Oct 17 09:14:28 pony postfix/lmtp[19359]: >
pony.whizbang.com[192.168.101.5]: LH
LO pony.whizbang.com
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 25
0-pony.whizbang.com
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 25
0-8BITMIME
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 25
0-ENHANCEDSTATUSCODES
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 25
0-AUTH LOGIN PLAIN
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 25
0 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]: MA
IL FROM:<[EMAIL PROTECTED]>
Oct 17 09:14:28 pony postfix/lmtp[19359]: >
pony.whizbang.com[192.168.101.5]: RC
PT TO:<[EMAIL PROTECTED]>
Oct 17 09:14:28 pony postfix/lmtp[19359]: >
pony.whizbang.com[192.168.101.5]: DA
TA
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 25
0 2.1.0 ok
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 25
0 2.1.5 ok
Oct 17 09:14:28 pony postfix/lmtp[19359]: <
pony.whizbang.com[192.168.101.5]: 35
4 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]: 25
0 2.1.5 Ok
Oct 17 09:14:28 pony postfix/lmtp[19359]: D45825D006:
to=<[EMAIL PROTECTED]
om>, 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.co
m[192.168.101.1]

> 
> --
> Amos

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

Reply via email to