[Pkg-exim4-users] order of file concatenation

Marc Haber mh+pkg-exim4-users at zugschlus.de
Thu Dec 22 00:29:36 UTC 2005


On Wed, Dec 21, 2005 at 11:28:08AM -0800, Ross Boylan wrote:
> I was trying to add material after a particular transport.  The order
> of transports doesn't matter, but the order in which the files are
> concatenated affects which transport my snippet appears after.

I understand now what you meant to do. I'd advise against doing so. If
you directly modify the transport warning, you would get a warning
about the changed conffile when an update wants to touch that file.
With your scheme, you'd get to break the pieces of your broken exim.

> However, since the ordering of files within the 30_ is defined by ls,
> I happened to get optionc and optiond added after
> remote_smtp_smarthost.

You would have to choose a sequencing that is compatible with ls' sort
order.

> Furthermore, the ordering of files within 30_*, if I understand the
> above remark about ls, is not dependable.  It is not necessarily
> alphabetical, and it is not necessarily fixed.  Some filesystems may
> show the files in one order and then, after the file is modified and
> potentially rewritten, in another order (I think).

ls sorts alphabetically by default, so I don't think you'd be
filesystem dependent here.

> As I said, adding options to an existing transport is probably pretty
> unreliable even if the sequencing issues weren't a problem, because if
> the main transport changes the options may not be right anyway. 

Yes, that's playing with dragons.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



More information about the Pkg-exim4-users mailing list