Mail forwarding osx server 10.3

Bo

Registered
HI,

What i'm basically trying to do is configuring the osx mailserver to both allow local users get their mail from the server directly but the server also forwards all their mail to a certain specified external (possibly private) e-mail adress.

The solution has to be server sided, since i want to configure this only once, so leaving this to the clients is not an option.

I read in the apple documentation that this has to be done using Sieve scripting, my question is.. how do i get this Sieve to work and how can i configure the script to do the mail forwarding.

thx in advance!

regards
 

Go3iverson

Registered
So, I've never done this, but I think it'd look something like this:

if header :contains ["to", "cc"] "email@domain.com"
{
redirect "forwardAddress@domain.com";
fileinto "INBOX";
stop;
}

Of course, that's if you can simply glue a redirect and fileinto statement together and have it do both. :)
 
Top