[Zope] Binding MailHost to an IP
Dieter Maurer
dieter at handshake.de
Fri Dec 12 15:00:04 EST 2003
Kevin Carlson wrote at 2003-12-12 11:03 -0500:
>I have a box with multiple IP addresses that I use to support some
>internal development work. When using MailHost to send mail through an
>external mail server, I would like to have the mail "come from" one of
>the IP addresses in particular.
>
>It appears that the MailHost object is binding to the primary interface
>(eth0) instead of eth0:1, eth0:2, etc. Is there a way that I can
>specify a source address for the email?
It connects to the interface named in its SMTP Host:
Usually, different interfaces have different IP addresses (usually
with different names).
Use the IP address name as SMTP host you want "MailHost" to
connect to.
--
Dieter
More information about the Zope
mailing list