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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig35CD5E16199D393DDB4E10A3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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 severa= l >> virtual apache hosts. Because these servers have 5-10 ip aliases bound= , it >> sometimes trips up sendmail when sending outbound mail to my smarthost= =2E All >> servers are configured to use the same smarthost. But on one of the ho= sts, >> 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: >=20 > Something is probably missing below the last quoted line. >=20 > 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... >=20 You can also force sendmail to send /from/ a specific IP by putting some something like the following into /etc/mail/$(hostname).mc=20 dnl Send via the IP number that correctly reverses to our EHLO CLIENT_OPTIONS(`Name=3DMTA, Family=3Dinet, Addr=3D12.34.56.78') Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig35CD5E16199D393DDB4E10A3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig35CD5E16199D393DDB4E10A3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486C6C42.8070607>