mouzaia
06-18-2002, 11:37 AM
Hello, and sorry for that subject already talked about, but ... :smash:
So, I am trying to have an email starting a script, and it works, but the sender receive an error message from exim saying the email has not been send.
The first part was very easy:
in /etc/valiases/domain.com:
mail@domain.com: mailbox@domain.com, "|lynx -dump http://www.domain.dom/script.php"
and it works with no pb at all, it could be with /usr/bin/php /home/domain/.../script.php the same.
Script.php go and pick the mail in mailbox.com and do what it has to do.
Then, the sender receive that error message. My server provide me EXIM.
So I went on Exim, and on this forum, and I understood I have to create in my root a .forward file.
My root being "~" of /home/domain
In that .forward file, I love the private var, ignore_status but I dont understand what to do with it !
#Exim filter
ignore_status = true
does not change any thing, and anyway I dont think it is good to use that var for everymail. I dont understand how to build a filter !
But I am sure I am not very far from the result I want.
Does anyone may give me a good direction ?
Thanks.
So, I am trying to have an email starting a script, and it works, but the sender receive an error message from exim saying the email has not been send.
The first part was very easy:
in /etc/valiases/domain.com:
mail@domain.com: mailbox@domain.com, "|lynx -dump http://www.domain.dom/script.php"
and it works with no pb at all, it could be with /usr/bin/php /home/domain/.../script.php the same.
Script.php go and pick the mail in mailbox.com and do what it has to do.
Then, the sender receive that error message. My server provide me EXIM.
So I went on Exim, and on this forum, and I understood I have to create in my root a .forward file.
My root being "~" of /home/domain
In that .forward file, I love the private var, ignore_status but I dont understand what to do with it !
#Exim filter
ignore_status = true
does not change any thing, and anyway I dont think it is good to use that var for everymail. I dont understand how to build a filter !
But I am sure I am not very far from the result I want.
Does anyone may give me a good direction ?
Thanks.
