LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Forwarding emails to external email address (https://www.linuxquestions.org/questions/linux-server-73/forwarding-emails-to-external-email-address-4175553211/)

ianj 09-11-2015 09:00 AM

Forwarding emails to external email address
 
Afternoon,

I'm fairly new to Linux but have had a steep learning curve (15 years in Windows System admin) I have now set up a number of servers with SLES 11 including a mail server.

My question is and I do hope that someone can help is; We have a mail server all set up and able to receive and send no problems. However we have a couple of users who need to access their emails on the move, now the easiest way for me is for them to VPN into the network and then bob's your uncle they're able to access emails. However this is not suitable to them and they would like to have their emails sent to an external address.

Is there any way I can set up a rule to enable emails to be forwarded on (I know I can do it in Windows exchange and if they keep their Macs on I can set up a rule there, but I'm stumped with Linux).

Many thanks in anticipation of an answer.

Ian

hortageno 09-11-2015 09:27 AM

Quote:

Originally Posted by ianj (Post 5418908)
Afternoon,

I'm fairly new to Linux but have had a steep learning curve (15 years in Windows System admin) I have now set up a number of servers with SLES 11 including a mail server.

My question is and I do hope that someone can help is; We have a mail server all set up and able to receive and send no problems. However we have a couple of users who need to access their emails on the move, now the easiest way for me is for them to VPN into the network and then bob's your uncle they're able to access emails. However this is not suitable to them and they would like to have their emails sent to an external address.

Is there any way I can set up a rule to enable emails to be forwarded on (I know I can do it in Windows exchange and if they keep their Macs on I can set up a rule there, but I'm stumped with Linux).

Many thanks in anticipation of an answer.

Ian

The short answer is yes.

A longer answer would require more information from you.

A Sieve filter could do this for you

http://wiki2.dovecot.org/Pigeonhole/...arious_headers

ianj 09-11-2015 09:57 AM

What further info would you require?

I noticed the link was for Dovecot, we're running postfix.

hortageno 09-11-2015 10:31 AM

Quote:

Originally Posted by ianj (Post 5418931)
What further info would you require?

I noticed the link was for Dovecot, we're running postfix.

Postfix is the SMTP server (MTA). There must be a MDA like Exim, Dovecot, Cyrus IMAP etc. installed on your server. Which one is the information we need to help you.

ianj 09-11-2015 10:55 AM

Cyrus would be the one.

Cheers for the help so far, I will get there with Linux (eventually)


All times are GMT -5. The time now is 04:01 AM.