From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 06:06:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8324A106567F for ; Thu, 3 Jul 2008 06:06:08 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id D82518FC19 for ; Thu, 3 Jul 2008 06:06:07 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m6365tUA073694; Thu, 3 Jul 2008 07:05:55 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.6.0 smtp.infracaninophile.co.uk m6365tUA073694 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1215065156; bh=9Ys01FMBPJZ6oG eLUROBjEGMdOWNCrm0L3LC83JQyWA=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<486C6C42.8070607@infracaninophile.co.uk>|Date:=20Thu,=2 003=20Jul=202008=2007:05:54=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.14=20(X11/20080607)|MIME-Version:=201 .0|To:=20Giorgos=20Keramidas=20|CC:=20D=2 0W=20,=20freebsd-questions@freebsd.org|Subje ct:=20Re:=20sendmail=20on=20server=20with=20ip=20aliases|References :=20<97351faa0807020856o102f1a0cwd4fb334d5d708f46@mail.gmail.com>=2 0<87od5fetjw.fsf@kobe.laptop>|In-Reply-To:=20<87od5fetjw.fsf@kobe.l aptop>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signe d=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-s ignature"=3B=0D=0A=20boundary=3D"------------enig35CD5E16199D393DDB 4E10A3"; b=gXemFN2+sXizMaOkJgYKU9mjyuzdjRBVKd1A413TElD9nErz0rSrr2Dr Uy/pRej5sjfXN7Osicy07pQ02QWu3ZEBkfB9M4DUu1lvOWfbar2mnSC4rujI0NNJ+JJ N3P837Nax6a4LKAwlEX/8G+2UZHo8V9wITa5YhuTuKDqL66A= Message-ID: <486C6C42.8070607@infracaninophile.co.uk> Date: Thu, 03 Jul 2008 07:05:54 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.14 (X11/20080607) MIME-Version: 1.0 To: Giorgos Keramidas References: <97351faa0807020856o102f1a0cwd4fb334d5d708f46@mail.gmail.com> <87od5fetjw.fsf@kobe.laptop> In-Reply-To: <87od5fetjw.fsf@kobe.laptop> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig35CD5E16199D393DDB4E10A3" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 03 Jul 2008 07:05:56 +0100 (BST) X-Virus-Scanned: ClamAV 0.93.1/7624/Thu Jul 3 04:49:08 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: D W , freebsd-questions@freebsd.org Subject: Re: sendmail on server with ip aliases X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 06:06:08 -0000 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" 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--