[exim-dev] [Bug 1012] sender_domains sometimes does not test…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Graeme Fowler
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] [Bug 1012] sender_domains sometimes does not test domain of sender's address
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1012

Graeme Fowler <graeme@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





--- Comment #2 from Graeme Fowler <graeme@???> 2010-08-03 09:55:52 ---
Not a bug. Per documentation (explained already on the mailing list) you should
be using $sender_address_domain here, not $domain:

> The definition of +local_domains is:
> --
> domainlist local_domains      = \
>         ${lookup pgsql {SELECT name FROM localdomain \
>         WHERE name ='${lc:$domain}' }}
> --


That should be:

domainlist local_domains      = \
        ${lookup pgsql {SELECT name FROM localdomain \
        WHERE name ='${lc:$sender_address_domain}' }}


Graeme


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email