Package: postfix
Version: 2.2.9-1
Followup-For: Bug #357294

Hello,

thinking twice about my configuration problems, I think the whole
rewritting thing can be integrated into the debconf setup easily. I
imagine somethink like:

1. Menu question:
Assuming the mail addresses of the local users shall not be identical
with those visible in outgoing mails. You can setup postfix to do
automatic rewritting of address parts to preset different, valid
addresses to the public. This can be done in different ways, please
choose the one you need:

 * No rewritting needed, the local addresses are valid for public (1.1)
 * Keep the username part of the address but change the hostname (1.2)
 * Map complete addresses to different mail addresses (1.3)

Resulting in following dialogs:
1.1: continue as usual
1.2: Text entry:
Please enter the visual name of the domain which is responsible for the
receival of local mails. Eg. specify "example.org" if the local users
receive their mails trough example.org having the same name, so
"[EMAIL PROTECTED]" would be rewritten to "[EMAIL PROTECTED]".
1.3: Text entry
Please specify pairs of local user names and visible email addresses
that should be presented to the public instead of local email addresses,
separated by space.
Example: "foo [EMAIL PROTECTED] baz [EMAIL PROTECTED]"

There may be another dialog, asking whether the rewring applies, smtp
only or others.

When done, the setup it would create a table with given users/hosts,
hash it as needed and integrate into config.

Eduard.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages postfix depends on:
ii  adduser                       3.85       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.72     Debian configuration management sy
ii  dpkg                          1.13.16    package maintenance system for Deb
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  libdb4.3                      4.3.29-5   Berkeley v4.3 Database Libraries [
ii  libsasl2                      2.1.19-1.9 Authentication abstraction library
ii  libssl0.9.8                   0.9.8a-8   SSL shared libraries
ii  lsb-base                      3.0-16     Linux Standard Base 3.0 init scrip
ii  netbase                       4.24       Basic TCP/IP networking system
ii  ssl-cert                      1.0-11     Simple debconf wrapper for openssl

Versions of packages postfix recommends:
ii  mailx [mail-read 1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  mozilla-thunderb 1.0.7-3                 Mozilla Thunderbird standalone mai
ii  mutt [mail-reade 1.5.11+cvs20060126-2    text-based mailreader supporting M
pn  resolvconf       <none>                  (no description available)

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to