From: PostfixUser on
I have a user who is in and out of the office.
The user would like to forward their mail in their absence to another user.
That I can do.
However they would like mail from one address (always the same known
address) to NOT be forwarded with the rest of the mail.

Can this be done?


TIA

Tony
From: Ralf Hildebrandt on
On 2007-06-05, PostfixUser <Post(a)fix.com> wrote:
> I have a user who is in and out of the office.
> The user would like to forward their mail in their absence to another user.
> That I can do.
> However they would like mail from one address (always the same known
> address) to NOT be forwarded with the rest of the mail.
>
> Can this be done?

You can do this with a procmail recipe

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk(a)charite.de
From: PostfixUser on
Ralf Hildebrandt wrote:
> On 2007-06-05, PostfixUser <Post(a)fix.com> wrote:
>> I have a user who is in and out of the office.
>> The user would like to forward their mail in their absence to another user.
>> That I can do.
>> However they would like mail from one address (always the same known
>> address) to NOT be forwarded with the rest of the mail.
>>
>> Can this be done?
>
> You can do this with a procmail recipe
>
Thanks for taking the trouble to reply.

Sorry. I have inherited this system, can you give any pointers/web sites
to explain what you have suggested?
From: Ralf Hildebrandt on
On 2007-06-06, PostfixUser <Post(a)fix.com> wrote:

> Sorry. I have inherited this system, can you give any pointers/web sites
> to explain what you have suggested?

You need to make sure that procmail is used top deliver that user's
mail (e.g. via a .forward file containing):

"|/usr/bin/procmail -t"

Then that user needs a ".procmailrc". See "man procmailex" for an
example.
http://en.wikipedia.org/wiki/Procmail
also has some examples.

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk(a)charite.de