Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2005 21:39:14 +0200
From:      Nagilum <freebsd@nagilum.org>
To:        Graham Bentley <gbentley@uk2.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Postfix / Fetchmail Question
Message-ID:  <4308D862.9050604@nagilum.org>
In-Reply-To: <50427.81.174.174.115.1124649883.squirrel@maxproxy6.uk2net.com>
References:  <20050821120028.E38E416A41F@hub.freebsd.org> <50427.81.174.174.115.1124649883.squirrel@maxproxy6.uk2net.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4308D862.9050604>