OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Keith Woodworth (kwoodycitytel.net)
Date: Thu May 02 2002 - 23:31:27 CDT

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

    Have a test machine I use to work on different postfix configs and cant
    quite figure out the right way to do this.

    Postfix running on one machine, needs to forward all smtp to a final box.
    I have it setup so it forwards all citytel.net mail fine to the right
    machine.

    We have a couple of sendmail style virtual domains that when postfix
    recieves a mail with <uservirtual.com> postfix thinks its a local
    delivery when in fact the email in question should be forwarded on to
    another server for final delivery. We also rewrite the domain in question
    using sender_canonical for outbound mail.

    Ive looked at postfix style virtual domains but that is basically the same
    thing as sendmail style but it hides/rejects local users.

    So I look at transport_maps using:

    virtual.com smtp:final.host.com

    mail gets delivered locally. The virtual domain is not listed in
    mydestination. Ive tried to specify a relayhost = final.host.com but so
    far postfix always thinks the virtual.com domain is a local delivery when
    it should be forwarded on to final.host.com using smtp.

    Ive hunted around the archives but all I see are questions related to
    relay denied and virtual domains. Ive tried using virtual(5) and specified

    virtual.com ANYTHING

    as one thing in the archives but that did not work. Ive also various
    combo's of virtual and played arouned with virtualdomains like:

    uservirtual.com realuserfinal.host.com

    Is this even possible with sendmail style (or postfix style) virtual
    domains? Or am I missing something easy here? I disabled local in
    master.cf so local delivery does not get done and (as expected) postfix
    cant connect to delivery agent.

    Thanks,
    Keith

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