Ross Boylan <r...@biostat.ucsf.edu> wrote:
> On Thu, 2009-08-13 at 20:46 +0100, Mike Cardwell wrote:
>> Ross Boylan wrote:

>> >    helo_data = ${if 
>> > match_domain{$host}{*.alioth.debian.org}{upstrm185.psg-ucsf.org}{$primary_hostname}}

>> > Is there a better solution?  Will the previous modification work?
[...]
>> If you can't change the DNS, why not just change the helo? You've 
>> already shown you know how to do it with helo_data. Why not just have this:

>> helo_data = upstrm185.psg-ucsf.org

> Our sysadmin is concerned that if the upstream name changes we'll be
> need to change the rule again. The networking environment we have to go
> through to reach the public IP is not under our control, and the folks
> who do control it don't necessarily keep us informed.

Hello,

you could use a dnsdb lookup to keep it up to date automatically.

helo_data = ${lookup dnsdb {ptr=$sending_ip_address}{$value}{$primary_hostname}}

cu and- Quoted from Debian's exim4 config -reas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to