You are confusing me :-)

On Fri, May 14, 2010 at 07:56:15PM -0400, Daniel Ouellet wrote:
>
> [...]
> 
> However for the original issue, still no virtual working yet.
> 
> One question that it bring to me however is this in the man page then:
> 
> -t type
> 
>       [...]
>
>      set      There is no mapped value - a map of this type will only
>               allow for the lookup of keys.  This format can be used
>               for building primary domain maps.
> 
> 
> When would the set type be use then?
>

The set type is used for primary domains so that you can have a single
rule:

        map "bleh" { source plain "/etc/mail/primary" } 
        accept for primary "bleh" deliver to mbox

handle new primary domains dynamically without having to reload the
ruleset.

Types no longer have a real meaning to smtpd as maps are always stored
raw since a recent commit. You can generate an aliases, virtual or
secrets map using makemap without a type, but providing a type ensures
that the file is syntaxically checked before the db is built.

 
> If this is for primary domain only, I assume this mean domain to be 
> deliver on the local server. If so, then the alias only is used to 
> create the account in that case. If so and you have test in the aliases 
> file, then test@ will answer for all the domains in on the server, not 
> only a specific one?
>

I do not understand this sorry :/

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

                   http://www.poolp.org

Reply via email to