[Dovecot] How to pipe to external program
Hi,
Second try... I have mailsystem with virtual users only (/home/vmail/domain/user). I need to integrate RT3.x (a ticketing system). I have installed the RT-client but I need to send the mail to an extrnal program. Rt wants me to insert:
|/usr/bin/rt-mailgate --queue bla --action bla --url http://bla.bal/ In /etc/postfix/aliases.
That does not work for me becase my local delivery agent is dovecot. The Sieve plugin seems not capable to forward to a external program.
What is the right way to achieve that mail to rt@mydomain is sent to the pipe?
TIA Egbert Jan
Den 26.08.2010 21:27, skrev Egbert:
Hi,
Second try... I have mailsystem with virtual users only (/home/vmail/domain/user). I need to integrate RT3.x (a ticketing system). I have installed the RT-client but I need to send the mail to an extrnal program. Rt wants me to insert:
|/usr/bin/rt-mailgate --queue bla --action bla --url http://bla.bal/ In /etc/postfix/aliases.
That does not work for me becase my local delivery agent is dovecot. The Sieve plugin seems not capable to forward to a external program.
What is the right way to achieve that mail to rt@mydomain is sent to the pipe?
TIA Egbert Jan
Do it on the mailserver level, like in /etc/aliases
rt: /usr/bin/rt-mailgate --queue bla --action bla --url http://bla.bal/
Remeber to run "newaliases"
Dovecot (servring local mailboxes) should not have anythign to do with this
Regardsm
Arne
--
Arne K. Haaje | www.drlinux.no T: 69 51 15 52 | M: 92 88 44 66
participants (2)
-
Arne K. Haaje
-
Egbert