SUM: mail could not be sent using names from "virtual" in "aliases"

From: Torsten Gesang (no email)
Date: Wed Oct 31 2001 - 07:18:59 EST

Torsten Gesang wrote:

ok, just for completeness a summary. I solved it with very heavy support
by Ralf. (Thx!)

- every user is accessable under every domain we have registered (i.e.
, ,...)
- the machine is used for distribution to the final destination
- some users can be local
- local special accounts like "root" could be forwarded to a real user
using the either offical adresse (Name at domain), short version of the
previous (Name) and final destination ()
- special accounts like and have to be
treated differently (distinct recipients)
- sender must be rewritten from to "official
adress", using the "login" for decision, which senderdomain to use

Postfix (Snapshot-20010808)

* mydestination = $myhostname, localhost.$mydomain ,
"domainlist" is a plain ascii-file with all domains we've registered

* aliases contains mapping "offical names" -> final destination and
regular aliases
aliasedmyself: Torsten.Gesang
root: root, ## local copy to root!

* virtual contains special adresses (actually this works, but i don't
know yet if it's a "clean way" to do it)
virtual_maps = dbm:/etc/postfix/virtual

* using sender_canonical for rewrite
sender_canonical_maps = dbm:/etc/postfix/sender_canonical

AND in
myorigin = $mydomain


|                T o r s t e n  G e s a n g                        |
|     SZM Studios Film,- TV- und Multimedia- Produktions GmbH      |
|           Ein Unternehmen der ProSiebenSAT.1 Media AG            |
| Abt. Server & Consulting   Medienallee 7, D-85774 Unterfoehring  |
| eMail:  , Tel. +49 89 9507-5256 Fax -95256  |
| --- privat:   |
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users

Hosted Email Solutions

Invaluement Anti-Spam DNSBLs

Powered By FreeBSD   Powered By FreeBSD