Hello,

I was wondering if someone could help me out. I am trying to run a script
every time I receive a email using dbmail.

Paul J Stevens pointed me to this page
http://www.dbmail.org/dokuwiki/doku.php/setup_postfix but I am still having
problems.
Right now I am running a simple test script to see it work.

This is the content of the autoreply.rb script that I have placed in root
(/), permissions are set to read, write, exec for everyone:
#!/bin/sh
touch /testfile

I first created a users then I added the pipe command to the alias.

This is the command I am using to set the alias:
dbmail-users -x [email protected] -t "| /autoreply.rb"

This is what the entry looks like in the db:

45   |   [email protected]       |   | /autoreply.rb    |           0 |

This is the only error I see in the logs:
Sep 29 00:33:20 me dbmail/lmtpd[6100]: Error:[delivery]
pipe.c,send_mail(+188): sendmail error return value was [1]

Thanks for your help.

-- 
Guille
http://twitter.com/guillec
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to