Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a php script which gets the received emails with piping method. This is set in /var/qmail/mailnames/mydomain.com/.qmail-default as:

|/path/to/my/script.php

I want to pipe the received email to two different php scripts. Is this possible?

Is it possible to set two pipes in /var/qmail/mailnames/mydomain.com/.qmail-default ?

|/path/to/my/script_1.php
|/path/to/my/script_2.php

Do you have any thoughts? Thanks!

share|improve this question

Okay, just tested it and you need to enter multiple pipes on multiple lines.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.