Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.