From owner-freebsd-questions@FreeBSD.ORG Sun Aug 21 19:40:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A90C16A41F for ; Sun, 21 Aug 2005 19:40:47 +0000 (GMT) (envelope-from freebsd@nagilum.org) Received: from p15140542.pureserver.info (papendorf-se.de [217.160.222.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D68A43D46 for ; Sun, 21 Aug 2005 19:40:46 +0000 (GMT) (envelope-from freebsd@nagilum.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by p15140542.pureserver.info (Postfix) with ESMTP id 6627C2F4118; Sun, 21 Aug 2005 21:40:45 +0200 (CEST) Received: from p15140542.pureserver.info ([127.0.0.1]) by localhost (p15140542 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17044-14; Sun, 21 Aug 2005 21:40:42 +0200 (CEST) Received: from cakebox.homeunix.net (e180045018.adsl.alicedsl.de [85.180.45.18]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by p15140542.pureserver.info (Postfix) with ESMTP id 665992F4117; Sun, 21 Aug 2005 21:40:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id C93A63028AC; Sun, 21 Aug 2005 21:40:36 +0200 (CEST) Received: from cakebox.homeunix.net ([127.0.0.1]) by localhost (cakebox.tis [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 87533-09; Sun, 21 Aug 2005 21:39:36 +0200 (CEST) Received: from [10.1.1.4] (unknown [10.1.1.4]) by cakebox.homeunix.net (Postfix) with ESMTP id 94415302864; Sun, 21 Aug 2005 21:39:22 +0200 (CEST) Message-ID: <4308D862.9050604@nagilum.org> Date: Sun, 21 Aug 2005 21:39:14 +0200 From: Nagilum User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Graham Bentley References: <20050821120028.E38E416A41F@hub.freebsd.org> <50427.81.174.174.115.1124649883.squirrel@maxproxy6.uk2net.com> In-Reply-To: <50427.81.174.174.115.1124649883.squirrel@maxproxy6.uk2net.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at cakebox.homeunix.net X-Virus-Scanned: amavisd-new at papendorf-se.de Cc: freebsd-questions@freebsd.org Subject: Re: Postfix / Fetchmail Question 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: Sun, 21 Aug 2005 19:40:47 -0000 Graham Bentley wrote: >Hi All, > >There are a couple of things that I would like to achieve with my >running Fetchmail / Postfix combo ; > >1) When a mail comes in for a specific local user it is immediately >forwarded to another external address. > >This is for when some staff work from home occasionally > >I have goofed about with sender_canonical but I suspect this is more >to do with re-writing the headers /addresses etc although I am >probably getting all this round my neck a bit and getting bogged down >in reading! > > Why not just put a .forward (containing the dest. address) file in the users home? >2) Is it possible to have a copy of all in / out mail sent to the >boss's email box ? > >I have filled out 'aliases' and run newaliases for email that is for >non user account (for example we have mail@ourdomain.com and >enquiries@ourdomain.com) > > There are several ways to achieve that, if the account is aliased through /etc/aliases, just add another account to the recipient list: boss: bro@company.com,me@company.com If the account is the final destination of several adresses you might want to have a look at procmail. But be sure to tell him, otherwise it might be illegal.