I have the following lines in my config/plugins file:
# first attempt to directly forward the mail queue/smtp-forward 12.38.22.129
# else queue the mail with qmail-queue queue/qmail-queue
and I'd like to do this instead:
# first attempt to directly forward the mail queue/smtp-forward 12.38.22.129
# else try to deliver with QMQP queue/qmail-queue /var/qmail/bin/qmail-qmqpc
# else queue the mail with qmail-queue queue/qmail-queue
and if the first attempt fails (SMTP), then the second (QMQP) will succeed. However, if I force the second to also fail, the third will not execute. I've stared at queue/qmail-queue until I am crosseyed, but I don't see any reason that it shouldn't work that way:
2872 running plugin queue::smtp_2dforward 2872 queue::smtp_2dforward plugin: forwarding to 12.38.22.12:25 2872 trying to get config for me 2872 FATAL PLUGIN ERROR: No route to host at ./plugins/queue/smtp-forward line 51.
2872 running plugin queue::qmail_2dqueue 2879 queue::qmail_2dqueue plugin: Queuing to /var/qmail/bin/qmail-qmqpc 2872 451 Unable to queue message (74) 2865 cleaning up after 2872
Is there anyone else running multiple queue plugins?
John
