[EXIM] Pipe transport

Top Page
Delete this message
Reply to this message
Author: John Horne
Date:  
To: exim-users
Subject: [EXIM] Pipe transport
Hello all,

In my endevours to automate the administration of majordomo as much as
possible with exim, I created a director and transport to handle archive
addresses.

The director is:
    majordomo_archives:
      unseen
      no_expn
      no_verify
      domains = PLYMOUTH
      condition = "${lookup {${lc:$local_part}-archive} lsearch
                            {MAJORDOMO/lists/list.owners} {true} {false}}"
      require_files =
                 MAJORDOMO/lists/${lc:$local_part}:MAJORDOMO/lists/list.owners
      transport = md_archive_pipe
      driver = smartuser;


Transport is:
    md_archive_pipe:
      driver = pipe;
      return_output
      command = 'MAJORDOMO/wrapper archive2.pl -f
            MAJORDOMO/archive/${lc:$local_part}/${lc:$local_part} -a -${lookup
            {${lc:$local_part}-archive} lsearch {MAJORDOMO/lists/list.owners}
            {${substr_0_1:$value}} {m}}'
      user = exim
      group = mail


The line-wrapping of the above are correct in the configure file - it just
looks odd in this message. The director works okay, but the transport returns
a failure message stating:

The following address(es) failed:

  test@???:
    Child process of md_archive_pipe transport returned 69 from command:
    "/usr/local/majordomo/wrapper archive2.pl -f
/usr/local/majordomo/archive/test/test -a -m"


The list was called 'test'. File 'list.owners' contains:

      test-archive: m


The whole configuration looks okay, except for the pipe transport returning
this error. Other than that I think it'll work.

So, can any kind soul tell me what '69' means - and, for future reference,
where on earth do I find these error codes? (The FAQ gave me some ideas -
'pipe_as_creator', 'currect_directory', etc - but nothing seems to make much
difference.)

Thanks,

John.

-----------------------------------------------------------------------------
John Horne                                     E-mail: J.Horne@???
Academic and Information Services              Phone :  +44 (0) 1752 - 233911
University of Plymouth, UK                     Fax   :  +44 (0) 1752 - 233919



--
*** Exim information can be found at http://www.exim.org/ ***