1

Topic: pipe to external ip address

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version:  ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Apache2
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: 
====

I'm trying unsuccessfully to use piping to send info to a php script on another server on our lan.  I have followed the instructions on your FAQ page. In the mail log I can see fatal; pipe_command "ssh; no such file or directory".

Following the directions I have added this at the bottom of the master.cf file.  I'm lost on how to get the info to the script on the other host. 

Any help would be greatly appreciated.

argv="ssh administrator:********@192.168.1.*** /var/www/html/receive_mail.php"

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: pipe to external ip address

Full email message is piped to script as text string (like `cat /path/to/file`).

3

Re: pipe to external ip address

Thank You Zhang, I was able to get it to work.

ZhangHuangbin wrote:

Full email message is piped to script as text string (like `cat /path/to/file`).