Bug#273302: exim4-daemon-heavy: [30_exim-config_check_rcpt] better local_parts test

Jari Aalto Jari Aalto <jari.aalto@cante.net>, 273302@bugs.debian.org
Sun, 27 Feb 2005 11:33:17 +0200


| tags #273302 confirmed
| thanks
| 
| On Sat, Sep 25, 2004 at 11:30:55AM +0300, Jari Aalto wrote:
| > Current test:
| > 
| >   deny message     = localpart contains invalid characters
| >        local_parts = ^.*[@%!/|] : ^\\.
| 
| The test actually in the package looks quite different.
| 
| > I suggest that this test also includes characters: ' ` # & ?
| 
| Please give us the exact changes you are suggesting to do. The checks
| currently allow different character sets for local and non-local
| domains.

For unstable/main exim4-config 4.44-2

  # Two different rules are used. The first one is stricter, and is applied to
  # messages that are addressed to one of the local domains handled by this
  # host. It blocks local parts that begin with a dot or contain @ % ! / or |.
  # If you have local accounts that include these characters, you will have to
  # modify this rule.
  deny    domains       = +local_domains
          local_parts   = ^[.] : ^.*[@%!/|]

=>

  deny    domains       = +local_domains
          local_parts   = ^[.] : ^.*[@%!/|\'`#&?]
					   =====

Jari