View Single Post
  #3  
Old 24th January 2011, 05:23
rolfpf rolfpf is offline
Junior Member
 
Join Date: Jan 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I set it back as you said. I tried the redirect (as above) and it worked fine.

I now replaced the redirect code with the following in /var/vmail/globalsieverc

Code:
if header :contains ["To", "Cc", "Bcc"] "support@example.com.au" {
pipe "/var/www/clients/client1/web4/web/support/api/pipe.php";
  stop;
}

When a message is sent to support@example.com.au, the log shows:

Code:
Jan 24 11:03:35 server1 dovecot: deliver(support@example.com.au): sieve: main_script: line 2: unknown command 'pipe' (only reported once at first occurence)
The question now is how do I do a pipe to pipe.php without a pipe command in Dovecot sieve?
Reply With Quote