Hi,
I'm trying to trigger a script when receiving a mail. I could do it on my local server, working on a simple postfix with configuration files.
To do it, I'm following those tutorials :
http://adkap.com/autoresponder.html
http://unwin.org/postfix/vda-autoresponder.html
http://blog.thecodingmachine.com/fr...script-when-your-postfix-server-receives-mail
My problem is that Postfix with parallels is not configured via locafiles (in /etc/postfix) but via databases ( in /var/spool/postfix/plesk/ ), and I just can't update those files.
I need to update /var/spool/postfix/plesk/transport.db, to add the line :
So I edited the file /etc/postfix/transport , I added the line, and then performed a :
But it's not working. And I don't know what is not working... Is the /var/spool/postfix/plesk/transport.db file updated ? I don't know.
Could someone help me with this problem ?
Thanks
I'm trying to trigger a script when receiving a mail. I could do it on my local server, working on a simple postfix with configuration files.
To do it, I'm following those tutorials :
http://adkap.com/autoresponder.html
http://unwin.org/postfix/vda-autoresponder.html
http://blog.thecodingmachine.com/fr...script-when-your-postfix-server-receives-mail
My problem is that Postfix with parallels is not configured via locafiles (in /etc/postfix) but via databases ( in /var/spool/postfix/plesk/ ), and I just can't update those files.
I need to update /var/spool/postfix/plesk/transport.db, to add the line :
Code:
mydomain.com. myhook
So I edited the file /etc/postfix/transport , I added the line, and then performed a :
Code:
# postmap /etc/postfix/transport
# postfix reload
But it's not working. And I don't know what is not working... Is the /var/spool/postfix/plesk/transport.db file updated ? I don't know.
Could someone help me with this problem ?
Thanks