From owner-freebsd-questions@FreeBSD.ORG Tue Jul 31 18:03:51 2007 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 6D6A716A469 for ; Tue, 31 Jul 2007 18:03:51 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 25E3813C45E for ; Tue, 31 Jul 2007 18:03:51 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so458424anc for ; Tue, 31 Jul 2007 11:03:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=AIZM9LwYJ1LwelJUVH43WvnkRG9vp8CdYobvuULLgD3gN44LXAlqwc01PP8S+qx7mVXTaOLYf25F7h+nxcB95qugodnxZXHpxSYlkJdjxXZqN3La5PUjJ2h4c6DBTKGIXeJf2vmONzTVlRbdbzRoaO0ehoPtWC1EjXq1W9CQ+U0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=jJH9BY+es5yr7AQLmvn7BsPiaKpH27502NkhBCSdgWQEO0F9zPHr5M5A+NsrlCm9XoF3alkQoqy1SRYiCl9EBZGkzOuCXmDhDhvDfi7RsoXRQI1SAtx9WJl4SuV9SOmNcqIsXSk3yz7VJzIafublSDTg+C+okA23eAluRBlmgPM= Received: by 10.100.31.2 with SMTP id e2mr5475975ane.1185905030269; Tue, 31 Jul 2007 11:03:50 -0700 (PDT) Received: by 10.100.33.19 with HTTP; Tue, 31 Jul 2007 11:03:50 -0700 (PDT) Message-ID: <62b856460707311103j5e648552kdeb1eba9ecff06e1@mail.gmail.com> Date: Tue, 31 Jul 2007 20:03:50 +0200 From: "Michael Grant" Sender: michael.grant@gmail.com To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 9f5aad28a001fbae Subject: relaying mail 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: Tue, 31 Jul 2007 18:03:51 -0000 In one of my domains, I have the MX record for it set up to my server. But for one of the users within that domain, their mail needs to be shuffled off to a different server at google. But I can't just forward it because it's like an MX host I'd need to forward it to. And I can't alter the MX to point to google for the entire domain because it's only one user within that domain, the other users will be screwed in that case. For example, mydomain.com, let's say the mx for that comes to my box. For joe@mydomain.com, I need to send his mail to ASPMX.L.GOOGLE.COM as if it were the MX for mydomain.com. In the old days, one would simply forward email to joe%mydomain.com@ASPMX.L.GOOGLE.COM. That would cause mydomain.com's sendmail to connect to ASPMX.L.GOOGLE.COM and shove down a message for joe@mydomain.com. But that seems long deprecated because it didn't seem to work. I am using sendmail and procmail. Can anyone think of some way I can cause something like this to happen for just one user, ideally in a .procmailrc file? Michael Grant