Re: [exim] Personalized HELO-Message

Top Page
Delete this message
Reply to this message
Author: L. Jason Godsey
Date:  
To: exim-users
CC: Luca Bertoncello
Subject: Re: [exim] Personalized HELO-Message

Probably not, technically maybe? This is an untested example off the
top of my head.

; no luck with old systems, they only know how to query MX
mail.domain1.de. IN A 1.2.3.4
domain1.de. 0 IN MX 10 mail.domain1.de
mail.domain2.com. IN A 1.2.3.4
domain2.com. 0 IN MX 10 mail.domain2.com
mail.domain3.info. IN A 1.2.3.4
domain3.info. 0 IN MX 10 mail.domain3.info

; smart clients: yes
_smtp._tcp.domain2.com. 0 IN SRV 0 0 25001 mail.domain2.com
_smtp._tcp.mail.domain2.com. 0 IN SRV 0 0 25001 mail.domain2.com
_smtp._tcp.mail.domain3.info. 0 IN SRV 0 0 25002 mail.domain3.info
_smtp._tcp.mail.domain3.info. 0 IN SRV 0 0 25002 mail.domain3.info


Setup Exim:
daemon_smtp_ports = 25 : 587 : 25001 : 25002
smtp_active_hostname =
${lookup{$interface_port}lsearch{/etc/exim/port_name}}


# cat /etc/exim/port_name
25: mail.domain1.de
587: mail.domain1.de
25001: mail.domain2.com
25002: mail.domain3.info


--- Luca Bertoncello <bertoncello@???> wrote:

> Dave Evans <davide-20060520@???> schrieb:
>
> > So you're trying to use the DNS "PTR" name of the connecting IP
> address,
> > yes? This is available in $sender_host_name. To customise the
> message, see
> > 'smtp_banner', which is subject to expansion. Does that help?
>
> No, I didn't explain my wish...
>
> I have a Server, which has just an IP, but it will be used for some
> different
> domains (domain1.de, domain2.com, domain3.info, and so on).
> I'd like that, when a remote client starts the communication with
> mail.domain1.de it gets something like:
>
> 220 mail.domain1.de ESMTP Exim 4.60 Sat, 27 May 2006 17:20:10 +0200
>
> And, if it starts the communication with mail.domain2.com, it gets:
>
> 220 mail.domain2.com ESMTP Exim 4.60 Sat, 27 May 2006 17:20:10 +0200
>
> Is it possible?
>
> Thanks
> --
> _______________________________
> Luca Bertoncello
> -Programmierung / Mailserver-
>
> IMS Internet-Media-Service GmbH
> B�rensteiner Stra�e 7
> 01277 Dresden
>
> Fon: +49 351 2112034
> Fax: +49 351 2112020
> email: bertoncello@???
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>