В Срд, 19.05.2004, в 18:06, Ilja Booij пишет:

I have studied dsn.c procedure dnsuser_resolve_list

                        /* See if the address is a username. */
                        switch (auth_user_exists
                                (delivery->address, &userid)) {
case -1: if error
case 1: if found
default: search in aliases
}

I think in a case case 1 it is necessary to do too check on aliases then
all will be more correct.

I suggest to remove break between "case 1" and "default" then at the
existing address it will be added in the list of receivers and as it is
checked up on aliases, in a case of absence of the user it will be
checked up only in aliases.

But there are two problems:
The first possibility of occurrence of closed loops in delivery. 
The second well to have possibility of disconnecting of saving of mail
at transfer without deleting the user.

> using dbmail2 with MySQL, this just works (lmtp & smpt, just tested 
> both). I guess there's some error in the oracle specific code..
> 
> Ilja
> 
> Anton Nekhoroshih wrote:
> 
> > How to add forward email for exists user?
> > 
> > './dbmail-adduser f alias deliver-to' don't work, message delivered to
> > user only :(
> > 
> > using dbmail 2 + oracle :)
> > 
> > session log
> > http://hq.310.ru/maillog.txt
> > 
> > 
> > _______________________________________________
> > Dbmail-dev mailing list
> > Dbmail-dev@dbmail.org
> > http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev@dbmail.org
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> 

Reply via email to