~ubuntu-branches/ubuntu/oneiric/exim4/oneiric

« back to all changes in this revision

Viewing changes to src/exinext.src

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2010-12-28 22:20:17 UTC
  • mfrom: (2.3.4 experimental)
  • Revision ID: james.westby@ubuntu.com-20101228222017-r6vg4eqlqy2fk4ul
Tags: 4.73~rc1-1ubuntu1
* Merge from debian unstable.  Remaining changes: (LP: #697934)
  - debian/patches/71_exiq_grep_error_on_messages_without_size.patch:
    + Improve handling of broken messages when "exim4 -bp" (mailq)
      reports lines without size info.
  - debian/control: Don't declare a Provides: default-mta; in Ubuntu,
    we want postfix to be the default.
  - debian/{control,rules}: Add and enable hardened build for PIE.
    (Closes: #542726)
* Drop B-D on libmysqlclient15-dev, resolved in Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# $Cambridge: exim/exim-src/src/exinext.src,v 1.5 2009/11/16 19:50:36 nm4 Exp $
 
2
# $Cambridge: exim/src/src/exinext.src,v 1.5 2009/11/16 19:50:36 nm4 Exp $
3
3
 
4
4
# Copyright (c) University of Cambridge, 1995 - 2007
5
5
# See the file NOTICE for conditions of use and distribution.
92
92
fi
93
93
 
94
94
if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim4; fi
95
 
spool_directory=`$exim_path $eximmacdef -C $config -bP spool_directory | sed 's/.*=[  ]*//'`
96
 
qualify_domain=`$exim_path $eximmacdef -C $config -bP qualify_domain | sed 's/.*=[  ]*//'`
 
95
spool_directory=`$exim_path $eximmacdef -bP spool_directory | sed 's/.*=[  ]*//'`
 
96
qualify_domain=`$exim_path $eximmacdef -bP qualify_domain | sed 's/.*=[  ]*//'`
97
97
 
98
98
# Now do the job. Perl uses $ so frequently that we don't want to have to
99
99
# escape them all from the shell, so pass in shell variable values as
135
135
  # Run Exim to get a list of hosts for the given domain; for
136
136
  # each one construct the appropriate retry key.
137
137
 
138
 
  open(LIST, "$exim -C $config -v -bt $address |") ||
 
138
  open(LIST, "$exim -v -bt $address |") ||
139
139
    die "can't run exim to route $address";
140
140
 
141
141
  while (<LIST>)