Date: Thu, 03 Jul 2008 07:05:54 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: D W <lists@duanewinner.net>, freebsd-questions@freebsd.org Subject: Re: sendmail on server with ip aliases Message-ID: <486C6C42.8070607@infracaninophile.co.uk> In-Reply-To: <87od5fetjw.fsf@kobe.laptop> References: <97351faa0807020856o102f1a0cwd4fb334d5d708f46@mail.gmail.com> <87od5fetjw.fsf@kobe.laptop>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Giorgos Keramidas wrote:
> On Wed, 2 Jul 2008 11:56:58 -0400, "D W" <lists@duanewinner.net> wrote:
>> Hello,
>>
>> Having a problem with sendmail on some of my servers supporting several
>> virtual apache hosts. Because these servers have 5-10 ip aliases bound, it
>> sometimes trips up sendmail when sending outbound mail to my smarthost. All
>> servers are configured to use the same smarthost. But on one of the hosts,
>> sendmail will send out as the one of the virtual hosts instead of the main
>> host, which is what I need.
>>
>> Example: webhost01.webdomain.com is the host.
>> Five ip aliases for apache virtual servers:
>
> Something is probably missing below the last quoted line.
>
> Are you using jails for the virtual hosts? If not, then you are
> probably using *one* Sendmail instance for all the domains, which still
> sends emails as the primary hostname but should work fine...
>
You can also force sendmail to send /from/ a specific IP by putting some
something like the following into /etc/mail/$(hostname).mc
dnl Send via the IP number that correctly reverses to our EHLO
CLIENT_OPTIONS(`Name=MTA, Family=inet, Addr=12.34.56.78')
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkhsbEMACgkQ8Mjk52CukIwGGgCfVP6IhuQR736K9IPZ0qKlMjVn
HxoAniQJx/2/mWzeqYj7HQtlZ+mjLQfQ
=sSNk
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486C6C42.8070607>
