OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Wietse Venema (wietseporcupine.org)
Date: Fri Apr 13 2001 - 13:48:26 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Believe it or not, I have have actually tested both the sendmail
    style and the postfix style virtual domains.

    I repeat my recommendation to follow the instructions. In particular,
    USE THE INSTRUCTIONS THAT COME WITH YOUR POSTFIX VERSION.

    As Postfix changes over time, I actually spend time to update its
    documentation. DO NOT USE OLD DOCUMENTATION WHEN CONFIGURING A
    NEWER POSTFIX.

    If something does not work, USE REAL EXAMPLES AND SHOW REAL LOGGING
    AND RESULTS.

    Thank you for paying attention.

            Wietse

    Hasso Meyer-Jordan:
    > 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.lastnamemydomain.XXX should exist;
    > no XXXunnecessary.mydomain.XXX are wanted. (No human usually is
    > interested in machine names.)
    >
    >
    > My virtual(.db):
    >
    > # user1mydomain.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.gabrielmydomain.com pgabriel
    > dolly.bustermydomain.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
    > ("pgabrielmydomain.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. 'pgabrielmydomain.com') are
    > bounced with 'status=bounced (unknown user:
    > "pgabrielmail.mydomain.com")'.
    >
    > What is my wrong thought?
    > Can anyone help me?
    >
    > Regards, Hasso
    >
    >
    > -
    > To unsubscribe, send mail to majordomopostfix.org with content
    > (not subject): unsubscribe postfix-users
    >
    >

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users