|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Hasso Meyer-Jordan (meyer-jordan
t-online.de)Date: Fri Apr 13 2001 - 11:36:36 CDT
Dear List Members!
I've fond postings about my problem but not really an elegant solution.
Several times 'sendmail style' virtual maps are mentioned. (Really just in
release 20010228 implemented? - It seems to run anyway with 19991231,
hmmm, may be even new snapshot the solution?)
If I have the following situation (and many others may have similar
environment, I think):
the only domain-mailserver - it's member of mydomain, of course:
(because of using cyrus IMAP server and simple windows mail client
machines with outlook)
server1.mydomain.com, IP 62.62.62.1 (example)
(DNS A record 'mail.mydomain.com' points to 62.62.62.1, and reverse zone
entry points to 'mail.mydomain.com', too. An additional A record for
'server1.mydomain.com' points to same IP.)
postfix (19991231) on server1 is instruct to react (answer) as
mail.mydomain.com.
myhostname = mail.mydomain.com
mydomain = mydomain.com
myorigin = $mydomain
I want to use virtual domains only. Local Users don't exist but local
(IMAP-)mailboxes as targets for postfix/cyrus delivery.
Only mail addresses like firstname.lastname
mydomain.XXX should exist;
no XXX
unnecessary.mydomain.XXX are wanted. (No human usually is
interested in machine names.)
My virtual(.db):
# user1
mydomain.com is the recipients address (senders
# address too, of course)
# user1 is the local mailbox user (no shell account, <- for this virtual
# problem it doesn't matter)
mydomain.com anything
peter.gabriel
mydomain.com pgabriel
dolly.buster
mydomain.com dbuster
...
# rewrite net to com domain (same users)
mydomain.net anything
mydomain.net
mydomain.com
Now I don't want to use
mydestination = $mydomain
because of warnings in maillog referring to wrong use of VIRTUAL MAPS and
because I don't want the short name form to be accepted
("pgabriel
mydomain.com").
But if I set
mydestination = # (empty)
no local user (mailbox) is known - all the mails to virtual users out of virtual
map (envelope address rewritten to e.g. 'pgabriel
mydomain.com') are
bounced with 'status=bounced (unknown user:
"pgabriel
mail.mydomain.com")'.
What is my wrong thought?
Can anyone help me?
Regards, Hasso
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]