Delivery for external scripts in 2.2. works just the same as in 2.0.
However, autoresponders are much better written in sieve. But of course,
external scripts can do lots of stuff sieve can't.

Apparently dbmail fails to detect the missing script. That is a bug.
However, you can work around this by making sure the script exists, is
accessible for the dbmail user, and will execute as part of a pipe: by
testing that

#> su dbmail -s /bin/sh -c /usr/local/bin/autoresponder.php

will work.


Simon wrote:
> On Thu, Mar 12, 2009 at 8:53 AM, Simon <[email protected]> wrote:
>> On Thu, Mar 12, 2009 at 8:45 AM, Paul J Stevens <[email protected]> wrote:
>>> Looking at the logs I see:
>>>
>>> Mar 12 08:11:40 mail-store1 dbmail/lmtpd[3544]: Info:[delivery]
>>> pipe.c,send_mail(+144): opening pipe to
>>> [/usr/local/autoresponder/autoresponder.php]
>>>
>>> Is that script accessible?
>> No - not as yet as we are recovering the data on the old VM at the moment.
>>
>> As you might guess, this is our auto responder script. In the
>> dbmail_aliases table we have two entries, one to deliver the mail to
>> the mailbox and one for the auto responder (for the clients who have
>> auto reponders on).
>>
>> Do you think this could cause the issue?
> 
> Update on this. I created a blank executable so make sure that there
> was a script avaialble, but that didnt work. So i removed the entries
> in the dbmail_aliases table and now we have no more errors.
> 
> However: We do need to make this work again. Is there a trick to
> delivering to external scripts in 2.2?
> 
> Thanks
> 
> Simon
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
> 


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to