OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: David SCHNEPF - Cabinet SD2i (mlsd2i.fr)
Date: Sun Mar 03 2002 - 15:06:29 CST

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

    > On Sun, Mar 03, 2002 at 05:56:52PM +0100, David SCHNEPF - Cabinet SD2i
    wrote:
    >
    > > in order postfix to accept mail, i need to use a mysql mydestination
    mysql
    > > maps.
    >
    > Yes? Sure?

    Yes sure. If my local domains are not in the mydestination maps, all is
    rejected (except local mails for the fqdn hostname itself)

    >
    > > it seem's that the virtual maps is a sendmail-style virtual maps ?
    > Huh?

    perhaps i don't understand the real differences beetween postfix and
    sendmail-style. i mean, is there anything to set in the main.cf to use
    postfix-style ?

    >
    > > so it's one more mysql query ! is there a way to change that and use
    > > postfix-style virtual maps
    >
    > Use whatever you want. This that change often: Use mysql.
    > Things that stay the same: Use hash or btree or even flat files.

    ok. but it's the first time i use the virtual delivery agent (i used to use
    virtual (5) maps with procmail only). I imagine that the virtual delivery
    agent was different when looking up virtual maps => so i'm wrong

    >
    > > mydestination = $myhostname, localhost.$mydomain,
    mysql:/usr/local/etc/postfix/mydestination.cf
    >
    > Don't list Postfix style virtual doamins in mydestination.

    that's the real problem : if i remove those domains, mails are rejected !
    but what about the order with mysql ? should i force to scan in the right
    order in the request to get :

    domain1.tld something
    adr1domain1.tld fwd1somewhere.tld
    adr2domain1.tld fwd2somewhere.tld
    domain2.tld something
    adr1domain2.tld fwd3somewhere.tld
    adr2domain2.tld fwd4somewhere.tld

    or there's no matter if the mysql result is :
    domain1.tld something
    domain2.tld something
    adr1domain1.tld fwd1somewhere.tld
    adr2domain1.tld fwd2somewhere.tld
    adr1domain2.tld fwd3somewhere.tld
    adr2domain2.tld fwd4somewhere.tld

    the question is here for mysql but the same apply whith all other lookup db
    of course !

    --
    David SCHNEPF
    Logiciels pour Internet & Hébergement
    Cabinet SD2i : www.sd2i.fr
    

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