[EXIM] Setting up a UUCP transport

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Robin M. Braun
Date:  
À: exim-users
Sujet: [EXIM] Setting up a UUCP transport
Help please,

I have an arraingement whereby the most significant part of the domain
is also the system name for the UUCP queue. For example, a message for
junk@??? should be delivered via a system called molin
addressed as junk@???

My understanding is that the variable ${domain} will contain
molin.afrint.co.za and the variable ${local_part} will contain junk.
My question is, how do I extract the system name (molin) so that I can
use a transport as follows:

# UUCP delivering, with queing
uux_domain:
driver = pipe;
command = "/usr/bin/uux - -r '${system}!rmail
${local_part}@${domain}'",
pipe_as_creator,
return_output

>From the prompt that should give me the equivalent of


cat msg | /usr/bin/uux - -r 'molin!rmail junk@???'

Many thanks,

Rob

Dr. Robin M. Braun ZR1RMB
Department of Electrical Engineering,
University of Cape Town, Private Bag,
Rondebosch, 7700, South Africa
Phone:+27+21+650-2810
Phone(h):+27+21+75-9280
Fax:+27+21+650-3465
Internet : rmbraun@???
http://www.ee.uct.ac.za/~rmbraun







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