~launchpad-pqm/mailman/2.1

« back to all changes in this revision

Viewing changes to Mailman/Bouncers/SMTP32.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2009-10-21 01:06:17 UTC
  • mfrom: (975.1.1 mailman.2112)
  • Revision ID: launchpad@pqm.canonical.com-20091021010617-prbs2ay6nhxx515v
[rs=flacoste] Upgrade Mailman to upstream 2.1.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 1998-2006 by the Free Software Foundation, Inc.
 
1
# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
2
2
#
3
3
# This program is free software; you can redistribute it and/or
4
4
# modify it under the terms of the GNU General Public License
5
5
# as published by the Free Software Foundation; either version 2
6
6
# of the License, or (at your option) any later version.
7
 
 
7
#
8
8
# This program is distributed in the hope that it will be useful,
9
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
11
# GNU General Public License for more details.
12
 
 
12
#
13
13
# You should have received a copy of the GNU General Public License
14
 
# along with this program; if not, write to the Free Software 
 
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
16
16
# USA.
17
17
 
38
38
    |delivery\ failed[^:]*:                       # wild...
39
39
    |unknown\ user[^:]*:
40
40
    |undeliverable\ +to
 
41
    |delivery\ userid[^:]*:
41
42
    )
42
43
    \s*                                           # space separator
43
 
    (?P<addr>.*)                                  # and finally, the address
 
44
    (?P<addr>[^\s]*)                              # and finally, the address
44
45
    ''', re.IGNORECASE | re.VERBOSE)
45
46
 
46
47