Re: [Exim] lost $domain value!!!!!!!!

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Daniel W. Samsyguin
CC: Lista Exim
Betreff: Re: [Exim] lost $domain value!!!!!!!!
On Fri, 29 Aug 2003, Daniel W. Samsyguin wrote:

> In exim -d -bd i have really strange behavior:
>
> set_process_info: 79311 delivering 19sfDa-000Kd9-00 using x_virtual_delivery
> x_virtual_delivery transport entered
>   shadow@???
>                  ^^^^^^^^^^^^^^^^^^^^^
>   danya@???


Not strange. You are delivering a message that has two recipients,
shadow@??? and danya@???, both of whose domains
resolve to the same set of hosts. So Exim is going to deliver them in
the same SMTP connection, using two RCPT commands.

> using the transport's hosts: ${run{/usr/local/sbin/getip
> ${extract{uid}{${extract{2}{|}{${lookup{*@${lookup{$domain}
> dbm{/usr/local/etc/exim/mail/localdomains.db}}}
> dbmnz*@{/usr/local/etc/userdb.dat}}}}}}}{$value}{fail}}
> search_open: dbm "/usr/local/etc/exim/mail/localdomains.db"
> search_find: file="/usr/local/etc/exim/mail/localdomains.db"
> key="" partial=-1
> ^^^^^^^^^^^^
> LRU list:
> 1/usr/local/etc/exim/mail/localdomains.db
> End
>
>
> WERE is my $domain value???????


$domain is not set when more than one address is being handled by the
transport, for the obvious reason: which domain should it be?

If you want to restrict your transport to delivering just one address at
a time, set

max_rcpt = 1


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book