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

SOLUTION
Postfix (Snapshot-20010808)

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

* aliases contains mapping "offical names" -> final destination and
regular aliases
...
Torsten.Gesang:
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
...
    
    
    aliasedmyself

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

AND in main.cf
myorigin = $mydomain

/Torsten

-- 
|                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  |
|    http://www.szm.de --- privat: http://www.artikulttheater.de   |
-
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