Zimbra Email Piping

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
ArunLal
Posts: 1
Joined: Mon Jun 20, 2016 7:07 am

Zimbra Email Piping

Post by ArunLal »

Hi All
I'm using Zimbra for one of my application. I want to forward all the emails coming in to my mailbox to a pipe file which is in PHP. url will be like www.arun.com/pipe.php.
All I want to do is to save the incoming email content to my database through this pipe file.
I have configured transport as describes in the wiki page " https://wiki.zimbra.com/wiki/Configurin ... ed_scripts " .But is not working properly.
Someone please suggest a good idea. Thanks in advance.
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Zimbra Email Piping

Post by DualBoot »

What is not working properly ? Log could help you and us.
The Guy - DualBoot

PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
Optiroam
Posts: 2
Joined: Sat Nov 25, 2017 6:52 pm

Re: Zimbra Email Piping

Post by Optiroam »

Dear Guru of ZImbra,
Me was overtaken by the same fate
I have configured transport as describes in the wiki page " https://wiki.zimbra.com/wiki/Configurin ... ed_scripts " .But is not working properly.
zimbra.log

Code: Select all

postfix/qmgr[10047]: warning: connect to transport private/name-pipe: No such file or directory
mail postfix/error[27005]: 2A819BD83B: to=name@mydomain.com, relay=none, delay=0.03, delays=0.01/0/0/0.02, dsn=4.3.0, 
status=deferred (mail transport unavailable)

On the previous version of the problems were not.
where to dig and how to get more information about "warning: connect to transport private/name-pipe: No such file or directory" ?

Thank you for your attention.
Optiroam
Posts: 2
Joined: Sat Nov 25, 2017 6:52 pm

Re: Zimbra Email Piping

Post by Optiroam »

Re-verified by
https://wiki.zimbra.com/wiki/Configurin ... ed_scripts
https://wiki.zimbra.com/wiki/ZCS_Mailman_Integration
before updating worked without difficulties

Code: Select all

cat /opt/zimbra/postfix/conf/master.cf.in
virtualemail-pipe  unix - n n - - pipe
flags= user=rsupport argv=/home/rsupport/pipemail.sh

Code: Select all

cat  /home/rsupport/pipemail.sh
#!/bin/bash
/usr/bin/ssh -p XXXX rsupport@XXX.XXX.XXX.XXX "./parse.sh"

Code: Select all

su - zimbra
[zimbra@mail ~]$ postconf -n | grep -i tran 
smtp_transport_rate_delay = $default_transport_rate_delay
transport_maps = ldap:/opt/zimbra/conf/ldap-transport.cf
virtual_transport = error
Can prompt where to dig?
Post Reply